zxr108900series - ztezte.by/manuals/89xx(v2.8.02c)/command reference (ip... · zxr108900series...
TRANSCRIPT
ZXR10 8900 Series10 Gigabit Routing Switch
Command Reference (IP Routing Volume I)
Version 2.8.02.C
ZTE CORPORATIONZTE Plaza, Keji Road South,Hi-Tech Industrial Park,Nanshan District, Shenzhen,P. R. China518057Tel: (86) 755 26771900Fax: (86) 755 26770801URL: http://ensupport.zte.com.cnE-mail: [email protected]
LEGAL INFORMATION
Copyright © 2006 ZTE CORPORATION.
The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution ofthis document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPO-RATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations.
All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE CORPORATIONor of their respective owners.
This document is provided “as is”, and all express, implied, or statutory warranties, representations or conditions are dis-claimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose, title or non-in-fringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the use of or reliance on theinformation contained herein.
ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subjectmatter of this document. Except as expressly provided in any written license between ZTE CORPORATION and its licensee,the user of this document shall not acquire any license to the subject matter herein.
ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.
Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.
The ultimate right to interpret this product resides in ZTE CORPORATION.
Revision History
Revision No. Revision Date Revision Reason
R1.2 20091215 modify the content about IS-IS
Serial Number: sjzl20093857
About This Manual.............................................. i
Command Introduction .....................................1Manual Instruction.......................................................... 1
Description of Man-Machine Commands............................. 1
Auxiliary Function ........................................................... 2
Command Modes............................................................ 3
RIP Protocol ......................................................9address-family ipv4 vrf.................................................... 9
auto-summary ..............................................................10
default-metric ...............................................................10
disable interface............................................................11
distance .......................................................................11
enable interface ............................................................12
exit-address-family........................................................12
flash-update-threshold ...................................................12
ip poison-reverse...........................................................13
ip rip authentication key .................................................13
ip rip authentication key-chain ........................................14
ip rip authentication mode ..............................................15
ip rip interface ..............................................................15
ip rip neighbor-restrict ...................................................16
ip rip notify default route ................................................17
ip rip only-send-subnet ..................................................17
ip rip originate default route............................................18
ip rip receive version......................................................18
ip rip send version .........................................................19
ip split-horizon ..............................................................19
maximum-paths ............................................................20
neighbor ......................................................................20
network .......................................................................21
offset-list......................................................................22
output-delay .................................................................22
redistribute...................................................................23
router rip .....................................................................24
show ip rip ...................................................................24
show ip rip database ......................................................25
show ip rip interface ......................................................25
show ip rip neighbors .....................................................26
show ip rip networks......................................................26
timers basic..................................................................27
validate-update-source...................................................28
version.........................................................................28
OSPF Protocol .................................................31area authentication........................................................32
area filter-list ................................................................33
area nssa .....................................................................33
area range....................................................................35
area sham-link..............................................................36
area stub .....................................................................38
area stub-host ..............................................................39
area virtual-link.............................................................40
auto-cost......................................................................42
bfd-all-interface ............................................................42
capability opaque ..........................................................43
capability vrf-lite ...........................................................43
clear ip ospf process ......................................................44
clear ip ospf redistribution ..............................................44
compatible rfc1583 ........................................................44
debug ..........................................................................45
default-metric ...............................................................45
disable area..................................................................46
disable interface............................................................46
disable ip ospf...............................................................47
distance ospf ................................................................47
distribute-list ................................................................48
domain-id.....................................................................49
domain-tag...................................................................50
enable area ..................................................................50
enable interface ............................................................51
enable ip ospf ...............................................................51
fast-reroute alternate-protect-type ..................................52
filter ............................................................................52
grace-period .................................................................53
ip ospf authentication.....................................................54
ip ospf authentication-key ..............................................54
ip ospf bfd ....................................................................55
ip ospf cost...................................................................55
ip ospf dead-interval ......................................................56
ip ospf fast-reroute........................................................57
ip ospf hello-interval ......................................................57
ip ospf message-digest-key ............................................58
ip ospf mtu-ignore .........................................................58
ip ospf network .............................................................59
ip ospf priority ..............................................................60
ip ospf resync-timer.......................................................60
ip ospf retransmit-interval ..............................................61
ip ospf transmit-delay ....................................................61
maximum-paths ............................................................62
max-metric router-lsa ....................................................62
mpls traffic-eng area......................................................63
mpls traffic-eng router-id................................................64
neighbor ......................................................................64
network .......................................................................65
no area ........................................................................67
notify default route ........................................................67
nsf ..............................................................................68
passive-interface ...........................................................69
redistribute...................................................................69
router ospf ...................................................................71
router-id ......................................................................72
show ip ospf .................................................................72
show ip ospf border-lfas .................................................74
show ip ospf border-routers ............................................75
show ip ospf database....................................................76
show ip ospf interface ....................................................86
show ip ospf mpls traffic-eng link.....................................88
show ip ospf neighbor ....................................................89
show ip ospf nsf ............................................................91
show ip ospf request-list.................................................92
show ip ospf retransmission-list.......................................93
show ip ospf virtual-links ................................................93
summary-address..........................................................94
timers lsa-group-pacing .................................................95
timers spf.....................................................................95
IS-IS Protocol .................................................97area ............................................................................98
authentication...............................................................98
authentication-type .......................................................99
default-information originate...........................................99
disable ....................................................................... 100
disable-snp-authentication............................................ 101
distance ..................................................................... 101
enable ....................................................................... 101
enable-snp-authentication ............................................ 102
fast-reroute ................................................................ 102
hello padding .............................................................. 103
hostname................................................................... 103
ignore-lsp-errors ......................................................... 104
ip router isis ............................................................... 104
isis authentication ....................................................... 105
isis authentication-type ................................................ 105
isis bfd-enable ............................................................ 106
isis circuit-type............................................................ 106
isis csnp-interval ......................................................... 107
isis hello-interval ......................................................... 107
isis hello-multiplier ...................................................... 108
isis ignore-mtu............................................................ 108
isis lsp-interval............................................................ 109
isis ipv6 metric............................................................ 109
isis max-burst ............................................................. 110
isis mtu...................................................................... 110
isis mesh-group .......................................................... 111
isis metric .................................................................. 111
isis network point-to-point ............................................ 112
isis priority ................................................................. 112
isis psnp-interval ......................................................... 113
isis restart .................................................................. 113
is-type ....................................................................... 114
i-spf .......................................................................... 114
lsp-refresh-time .......................................................... 115
lsp-mtu...................................................................... 115
max-lsp-lifetime .......................................................... 116
maximum-paths .......................................................... 116
metric-style ................................................................ 116
mpls traffic-eng........................................................... 117
passive-interface ......................................................... 118
redistribute................................................................. 118
restart ....................................................................... 119
router isis................................................................... 120
router-leak ................................................................. 120
set-overload-bit .......................................................... 121
show isis adjacency ..................................................... 122
show isis circuits ......................................................... 123
show isis database....................................................... 124
show isis fast-reroute-topology...................................... 126
show isis hostname...................................................... 127
show isis mesh-groups ................................................. 127
show isis nsf ............................................................... 127
show isis topology ....................................................... 128
spf-interval................................................................. 129
summary-address........................................................ 129
system-id ................................................................... 130
About This Manual
About this Manual ZXR10 8900 Series (V2.8.02.C) 10G Routing Switch CommandReference (IP Routing Volume I) ZXR10 8900 Series (V2.8.02.C)10G Routing Switch Command Reference has 16 volumes. Thedetails are as follows:
Manual Name Summary
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Index)
This manual describes volumeand section corresponding toeach command in ZXR10 8900series 10G routing switch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (IPv6)
This manual describesIPv6-related commands inZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (IP Routing Volume I)
This manual describes RIP, OSPFand IS-IS-related commands inZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (IP Routing Volume II)
This manual describes BGP, routemap and routing policy-relatedcommands in ZXR10 8900 series10G routing switch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (MPLS)
This manual describesMPLS-related commands inZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (QoS)
This manual describesQoS-related commands inZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Security)
This manual describes networksecurity-related commands inZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (DPI)
This manual describes DPI-relatedcommands in ZXR10 8900 series10G routing switch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (FW)
This manual describes FW-relatedcommands in ZXR10 8900 series10G routing switch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Basic ConfigurationVolume I)
This manual describes systemmanagement, file management,user interface, log statistics,FTP/TFTP server and IPvr-relatedcommands in ZXR10 8900 series10G routing switch.
Confidential and Proprietary Information of ZTE CORPORATION i
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Manual Name Summary
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Basic ConfigurationVolume II)
This manual describes interfaceconfiguration, DHCP andVRRP-related commands inZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Basic ConfigurationVolume III)
This manual describes NAT, TimeRange, stack and DEBUG-relatedcommands in ZXR10 8900 series10G routing switch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Network Management)
This manual describes networkmanagement-related commandsin ZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Ethernet Switch)
This manual describes MAC,VLAN, SuperVLAN, STP, linkaggregation, VBAS, MAC PINGand UDLD-related commands inZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Voice and Video)
This manual describes VOIP andIPTV-related commands in ZXR108900 series 10G routing switch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Multicast)
This manual describes multicastprotocol-related commands inZXR10 8900 series 10G routingswitch.
The content of this manual is based on uniform ZXROS platform.Unless otherwise specified or when it is specified to ZXR10, themanual applies to all devices. The items about router in the man-ual also apply to switch with routing function.
Overview This manual describes IPv4-related commands (RIP, OSPF andIS-IS routing protocols) in ZXR10 8900 series (V2.8.02.C) 10Grouting switch and contains the following chapters:
Chapter Overview
Chapter 1 DPIOverview
This chapter describes using method of thiscommand manual, command description,command formats, auxiliary functions andcommand modes.
Chapter 2 RIPngProtocol
This chapter describes the configuration and showcommands of RIPng.
Chapter 3 OSPFProtocol
This chapter describes the configuration and showcommands of OSPF.
Chapter 4 IS-ISProtocol
This chapter describes the configuration and showcommands of IS-IS.
ii Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 1
Command Introduction
Table of ContentsManual Instruction.............................................................. 1Description of Man-Machine Commands................................. 1Auxiliary Function............................................................... 2Command Modes................................................................ 3
Manual InstructionZXR10 8900 Series (V2.8.02.C) 10G Routing Switch CommandReference includes 16 volumes. For details of each volume, pleaserefer to preface of this manual.
Commands in ZXR10 8900 Series (V2.8.02.C) 10G Routing SwitchCommand Reference (Index) are listed in sequence of from letter ato letter z and in form of table. Commands of all other volumes areclassified and illustrated according to different function modules.Each function module corresponds to one chapter and commandsin each chapter are listed in form of second-level directory and inthe sequence of from letter a to letter z.
To search a command information, perform the following steps:
1. Search corresponding command in ZXR10 8900 Series(V2.8.02.C) 10G Routing Switch Command Reference (Index);
2. Find the details of this command in corresponding volume ac-cording to obtained volume information and chapter informa-tion related to this command.
Description of Man-MachineCommandsEach MML command is described by the following items:
� Function
It describes the function implemented by this command.
� Command Modes
It describes the mode in which this command can be executed.
Confidential and Proprietary Information of ZTE CORPORATION 1
ZXR10 8900 Series Command Reference (IP Routing Volume I)
� Command format
It describes the complete format of this command. If no for-mat is available, list it.
� Parameter Description
It describes parameters in this command in the form and pre-scribes the range and default value. If different products havedifferent parameter ranges or default values, an additionalform is used for description.
� Default Value
The default value is available in the case that this command isnot set. The default parameter value is not described here forvalue selection. Additional description shall be given if differentproducts have different default values.
� Instructions
It firstly describes the platform version information about thiscommand. For example, “The platform version X.X.XX or latersupports this command” indicates this command is providedfrom platform version X.X.XX. This command is provided fromplatform version 4.6.01 by default.
After these information, it describes the use method and pre-cautions of this command.
� Example
It takes an example to introduce how to use this command.
� Related Commands
It lists commands related to this command.
� History Command
It describes history version information related to this com-mand if a command is changed after version upgrade.
Note:
Do not describe the command history if this entry does not exist.
Auxiliary FunctionCommand help function of ZXR10 devices has the following fea-tures:
1. By entering a question mark (?) following DOS prompt in anycommand mode, a list of available commands in this commandmode are displayed. With the context-sensitive help function,the keywords and parameter list of any commands can be dis-played.
� By entering a question mark "?" following DOS prompt inany command mode, a list of all commands in this modeand brief description of these commands are displayed.
2 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Command Introduction
� Input the question mark following a character or a charac-ter string, a list of commands or keywords beginning withthis character or character string is displayed. Note thatthere is no space between the character (string) and thequestion mark.
� Press Tab key following the character string. If the com-mand or keyword beginning with this character string isunique, complement the command or keyword and attacha space to the end. Note that there is no space betweenthe character string and the Tab key.
� Input a question mark (?) following the command, key-word or parameter. The next keyword or parameter to beentered is listed, and also a brief description is given. Aspace shall be entered before the question mark.
2. If incorrect command, keyword or parameter is entered, theerror isolation is offered with ^ in the user interface after youpress Enter key. Character ^ locates below the first characterof the entered incorrect command, keyword or parameter.
3. The system allows the command or keyword to be abbreviatedto a character or character string that uniquely identifies thiscommand or keyword. For example, show command can beabbreviated to sh or sho.
4. User interface supports the function of recording input com-mands. Maximum ten history commands can be recorded. Thisfunction is very useful in re-invocation of a long or complicatedcommand or ingress.
To re-invoke a command from the record buffer, conduct oneof the following operations.
Command Function
Press Ctrl-P or theup arrow key
It re-invokes the latest commands in therecord buffer. Repress these keys to invokeold commands forwards.
Press Ctrl-N or downarrow key
Roll commands downwards. When thelast command line is reached, one moreoperation will roll the commands from thebeginning of the buffer cyclically.
Use show history command in any mode, and the latest sev-eral commands in this mode will be listed.
Command ModesThe command modes in this manual are as follows:
Confidential and Proprietary Information of ZTE CORPORATION 3
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Modes Prompt Admis-sionMode
Commandto Enter theMode
Function
UserMode
ZXR10> Enter thismode directlyafter loggingonto system
View simpleinformation
Privi-legedmode
ZXR10# UserMode
enable Configuresystemparameters
Globalconfig-urationmode
ZXR10(config)# Privi-legedmode
configureterminal
Configureglobal serviceparameters
Inter-faceconfig-urationmode
ZXR10(config-if)#
Globalconfig-urationmode
interface It configuresportparametersand selectsa port typedepending onthe keyword.
Subin-terfacemode
ZXR10 (config-subif)#
Globalconfig-urationmode
interface It configuressubinterfaceparameters ofNPCI/NPCT.
VLANData-baseConfig-urationMode
ZXR10(vlan-db)#
Privi-legedmode
vlan database
Create ordelete VLANin batch
VLANConfig-urationMode
ZXR10(config-vlan)#
Globalconfig-urationmode
vlan ConfigureVLANparameters.
MSTPConfig-urationMode
ZXR10(config-mstp)#
Globalconfig-urationmode
spanning-tree mst configuration
ConfigureMSTPparameters.
BasicACLConfig-urationMode
ZXR10(config-basic-acl)#
Globalconfig-urationmode
acl basic Define basicACL rules
Ex-tendedACLConfig-urationMode
ZXR10(config-ext-acl)#
Globalconfig-urationmode
acl extend Defineextended ACLrules
4 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Command Introduction
Modes Prompt Admis-sionMode
Commandto Enter theMode
Function
LINEconfig-urationmode
ZXR10(config-line)#
Globalconfig-urationmode
line console0
line <1~64>(GAR Devices)
It config-ures serialport con-nection/tel-net connec-tion-relatedparameters.
L2 ACLConfig-urationMode
ZXR10(config-link-acl)#
Globalconfig-urationmode
acl link Define l2 ACLrules
HybridACLConfig-urationMode
ZXR10(config-hybd-acl)#
Globalconfig-urationmode
acl hybrid Define hybridACL rules
Routerstand-ard ACLmode
ZXR10 (config-std-nacl)#
Globalconfig-urationmode
ip access-list It definesrouterstandard ACLrules.
Routerex-tendedACLmode
ZXR10 (config-ext-nacl)#
Globalconfig-urationmode
ip access-list It definesrouterextended ACLrules.
router rip ConfigureRIP protocolparameters
router ospf ConfigureOSPF protocolparameters
router isis ConfigureIS-IS protocolparameters
router bgp ConfigureBGP protocolparameters
routerpimsm
ConfigurePIM-SMprotocolparameters
ipv6 routerrip
It configuresRIPngparameters.
Routeconfig-urationmode
ZXR10(config-router)#
Globalconfig-urationmode
ipv6 routerospf
It configuresOSPFv3parameters.
Confidential and Proprietary Information of ZTE CORPORATION 5
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Modes Prompt Admis-sionMode
Commandto Enter theMode
Function
VRFConfig-urationMode
ZXR10(config-vrf)#
Globalconfig-urationmode
ip vrf ConfigureVRF protocolparameters
VFI con-figu-rationmode
ZXR10(config-vfi)#
Globalconfig-urationmode
vfi It configuresVPLS-relatedparameters.
Routeconfig-urationmode(RIP)
address-family ipv4 vrf
Configure RIPVRF protocolparameters
Routeaddressmode
ZXR10(config-router-af)#
Routeconfig-urationmode(BGP)
address-family vpnv4
address-family ipv4 vrf
ConfigureBGP, VPN andVRF protocolparameters
Routeconfig-urationmode(BGP4)
address-family ipv6
It configuresBGP4+unicastaddressfamily.
IPv6unicastaddressfamilyconfig-urationmode
ZXR10(config-router-af)#
Routeconfig-urationmode(IS-ISv6)
address-family ipv6
It configuresIS-ISv6addressfamily.
RouteMapConfig-urationMode
ZXR10(config-route-map)#
Globalconfig-urationmode
route-map Configureroute mapmatchingitem andoperations
Chan-nelizedconfig-urationmode
ZXR10(config-control)#
Globalconfig-urationmode
control It configureschannelizationfor ce1, ce3and cpos3.
Dialpeerconfig-urationmode
ZXR10(config-voip100)#
Globalconfig-urationmode
dial-peervoice
It configuresservicesrelated tointegratedservice.
Voiceportconfig-urationmode
ZXR10(config-voice-port)#
Globalconfig-urationmode
voice-port It configuresvoice service.
6 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Command Introduction
Modes Prompt Admis-sionMode
Commandto Enter theMode
Function
IPSecconfig-urationmode
ZXR10(config-ipsec)#
Globalconfig-urationmode
ipsec It configuresIPv6 IPSecprotection.
Diagno-sis mode
ZXR10(diag)# Privi-legedmode
diagnose It tests CPUutilizationand memoryutilization.
Confidential and Proprietary Information of ZTE CORPORATION 7
ZXR10 8900 Series Command Reference (IP Routing Volume I)
This page is intentionally blank.
8 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 2
RIP Protocol
Table of Contentsaddress-family ipv4 vrf........................................................ 9auto-summary ..................................................................10default-metric ...................................................................10disable interface................................................................11distance ...........................................................................11enable interface ................................................................12exit-address-family............................................................12flash-update-threshold .......................................................12ip poison-reverse...............................................................13ip rip authentication key.....................................................13ip rip authentication key-chain ............................................14ip rip authentication mode ..................................................15ip rip interface ..................................................................15ip rip neighbor-restrict .......................................................16ip rip notify default route....................................................17ip rip only-send-subnet ......................................................17ip rip originate default route................................................18ip rip receive version..........................................................18ip rip send version .............................................................19ip split-horizon ..................................................................19maximum-paths................................................................20neighbor ..........................................................................20network ...........................................................................21offset-list .........................................................................22output-delay.....................................................................22redistribute.......................................................................23router rip .........................................................................24show ip rip .......................................................................24show ip rip database..........................................................25show ip rip interface ..........................................................25show ip rip neighbors.........................................................26show ip rip networks..........................................................26timers basic......................................................................27validate-update-source.......................................................28version ............................................................................28
address-family ipv4 vrfPurpose Use this command to enter the VRF address mode configuration,
or create and enter it if it does not exist. Delete this address modewith the no command.
Confidential and Proprietary Information of ZTE CORPORATION 9
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Command Modes Router configuration
Syntax address-family ipv4 vrf <vrf-name>
no address-family ipv4 vrf <vrf-name>
SyntaxDescription
<vrf-name> VRF name, 1~16 characters
Defaults Invalid
Instructions The RIP extension supports the VRF address mode. The corre-sponding address configuration mode should be entered to config-ure the address mode.
Example This example describes how to enter the vpn1 address mode.ZXR10(config)#router ripZXR10(config-router)#address-family ipv4 vrf vpn1ZXR10(config-router-af)#
auto-summaryPurpose Use this command to configure to send the route which only passes
through the summarized nature network and super network routes(in RIPV2). To send all RIP routes, use the no command.
Command Modes Router configuration and address family configuration
Syntax auto-summary
no auto-summary
Defaults Enable
Instructions � The route summary reduces the route information volume tobe sent.
� Even if the command auto-summary is configured, Pleasemention the following policies which are still effective:
Router has an interface address and this interface address ina natural network segment, which is a sub network segmentof RIP protocol. RIP update packet sends from this interfacewithout natural network routing, but with other RIP sub net-work routings, which belong to a different sub network withthe interface.
default-metricPurpose Use this command to re-distribute the other protocol generated
routes as the default metric for the RIP route. To restore default,use the no command.
Command Modes Router configuration and address family configuration
Syntax default-metric <metric-value>
no default-metric
10 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 RIP Protocol
SyntaxDescription
<metric-value> Default metric value, range: 1~16, default: 1
Defaults The default value is 1.
Instructions This command works with the redistribute command to havethe same metric value used for the current routing protocol andall re-distributing route. The default metric helps solve the routere-distributing problems that are caused by different metrics.When the metric is not changed, the default metric provides areasonable alternative method to facilitate the re-distributing.
RelatedCommands
redistribute
disable interfacePurpose Use this command to disable an interface, that is, disable the RIP
protocol on this interface.
Command Modes Router configuration and address family configuration
Syntax disable interface <ip-address>
SyntaxDescription
<ip-address> IP address of the specified RIP interface, inthe dotted decimal format
Defaults This command is invalid by default.
Instructions This command does not change the configuration parameter data-base, but only disables the RIP protocol on the interface.
Example This example describes how to stop the RIP protocol on the inter-face 10.20.1.20.ZXR10(config)#router ripZXR10(config-router)#disable interface 10.20.1.20
RelatedCommands
enable interface
distancePurpose Use this command to configure the route priority of the IS-IS. Re-
store the default IS-IS route priority with the no command.
Command Modes Router configuration
Syntax distance <distance>
no distance
SyntaxDescription
<distance> Priority of the IS-IS route, range: 1~255,default: 115
Instructions This command functions on both level-1 and level-2.
Confidential and Proprietary Information of ZTE CORPORATION 11
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Example This example describes how to configure the route priority of theIS-IS.ZXR10(config)#router isisZXR10(config-router)#distance 120
enable interfacePurpose Use this command to start the RIP protocol on an interface.
Command Modes Router configuration and address family configuration
Syntax enable interface <ip-address>
SyntaxDescription
<ip-address> IP address of the specified RIP interface, inthe dotted decimal notation.
Defaults This command is enabled by default.
Instructions This command does not change the configuration parameter data-base.
Example This example describes how to start the RIP protocol on the inter-face 10.20.1.20.ZXR10(config)#router ripZXR10(config-router)#enable interface 10.20.1.20
RelatedCommands
disable interface
exit-address-familyPurpose Use this command to exit RIP VRF address mode configuration.
Command Modes Router address
Syntax exit-address-family
Example This example describes how to start the RIP protocol on the inter-face 10.20.1.20.ZXR10(config)#router ripZXR10(config-router)#address-family ipv4 vrf vpn1ZXR10(config-router-af)#exit-address-familyZXR10(config-router)#
RelatedCommands
address-family ipv4 vrf
flash-update-thresholdPurpose Use this command to define the RIP flash timer. Restore default
with the no command.
12 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 RIP Protocol
Command Modes Router configuration
Syntax flash-update-threshold <threshold>
no flash-update-threshold
SyntaxDescription
<threshold> Size of the RIP flash timer in seconds, range:1~30
Defaults The default value is 5.
Instructions The RIP flash timer can be changed if it is required.
Example This example describes how to define the RIP flash timer as 10 s.ZXR10(config)#router ripZXR10(config-router)#flash-update-threshold 10
ip poison-reversePurpose Use this command to enable the poison reverse mechanism. Can-
cel the poison reverse mechanism with the no form of this com-mand.
Command Modes Interface configuration
Syntax ip poison-reverse
no ip poison-reverse
Defaults This command is disabled by default.
Instructions When the poison reversion mechanism is enabled, if any piece ofroute information is returned to the router that originally adver-tises the route, then the metric should be configured as infinite(Metric=16), in order that the loop is broken in time. However,this may cause an increase in traffic of the network. When thenetwork load is large, the poison reverse should be disabled.
Example This example describes how to enable the poison reverse of theinterface fei_1/1.ZXR10(config)#interface fei_1/1ZXR10(config-if)#ip poison-reverse
ip rip authentication keyPurpose Use this command to specify the key for the simple text authen-
tication of the interface. Delete the key with the no form of thiscommand.
Command Modes Interface configuration
Syntax ip rip authentication key <key>
no ip rip authentication key
Confidential and Proprietary Information of ZTE CORPORATION 13
ZXR10 8900 Series Command Reference (IP Routing Volume I)
SyntaxDescription
<key> Valid key, 1~16 characters
Defaults There is no key by default.
Instructions � When the key is not configured with the key command, theauthentication will not be performed on the interface.
� This command needs to work with the ip rip authenticationmode text command.
Example This example describes how to configure the key zxr10 on thefei_1/1 interface.ZXR10(config)#interface fei_1/1ZXR10(config-if)#ip rip authentication key zxr10
RelatedCommands
ip rip authentication mode
ip rip authenticationkey-chain
Purpose Use this command to configure to provide the key-chain for theMD5 authentication of an interface. Delete a key node with the noform of this command.
Command Modes Interface configuration
Syntax ip rip authentication key-chain <key-id><key-string>
no ip rip authentication key-chain <key-id>
SyntaxDescription
<key-id> Number of the key node in the key-chain,1~255
<key-string> Key value, 1~16 characters.
Defaults There is no key-chain by default.
Instructions This command needs to work with the ip rip authenticationmode md5 command.
Example This example describes how to configure the key-chain 1 as abcdon the fei_1/1 interface and delete it.ZXR10(config)#interface fei_1/1ZXR10(config-if)#ip rip authentication key_chain 1 abcdZXR10(config-if)#no ip rip authentication key_chain 1
14 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 RIP Protocol
RelatedCommands
ip rip authentication mode
ip rip authentication modePurpose Use this command to specify the authentication type for the RIP
version 2 message packets. Clear the authentication with the noform of this command.
Command Modes Interface configuration
Syntax ip rip authentication mode {text | md5}
no ip rip authentication mode
SyntaxDescription
text Simple text authentication
md5 MD5 authentication
Defaults There is no authentication mode by default.
Instructions The RIP version 1 does not support the authentication.
Example This example describes how to configure the MD5 authenticationon the fei_1/1 interface.ZXR10(config)#interface fei_1/1ZXR10(config-if)#ip rip authentication mode md5
RelatedCommands
ip rip authentication key
ip rip authentication key_chain
ip rip interfacePurpose Use this command to configure the method to send/receive route
information on an interface. Restore default with the no form ofthis command.
Command Modes Interface configuration
Syntax ip rip interface {passive | active}
no ip rip interface
SyntaxDescription
passive Enables an interface only to receive but notto send RIP route update information.
active Enables an interface only to send but not toreceive RIP route update information.
Defaults The RIP route information is sent and received at the same time.
Instructions � This command can be used to reduce the bandwidth occupationof the network.
Confidential and Proprietary Information of ZTE CORPORATION 15
ZXR10 8900 Series Command Reference (IP Routing Volume I)
� The ip rip interface passive command often works with theneighbor command to have the router only send route to thespecified neighbor, so as to reduce the bandwidth occupationof the network.
� The ip rip interface active command is usually used whenthe LAN only needs to report the route information inside itssubnet to the upper-level server.
Example This example describes how to configure the interface fei_1/1 toreceive only but not send the RIP route information.ZXR10(config)#interface fei_1/1ZXR10(config-if)#ip rip interface passive
ip rip neighbor-restrictPurpose Use this command to make an interface enter the RIP neighbor re-
striction mode. Restore default with the no form of this command.
Command Modes Interface configuration
Syntax ip rip neighbor-restrict
no ip rip neighbor-restrict
Defaults This command is not effective, that is to say, it is compatible withCISCO neighbor mode.
Instructions In the interface neighbor restriction mode, if the interface is notconfigured with any neighbor, the neighbor can be found but theunicast packets sent by the neighbor cannot be found, and onlythe multicast packets are sent. Here, packets can be receivedfrom the found neighbor.
When a neighbor is configured, the neighbor that is found beforeon the interface will be deleted, and no neighbor can be found anymore. At the same time, the interface sends unicast packets tothe configured neighbor. Here, packets can be received only fromthe configured neighbor, while the packets from other sources willbe discarded.
In no ip rip neighbor-restrict mode, the neighbor can be foundno matter whether a neighbor is configured on the interface. Forthe configured neighbor, the unicast packet is sent; while for thefound neighbor, no unicast packet will be sent. The packets canbe received from either the configured or the found neighbor.
Example This example describes how to configure the RIP neighbor restric-tion mode on the fei_1/1 interface.ZXR10(config)#interface fei_1/1ZXR10(config-if)#ip rip neighbor-restrict
16 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 RIP Protocol
RelatedCommands
neighbor
ip rip notify default routePurpose Use this command to configure an interface to advertise default
route when the default route exists on this router. Disable thisfeature with the no form of this command.
Command Modes Interface configuration
Syntax ip rip notify default route [only]
no ip rip notify default route
SyntaxDescription
only Only the default route is sent on this interface
Defaults This command is disabled by default.
Instructions Configure an interface to advertise default router when the defaultroute exists on this router.
Example This example describes how to send the default route on the in-terface fei_1/1.ZXR10(config)#interface fei_1/1ZXR10(config-if)#ip rip notify default route
RelatedCommands
ip rip originate default route
ip rip only-send-subnetPurpose This command enables the interface only to advertise the informa-
tion of the subnet of the same network as the interface address.Use the no form of this command to restore default.
Command Modes Interface configuration
Syntax ip rip only-send-subnet
no ip rip only-send-subnet
Defaults Invalid
Instructions After this command is used, the interface only sends the RIP rout-ing information of the subnet of the the same network as the inter-face address . While the interface shields the routing informationof the subnet of the different network from the interface address.
Example This example advertises the information of the subnet of the samenetwork as the interface address.ZXR10(config)#interface fei_1/1ZXR10(config-if)#ip rip only-send-subnet
Confidential and Proprietary Information of ZTE CORPORATION 17
ZXR10 8900 Series Command Reference (IP Routing Volume I)
ip rip originate default routePurpose Use this command to generate a default route on the interface and
force the advertisement of it. Disable this feature with the no formof this command.
Command Modes Interface configuration
Syntax ip rip originate default route [only]
no ip rip originate default route
SyntaxDescription
only Only the default route is sent on this interface
Defaults This command is disabled by default.
Instructions Generate a default route on an interface and force to advertise it.However, this default route is not added into the routing table ofthe local router.
Example This example describes how to generate and force to advertise adefault route on the interface fei_1/1.ZXR10(config)#interface fei_1/1ZXR10(config-if)#ip rip originate default route
RelatedCommands
ip rip notify default route
ip rip receive versionPurpose Use this command to specify the RIP version which is received on
the interface. Restore the status of global version configurationwith the no form of this command.
Command Modes Interface configuration
Syntax ip rip receive version [1 | 2]
no ip rip receive version
SyntaxDescription
1 The interface only receives the RIP packetsof version 1
2 The interface only receives the RIP packetsof version 2
Defaults It depends on the version command. If the version commandis not configured, the default value will be used, that is, versionsboth 1 and 2 are received.
Instructions This command can be used to ignore the RIP default status spec-ified by the version command, but this only applies for the con-figured interfaces.
Example The interface fei_1/1 only receives the packets of RIP version 1.ZXR10(config)#interface fei_1/1ZXR10(config-if)#ip rip receive version 1
18 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 RIP Protocol
ip rip send versionPurpose Use this command to specify the RIP version sent on the interface.
Restore to the global version configuration status with the no formof this command.
Command Modes Interface configuration
Syntax ip rip send version {1 | 2 {broadcast | multicast}}
no ip rip send version
SyntaxDescription
1 The interface only sends the packets of RIPversion 1.
2 The interface only sends the packets of RIPversion 2. When it is version 2, the broadcastor multicast mode can be chosen.
broadcast The interface sends the compatible packetto the broadcast address. All routes are theclassful networks, and the supernet route isnot sent.
multicast The interface sends the packet of version 2to the multicast address. The subnet routecan be sent depending on auto-summarycommand.
Defaults It depends on the router command version.
Instructions The use of this command can ignore the RIP default status speci-fied by the version command, but it only applies for the configuredinterfaces.
Example This example specifies the interface fei_1/1 to send the RIP version1 packets and version 2 multicast packets.ZXR10(config)#interface fei_1/1ZXR10(config-if)#ip rip send version 1ZXR10(config-if)#ip rip send version 2 multicast
ip split-horizonPurpose Use this command to enable the split horizon mechanism. Cancel
the split horizon mechanism with the no form of this command.
Command Modes Interface configuration
Syntax ip split-horizon
no ip split-horizon
Defaults The split horizon mechanism is enabled.
Instructions � Generally, it is not recommended to change the default statusof the command ip split-horizon, unless because of the cor-rect route advertisement it has no choice but to change thedefault satus in the application system. If the split horizon isdisabled on the serial interface (and the interface is connected
Confidential and Proprietary Information of ZTE CORPORATION 19
ZXR10 8900 Series Command Reference (IP Routing Volume I)
with the packet switching network), the split horizon must bedisabled for all the routers and access servers in the relatedmulticast groups of the network.
� In the network including the links of X.25 switching network,the neighbor command can be used to change the features ofsplit horizon. And the no ip split-horizon command can bedefinitely specified as the replacement of it in the configuration.If so, the split horizon, however , must be disabled for all therouters in the related multicast groups of the network.
Example This example describes how to disable the split horizon mechanismin the serial link.ZXR10(config)#interface serial_1/1ZXR10(config-if)#no ip split-horizon
maximum-pathsPurpose Use this command to configure the number of routes the load bal-
ance supports. Make it restore 1 with the no form of this com-mand.
Command Modes Router configuration
Syntax maximum-paths <number>
no maximum-paths
SyntaxDescription
<number> Number of routes load balance supports,range: 1~8, default: 1
Defaults The default value of the parameter <number> is 1.
Instructions The number of the same effective routes received through RIP pro-tocol can be adjusted according to the requirements of the loadbalance.
Example This example changes the number of path the load balancing sup-ports into 2.ZXR10(config)#router ripZXR10(config-router)#maximum-paths 2
neighborPurpose Use this command to define the adjacent routers that exchange
route information with local router. Delete the adjacent routerswith the no form of this command.
Command Modes Router configuration and address family configuration
Syntax neighbor <ip-address>
no neighbor <ip-address>
20 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 RIP Protocol
SyntaxDescription
<ip-address> IP address of the peer router exchangingroute information with local router, in theform of dotted decimal
Defaults No neighbor is configured.
Instructions � This command allows exchanging the RIP route information inthe point-to-point (non-broadcast) mode. Once a neighbor isspecified, the interface that is in the same network as localinterface will not exchange the RIP route information in thebroadcast (multicast) mode.
� When the use of the ip rip interface passive command onsome interface make it only receive but not send route infor-mation, then after the use of the neighbor command can allowthe router to exchange route information with the neighbor onthis interface.
� Use multiple neighbor commands to specify additional adja-cency routers or the peer routers.
� Recently 255 neighbors, at most, can be found or configuredat the same time.
Example This example configures the address 10.10.10.2 as the neighborrouter.ZXR10(config)#router ripZXR10(config-router)#neighbor 10.10.10.2
RelatedCommands
ip rip neighbor-restrict
ip rip interface passive
networkPurpose Use this command to specify the network table for RIP routing.
Clear the setting with the no form of this command.
Command Modes Router configuration and address family configuration
Syntax network <ip-address><net-mask>
no network <ip-address><net-mask>
SyntaxDescription
<ip-address> directly connected IP address of the network ,in the form of dotted decimal
<net-mask> Inverse mask of the network number, in theform of dotted decimal
Defaults This command is disabled by default.
Instructions � Multiple network commands can be specified. The RIP routeupdate information can be sent or received only through thesenetwork interfaces.
Confidential and Proprietary Information of ZTE CORPORATION 21
ZXR10 8900 Series Command Reference (IP Routing Volume I)
� The RIP sends the update information to the specified networkinterface. If some network of interface is not specified, therewill be no advertisement of RIP update.
Example This example describes how to specify the network for the RIProuting.ZXR10(config)#router ripZXR10(config-router)#network 202.102.3.0 0.0.0.255
RelatedCommands
router rip
offset-listPurpose Use this command to configure the particular metric offset of route
received/sent . Delete the metric special offset for sending/receiv-ing routes with the no form of this command. There will be nooffset in metric when route is received or sent with the no form ofthis command.
Command Modes Router configuration and address family configuration
Syntax offset-list <access-list-number>{in | out}<offset>[interface<interface-name>]
no offset-list <access-list-number>{in | out}[interface <interface-name>]
SyntaxDescription
<access-list-number> Access list entry, 1~99
in | out Receiving or sending route
<offset> Offset metric value, 0~16
<interface-name> Interface name
Defaults This command is disabled by default.
Instructions If an interface name is specified, the offset value is effective onlyfor the specified interface.
Example This example adds the offset 2 to the metric value of the receivedroute corresponding to the access list 3.ZXR10(config)#router ripZXR10(config-router)#offset-list 3 in 2
output-delayPurpose Use this command to change the delay among the group of pack-
ets RIP update sends. Restore default with the no form of thiscommand.
Command Modes Router configuration
Syntax output-delay <packets><delay>
22 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 RIP Protocol
no output-delay
SyntaxDescription
<packets> Number of packets, 1~4294967295
<delay> Delay among multiple packets RIP updatesends. unit: milliseconds, range: 0~100
Defaults The interval among 5 packets is 100 milliseconds .
Instructions If a high-speed router sends packets to a low-speed router at ahigh speed, the low-speed router cannot receive the packets atthe high speed at all. In that case, it is considerable to use thiscommand to prevent the routing table losing information.
Example This example sets the configuration of interval among 580 packetsto 10 milliseconds.ZXR10(config)#router ripZXR10(config-router)#output-delay 580 10
redistributePurpose Use this command to redistribute routes from one route domain
to the RIP route domain. Cancel redistributing the route with theno form of this command.
Command Modes Router configuration and address family configuration
Syntax redistribute <protocol>[metric <metric-value>][route-map<map-tag>]
no redistribute <protocol>[metric][route-map]
SyntaxDescription
<protocol> Source route protocol of route redistribution,keywords of protocols as follows: OSPF-ext,OSPF-int, static, BGP-ext, BGP-int, connected,IS-IS-1, IS-IS-2, and IS-IS-1-2
metric <metric-value>
Specifies the value of route metric to introducethe route. If not specified, the route metricwill use the default-metric. range: 0~16
route-map<map-tag>
The name of the route map for redistribution,1~16 characters
Defaults This command is disabled by default.
Instructions The redistribute command introduces routes of other protocolwith a certain metric value. The RIP regards the introduced routedas a part of its own routes and uses a specified metric to sendthem together. This command greatly improves the capability ofobtaining routes of RIP, and thus improves the behavior of RIP.
Example This example sets the default metric and introduces the OSPF ex-ternal route with the default route.ZXR10(config)#router ripZXR10(config-router)#default-metric 5ZXR10(config-router)#redistribute ospf-ext
Confidential and Proprietary Information of ZTE CORPORATION 23
ZXR10 8900 Series Command Reference (IP Routing Volume I)
RelatedCommands
default-metric
route-map
router ripPurpose Use this command to start the RIP routing process. Close the RIP
routing process with the no form of this command.
Command Modes Global configuration
Syntax router rip
no router rip
Defaults There is no RIP routing process.
Instructions Start the RIP routing process.
Example This example shows how to start the RIP routing process.ZXR10(config)#router ripZXR10(config-router)#
RelatedCommands
network
show ip ripPurpose Use this command to display basic information about the running
of RIP.
Command Modes All modes
Syntax show ip rip [vrf <vrf-name>]
SyntaxDescription
vrf <vrf-name> VRF name, 1~16 characters
Defaults This command is disabled by default.
Instructions According to the output information of this command, the usercan make sure whether the configuration is correct and make adiagnosis of IP fault.
Example This example displays the basic information of the running of RIP.The following information indicates RIP is now in the state of run-ning.ZXR10#show ip riprouter ripauto-summarydefault-metric 1distance 120validate-update-sourceversion 2flash-update-threshold 5maximum-paths 1output-delay 5 100timers basic 30 180 180 240network
24 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 RIP Protocol
10.0.0.0 0.255.255.255
show ip rip databasePurpose Use this command to show the route entries generated by the RIP
protocol.
Command Modes All modes
Syntax show ip rip database [vrf <vrf-name>][network <ip-address>[mask <net-mask>]]
SyntaxDescription
vrf <vrf-name> VRF name, 1~16 characters
network <ip-address>
Number of network, in the form of dotteddecimal
mask <net-mask> Network mask, in the form of dotted decimal
Defaults This command is disabled by default.
Instructions According to the output information of this command, users canmake sure whether the current RIP routing table is correct.
Example This example displays the route entries generated by the protocolof RIP.ZXR10#show ip rip databasePref Routesh : is possibly down,in holddown timef : out holddown time before flush*> 10.0.0.0/8*> 150.1.1.0/24*> 160.1.1.0/24*> 201.1.1.0/24*> 203.1.1.0/24
show ip rip interfacePurpose Use this command to display information about RIP interface.
Command Modes All modes
Syntax show ip rip interface [vrf <vrf-name>]<interface-name>
SyntaxDescription
vrf <vrf-name> VRF name, 1~16 characters
<interface-name> The name of the interface to start RIP
Defaults Invalid
Instructions Show the information of the interface running RIP protocol.
Example Use this command to display the RIP information of the fei_1/1interface.
Confidential and Proprietary Information of ZTE CORPORATION 25
ZXR10 8900 Series Command Reference (IP Routing Volume I)
ZXR10#show ip rip interface fei_1/1ip address:
10.10.30.4receive version 1 2send version 2split horizon is effective
show ip rip neighborsPurpose Use this command to display information about RIP neighbors.
Command Modes All modes
Syntax show ip rip neighbors [vrf <vrf-name>]
SyntaxDescription
vrf <vrf-name> VRF name, 1~16 characters
Defaults This command is disabled by default.
Instructions Use this command to display information about he adjacencyrouter learned through receiving RIP packets.
Example This example displays information about adjacent router learnedthrough receiving RIP packets.ZXR10#show ip rip neighborsneighbor address interface10.1.1.15 fei_1/3
show ip rip networksPurpose Use this command to show RIP networks which users configure.
Command Modes All modes
Syntax show ip rip networks [vrf <vrf-name>]
SyntaxDescription
vrf <vrf-name> VRF name, 1~16 characters
Defaults This command is disabled by default.
Example This example shows RIP networks users configure.ZXR10#show ip rip networksnetworks wildmask
10.10.30.0 0.0.0.25540.1.1.0 0.0.0.255130.1.0.0 0.0.255.255151.1.1.1 0.0.0.0
26 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 RIP Protocol
RelatedCommands
network
timers basicPurpose Use this command to adjust the timer of RIP network . Restore
the default timer with the no form of this command.
Command Modes Router configuration
Syntax timers basic <update><invalid><holddown><flush>
no timer basic
SyntaxDescription
<update> The rate of update sending, unit: second,range: 1~65535, default: 30 seconds. This isthe basic parameter of the routing protocol
<invalid> Period before route's advertisement ofinvalidity, unit: second, range: 1~65535. Itis recommended to set this value as morethan 3 times of the value of the parameterupdate, default: 180. During the slot ofthe parameter invalid from the moment ofreceiving some route, if there is no refreshingof the route , it will be ineffective and thenin the state of holdown. If the parameterholddown is configured as 0, the flush timerwill be directly started
<holddown> Period for suppressing a better route, unit:second, range: 0~65535. It is recommendedto set this value as more than 3 times ofthe value of the parameter update, default:180. When routers receive update packetsand the received routes are unreachable, orin case that the route is ineffective becausethe invalid timer expires, the route will bein the state of holddown and be markedas inaccessible. However, the route willbe still used to forward packets. After theslot of holddown, the route advertised byother sources is acceptable, and the route isaccessible again
<flush> Period from the invalidity of route to theclearing of it, unit: second, range: 1~65535,default: 240. The specified value of it mustbe more than or equal to the holddown value.If it is less than the holddown value, There willbe new routes received before the holdtimetimer expires
Instructions The RIP basic timer is adjustable. Since the RIP executes the asyn-chronous routing algorithm, it is very important to keep the con-sistence of timers of all routers and access servers of the network.
Confidential and Proprietary Information of ZTE CORPORATION 27
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Caution:
If the update period is too short, it may cause congestion in thelow-speed serial line. while it will not cause big problems in thehigh-speed serial line of the fast Ethernet. In addition, if there aremany routes to be updated, it may cost the router a great deal oftime to handle the update route.
Example In the following example, the update information is broadcast ev-ery 5 seconds. If the router does not receive the information in15 seconds, it will make an advertisement that the route is un-reachable. The remaining information will be suppressed in thesubsequent 15 seconds. The route entry will be cleared from therouting table after the suppression period.ZXR10(config)#router ripZXR10(config-router)#timers basic 5 15 15 30
validate-update-sourcePurpose Use this command to start the function to check whether the
source IP addresses of received RIP update packets are effective.Disable this function with the no form of this command.
Command Modes Router configuration and address family configuration
Syntax validate-update-source
no validate-update-source
Defaults This command is enabled by default.
Instructions The command is started to check the source IP addresses of RIPupdate packets from the interface. The packets will be receivedonly if the source IP addresses are in the same subnet as the in-terface address.
Example This example configures the router which does not check thesource IP addresses of RIP update packets.ZXR10(config)#router ripZXR10(config-router)#network 128.105.0.0ZXR10(config-router)#no validate-update-source
versionPurpose Use this command to specify the version of RIP routers globally
use. Restore default with the no form of this command.
Command Modes Router configuration and address family configuration
Syntax version {1 | 2}
no version
28 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 RIP Protocol
SyntaxDescription
1 Specify RIPv1 as the version received andsent
2 Specify RIPv2 as the version received andsent
Defaults The version is 2.
Instructions Use the ip rip receive version and ip rip send version com-mands to specially specify the version of RIP on the interface.
Example This example sets the version of RIP as 2.ZXR10(config-router)#version 2
RelatedCommands
ip rip receive version
ip rip send version
Confidential and Proprietary Information of ZTE CORPORATION 29
ZXR10 8900 Series Command Reference (IP Routing Volume I)
This page is intentionally blank.
30 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 3
OSPF Protocol
Table of Contentsarea authentication............................................................32area filter-list....................................................................33area nssa .........................................................................33area range........................................................................35area sham-link..................................................................36area stub .........................................................................38area stub-host ..................................................................39area virtual-link.................................................................40auto-cost..........................................................................42bfd-all-interface ................................................................42capability opaque ..............................................................43capability vrf-lite ...............................................................43clear ip ospf process ..........................................................44clear ip ospf redistribution ..................................................44compatible rfc1583............................................................44debug ..............................................................................45default-metric ...................................................................45disable area......................................................................46disable interface................................................................46disable ip ospf...................................................................47distance ospf ....................................................................47distribute-list ....................................................................48domain-id.........................................................................49domain-tag.......................................................................50enable area ......................................................................50enable interface ................................................................51enable ip ospf ...................................................................51fast-reroute alternate-protect-type ......................................52filter ................................................................................52grace-period .....................................................................53ip ospf authentication.........................................................54ip ospf authentication-key ..................................................54ip ospf bfd ........................................................................55ip ospf cost.......................................................................55ip ospf dead-interval ..........................................................56ip ospf fast-reroute............................................................57ip ospf hello-interval ..........................................................57ip ospf message-digest-key ................................................58ip ospf mtu-ignore .............................................................58ip ospf network .................................................................59ip ospf priority ..................................................................60ip ospf resync-timer...........................................................60ip ospf retransmit-interval ..................................................61ip ospf transmit-delay ........................................................61maximum-paths................................................................62max-metric router-lsa ........................................................62
Confidential and Proprietary Information of ZTE CORPORATION 31
ZXR10 8900 Series Command Reference (IP Routing Volume I)
mpls traffic-eng area..........................................................63mpls traffic-eng router-id....................................................64neighbor ..........................................................................64network ...........................................................................65no area ............................................................................67notify default route ............................................................67nsf ..................................................................................68passive-interface ...............................................................69redistribute.......................................................................69router ospf .......................................................................71router-id ..........................................................................72show ip ospf .....................................................................72show ip ospf border-lfas .....................................................74show ip ospf border-routers ................................................75show ip ospf database........................................................76show ip ospf interface ........................................................86show ip ospf mpls traffic-eng link.........................................88show ip ospf neighbor ........................................................89show ip ospf nsf ................................................................91show ip ospf request-list.....................................................92show ip ospf retransmission-list...........................................93show ip ospf virtual-links ....................................................93summary-address..............................................................94timers lsa-group-pacing .....................................................95timers spf.........................................................................95
area authenticationPurpose Use this command to enable the authentication in the OSPF area.
Disable the authentication with the no command.
Command Modes Router configuration
Syntax area <area-id> authentication [message-digest]
no area <area-id> authentication [message-digest]
SyntaxDescription
<area-id> Area identifier, a decimal number(0~4294967295) or a dotted decimal IPaddress
message-digest Use the type 2 (message digest)authentication in the area
Defaults There is no authentication by default.
Instructions � This command is supported after the 4.6.02 platform version.
� If there is no parameter, the type 1 (simple password ) au-thentication will be used. If there is a parameter , the type 2(message digest) authentication will be used.
� If the area does not exist, it will be created automatically.
Example This example uses type 2 authentication on area 1.ZXR10(config)#router ospf 1ZXR10(config-router)#area 1 authentication message-digest
32 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
area filter-listPurpose Use this command to filter the information of network routing be-
tween OSPF areas. Cancel the setting with the no form of thiscommand.
Command Modes Router configuration
Syntax area <area-id> filter-list prefix <prefix-list>{out | in}
no area <area-id> filter-list prefix <prefix-list>{out | in}]
SyntaxDescription
<area-id> Area identifier, a decimal number(0~4294967295) or a dotted decimal IPaddress
prefix <prefix-list> Name of the prefix list
{out | in} Filter the routing information when it isexported from the area or imported to thearea
Defaults There is no filter of the network routing information between OSPFareas.
Instructions � This command is supported after the 4.6.02 platform version.
� If the area does not exist, it will be created automatically.
� The parameter in indicates that it is forbidden for the corre-sponding LSA of type 3 to enter this area, so there will be noroute. The parameter out indicates that it is forbidden for theLSA of type 3 the corresponding route generate to enter otherarea.
� This command is only used to filter the route corresponding tothe LSA of type 3 by the ABR.
� Only if the condition of the prefix-list parameter is matched canthis command be permit (or deny), otherwise it will be denyall (or permit all). That is, if there is no template or if thetemplate exists and the condition of the prefix-list parameteris not matched, the command will be deny all (or permit all).
Example In this example, it is forbidden to export that the network20.20.20.0 of area 0.0.0.1 to other areas.ZXR10(config)#router ospf 1ZXR10(config-router)#network 20.20.20.0 0.0.0.255 area 1ZXR10(config-router)#exitZXR10(config)#ip prefix-list zxr10 deny 20.20.20.0 24ZXR10(config)#router ospf 1ZXR10(config-router)#area 0.0.0.1 filter-list prefix zxr10 out
area nssaPurpose Use this command to define an area as the NSSA area. Change
the area from NSSA non-NSSA with the no form of this command.
Command Modes Router configuration
Confidential and Proprietary Information of ZTE CORPORATION 33
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Syntax area <area-id> nssa [no-redistribution][default-information-originate [metric <metric-value>][metric-type <type>]][no-summary]
no area <area-id> nssa [no-redistribution][default-information-originate][no-summary]
SyntaxDescription
<area-id> Area identifier, a decimal number(0~4294967295) or a dotted decimal IPaddress
no-redistribution Do not redistribute the advertisement ofNSSA link state to the NSSA area
default-information-originate
Generate the advertisement of the link stateof default route of Type 7
metric <metric-value>
Cost value of the advertisement of the linkstate of Type 7, range: 0~16777214
metric-type <type> Type of the advertisement of the link state ofdefault route of Type 7, ext-1 or ext-2
no-summary Do not send the advertisement of thesummary link state to the NSSA area
Defaults No NSSA area is defined.
For the NSSA area, if there is a default advertisement of type 7generated, the default cost value will be 1 and the type will beext-2.
Instructions 1. This command is supported after the version 4.6.02 of plat-form.
2. Area 0, stub area and the area with virtual links cannot beconfigured as the nssa area. One nssa area at most can beconfigured on one router.
3. It is allowed to simultaneously specify whether to forbid theABR from sending summary route information to the NSSAarea, whether to import the advertisement of external linkstate of type 7 to the NSSA area, and whether to generate theadvertisement of default link state of type 7. Default: Thereis no forbidding of the summary of routes. Routes of type 7 isimported. There is no default route of type 7 generated.
4. If the area does not exist, it will be created automatically.5. On the ABR routers, Type 7 default routes can be generated
by configuring the area nssa default-information originatecommand.
6. On the ABR routers, Type 3 default LSA can be generated byconfiguring the area nssa no-summary command.
7. When NSSA areas generate common Type 7 LSA, the selectionof FA follows the following rules.
i. If the next hop of a redistributed route is in the NSSA areaof OSPF, then it takes the next hop.
ii. Otherwise, traverse the addresses of all OSPF interfaces inthe NSSA area, but omit the unnumbered ptop interface.
iii. Select the loopback interface in the NSSA area. If thereare multiple loopback interfaces, select the one with thebiggest IP address.
34 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
iv. Otherwise, select the interface that does not establishneighbor relationships with other interfaces in the NSSAarea. If there are multiple such interfaces, select the onewith the biggest IP address.
v. Otherwise, select the neighbor interface of non-point-to-point in the NSSA area. If there are multiple such inter-faces, select the one with the biggest IP address.
vi. Otherwise, select the neighbor interface of the NSSA area.If there are multiple such interfaces, select the one withthe biggest IP address.
vii.Otherwise, view whether the current LSA needs to bemarked with a p tag. If there is no need to do so, 0.0.0.0will be filled in the field of FA. If it needs to do so, LSA oftype 7 will not be generated.
8. When NSSA area generates special Type 7 LSA:
� If the Type 7 LSA is generated by the configuration of thesummary address, takes the FA selection of the commonLSA of type 7 skipping the step a.
� If it is the default route generated by the area <id> nssadefault-information-originate command, the FA will be0.0.0.0.
Example This example configures area 1 as the nssa area and the area gen-erates the advertisement of link state of default route of type 7.ZXR10(config)#router ospf 1ZXR10(config-router)#area 1 nssa default-information-originate
area rangePurpose Use this command to configure the range of the summary address
in the area. If the area does not exist, it needs creating. Disablethe range of the summary address with the no form of this com-mand.
Command Modes Router configuration
Syntax area <area-id> range <ip-address><net-mask>[advertise |not-advertise]
no area <area-id> range <ip-address><net-mask>
SyntaxDescription
<area-id> Area identifier, a decimal number(0~4294967295) or a dotted decimal IPaddress.
<ip-address> IP address of the summary address range, inthe form of dotted decimal
Confidential and Proprietary Information of ZTE CORPORATION 35
ZXR10 8900 Series Command Reference (IP Routing Volume I)
<net-mask> Mask of the summary address range, in theform of dotted decimal
advertise |not-advertise
advertise: summary type-3 LSA is advertised
not-advertise: summary type-3 LSA is notallowed to afdvertise
Defaults There is no summary address range of the specified area by de-fault.
Instructions � This command is supported after the platform version 4.6.02.
� This command is only applicable to the area border routers. Itis used to make a combination of computation and a summaryof routes in an area. As a result, an outline route is advertisedto the other areas by the ABR. The information of the route-choosing is compressed at the area border.
� Only the corresponding routes of type 1 and type 2 LSA can besummarized.
� If the area does not exist, it will be created automatically.
Example In this example, the networks of area 1 are aggregated into area0, and type 3 LSA is advertised.ZXR10(config-router)#network 10.1.1.0 0.0.0.255 area 1ZXR10(config-router)#network 10.1.2.0 0.0.0.255 area 1ZXR10(config-router)#network 10.1.3.0 0.0.0.255 area 1... ...ZXR10(config)#router ospf 1ZXR10(config-router)#area 0 range 10.1.0.0 255.255.0.0 advertise
area sham-linkPurpose Use this command to establish a link, which transmits OSPF pro-
tocol packets through MPLS VPN, between two PE routers.
Command Modes Router configuration
Syntax area <area-id> sham-link <source-address><destination-address>[cost number]
no area <area-id> sham-link <source-address><destination-address>
SyntaxDescription
<area-id> Area identifier, a decimal number(0~4294967295) or a dotted decimal IPaddress.
<source-address> Local IP address sham-link use to establishlinks, only 32–bit loopback address is effective
<destination-address>
Remote IP address sham-link use to establishlinks, only 32–bit loopback address is effective
cost number Cost of costsham-link interfaces, default: costof loopback interfaces
36 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
Defaults There is no OSPF sham-link on VPN link without configuring thiscommand.
Instructions 1. Only if the following five conditions are simultaneously satisfiedcan Sham-link be up.
� Sham-link is configured.
� Source-address and destination-address IP address havethe corresponding interface.
� Destination-address has the corresponding bgp route.
� Make the configuration in the circumstances of the OSPFVRF instances.
� There is the redistribution of bgp in the circumstances ofthe OSPF VRF instances.
2. When to use sham-link:
� The VPN sites between two PEs are in the same OSPF area.
� The two VPN sites have backdoor link (private link) andthey are in the same area.
3. The Loopback interface address that the sham-link uses needsbinding the corresponding VRF.
4. The free switch between the VPN link and the backdoor link isrealized by changing the sham-link cost.
5. The area sham-link uses should be consistent with the area ofVPN site.
6. If the area does not exist, it will be created automatically.7. This command is supported after the platform version 4.6.03.8. Some changes of the loopback physical interface will take ef-
fect on the sham-link interface. Pay attention to the followingpoints:
i. Only some changes will take effect, as shown in the follow-ing table.
command taking effect or not
authentication Yes
authentication-key Yes
cost No
dead-interval Yes
hello-interval Yes
message-digest-key Yes
mtu-ignore Yes
network No
priority No
retransmit-interval Yes
transmit-delay Yes
Confidential and Proprietary Information of ZTE CORPORATION 37
ZXR10 8900 Series Command Reference (IP Routing Volume I)
command taking effect or not
bfd No
frr No
resync_timeout No
passive-interface No
ii. The changes only take effect on the sham-link interfacesthat are up.
iii. If the neighbor of sham-link is already up, the changes ofthe interface will take no effect on the sham-link neighborbecause the DC link will no more send or receive the hellopackets. The changes will take effect only when the nextlink is established.
Example This example configures a sham-link of area 1 on the router. Thelocal loopback interface address sham-link uses is 10.22.1.1. Theremote destination address is 10.22.1.2, and the specified cost is100.ZXR10(config)#router ospf 1ZXR10(config-router)#area 1 sham-link 10.22.1.1 10.22.1.2 cost 100
RelatedCommands
redistribute bgp-int
area stubPurpose Use this command to define an area as a stub area. Cancel the
configuration with the no form of this command.
Command Modes Router configuration
Syntax area <area-id> stub [no-summary][default-cost <cost>]
no area <area-id> stub [no-summary][default-cost]
SyntaxDescription
<area-id> Area identifier, a decimal value(0~4294967295) or a dotted decimalIP address
no-summary Forbid ABR from sending the summary routinginformation to this stub area
default-cost<cost> Cost for advertising default routes to this stubarea, scope: 0~65535
Defaults No stub area is defined.
For the stub area, the ABR can send the summary route informa-tion to the stub area by default, and the cost for advertising thedefault rout to the stub area is 1.
Instructions � This command is supported after the platform version 4.6.02.
38 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
� The area will be created automatically if it does not exist. It canspecify whether to forbid the ABR from sending the summarynetwork route information to the stub area. At the same time,the cost for advertising the default rout to the stub area canbe specified.
� The no area <area-id> stub no-summary command is usedto allow the ABR to send the summary route information to thestub area.
� The no area <area-id> stub default-cost is used to resetthe cost of advertising the default route to the stub area as thedefault 1.
� The no area <area-id> stub command is used to change thespecified area from stub to non-stub .
� If the area does not exist, it will be created automatically.
� Area 0, nssa area and the area with virtual links cannot beconfigured as the stub area.
Example This example configures area 1 as a stub area, forbids sending thesummary state advertisement to this area, sets the default costas 10 and then restores it to the default value.ZXR10(config)#router ospf 1ZXR10(config-router)#area 1 stub no-summary default-cost 10... ...ZXR10(config)#router ospf 1ZXR10(config-router)#no area 1 stub no-summaryZXR10(config-router)#no area 1 stub default-cost
area stub-hostPurpose Use this command to add the host route advertised by the local
router in some area. Cancel the setting with the no form of thiscommand.
Command Modes Router configuration
Syntax area <area-id> stub-host <ip-address> cost <cost>
no area <area-id> stub-host <ip-address>[cost <cost>]
SyntaxDescription
<area-id> Area identifier, a decimal value(0~4294967295) or a dotted decimalIP address.
<ip-address> Host IP address advertised by the stub host,in the form of dotted decimal
cost <cost> Cost for advertising the host route, scope:1~65535
Defaults There is no host route advertised by local router in the area.
Instructions � This command is supported after the platform version 4.6.02.
� The no area <area-id> stub-host <ip-address> commanddeletes the host route advertised by local router in an area.
Confidential and Proprietary Information of ZTE CORPORATION 39
ZXR10 8900 Series Command Reference (IP Routing Volume I)
� If the area does not exist, it will be created automatically.
Example This example configures the host route the router advertises as10.1.1.1 and the cost value as 10.ZXR10(config)#router ospf 1ZXR10(config-router)#area 1 stub-host 10.1.1.1 cost 10
area virtual-linkPurpose Use this command to define an OSPF virtual link. If the area does
not exist, it will be created automatically. Delete the specifiedvirtual link with the no form of this command.
Command Modes Router configuration
Syntax area <area-id> virtual-link <router-id>[hello-interval<seconds>][retransmit-interval <seconds>][transmit-delay<seconds>][dead-interval <seconds>][dead-delay <seconds>][authentication-key <key>][message-digest-key <keyid>md5 <cryptkey>[delay <time>]][authentication [null |message-digest]]
no area<area-id> virtual-link<router-id>[hello-interval<seconds>][retransmit-interval <seconds>][transmit-delay <seconds>][dead-interval <seconds>][dead-delay <seconds>][authentication-key <key>][message-digest-key <keyid>][authentication][null | message-digest]
SyntaxDescription
<area-id> Area identifier, a decimal value(0~4294967295) or a dotted decimalIP address
<router-id> ID of the peer router of the virtual link, in theform of dotted decimal IP address
hello-interval<seconds>
Time interval for sending Hello packets on thevirtual link, unit: second, range: 1~8192,default: 10 seconds
retransmit-interval<seconds>
Retransmit interval of the virtual link, unit:second, range: 1~8192, default: 5 seconds
transmit-delay<seconds>
Delay of transmitting a packet of the linkstate update on the virtual link, unit: second,range: 1~8192, default: 1 second
dead-interval<seconds>
Dead interval of neighbors on the virtual link,unit: second, range: 1~8192, default: 40seconds
dead-delay<seconds>
Dead delay of neighbors on the virtual link,unit: second, range: 1~8192, default: 40seconds
authentication-key<key>
Authentication key on the virtual link, 1~8characters
40 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
message-digest-key<keyid>
Serial number of md5 authentication key onthe virtual link, 1~255 (integer), at most 10keyids are allowed
md5 <cryptkey> Md5 authentication key on the virtual link,1~16 characters
delay <time> Delay of md5 authentication, unit: minute,range: 0~100000
authentication Authentication mode configured on the virtuallink
message-digest Type 2 authentication mode on the virtual link,namely the message digest authentication
null Type 0 authentication mode on the virtuallink, that is, no authentication
Defaults No virtual link is defined.
For a virtual link, there is no predefinition of the password and themessage-digest password.
Instructions � This command is supported after the platform version 4.6.02.
� Virtual links cannot be configured in a .0rea 0.
� It needs to configure the authentication mode in the area 0 tomake the the authentication on the virtual link act. And theparameters<key> and <cryptkey> cannot be null.
� The valid characters for the parameters <key> and <cryptkey> are as follows:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHI-JKLMNOPQRSTUVWXYZ`*-=~!@#$%^&()_+[]{}|;':,./<>\\
� If the area does not exist, it will be created automatically.
� No virtual link can be established in area 0, stub area and nssaarea.
� The parameter dead-delay has the different meaning for therestart side and the help side. On the restart side, this param-eter means exiting this nsf if there is still no neighbor of thevirtual link found after this period. On the possible help side,the configuration of this command shows that, if there are stillno Hello packets sent from the restart side after this period, itwill stop attempting to help this neighbor and set the state ofthe neighbor as DOWN.
Example This example configures a virtual link between two directly-con-nected routers in area 1. Their router-ids are 15.15.15.15 and16.16.16.16 respectively.ZXR10_01(config)#router ospf 1ZXR10_01(config-router)#area 1 virtual-link 15.15.15.15ZXR10_02(config)#router ospf 1ZXR10_02(config-router)#area 1 virtual-link 16.16.16.16
Confidential and Proprietary Information of ZTE CORPORATION 41
ZXR10 8900 Series Command Reference (IP Routing Volume I)
auto-costPurpose Use this command to modify the Reference Bandwidth of the OSPF
process. Restore default with the no command.
Command Modes Router configuration
Syntax auto-cost reference-bandwidth <ref-bw>
no auto-cost reference-bandwidth
SyntaxDescription
<ref-bw> Reference Bandwidth, unit: Mbps, range:1~4000000, default: 100 Mbps
Instructions � This command is supported after the platform version 4.6.02.
� If it shows that the interface of the OSPF process is not config-ured with the ip ospf cost command, the cost of the interfaceof the OSPF process will be the division of the interface band-width by the Reference Bandwidth. Otherwise, it will use thevalue configured by the ip ospf cost command on the inter-face.
� This command takes effect immediately after the configuration.
Example This example modifies the Reference Bandwidth to 10000M.ZXR10(config)#router ospf 1ZXR10(config-router)#auto-cost reference-bandwidth 10000
RelatedCommands
ip ospf cost
bfd-all-interfacePurpose Use this command to specify all OSPF interfaces as BFD-support-
ing interfaces. Cancel this configuration with the no form of thiscommand.
Command Modes Router configuration
Syntax bfd-all-interface
no bfd-all-interface
Instructions � This command is supported after the platform version 4.8.02.
� After the configuration of this command, all OSPF interfacessupport BFD, except virtual-link and sham-link interfaces.
Example In this example, all interfaces of OSPF instance 1 support BFD.ZXR10(config)#router ospf 1ZXR10(config-router)#bfd-all-interface
RelatedCommands
ip ospf bfd
ip ospf bfd disable
42 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
capability opaquePurpose Use this command to enable routes to support Opaque LSA. Dis-
able it with the no form of this command.
Command Modes Router configuration
Syntax capability opaque
no capability opaque
Defaults Opaque LSA is supported
Instructions � This command is supported after the platform version 4.6.02.
� In the process of the exchange of the link state database,opaque LSA included in the database summary list is trans-mitted to neighbor routers also supporting opaque LSA.
� When a router floods opaque LSA to neighbor routers, it firstlychecks whether the neighbor routers support opaque LSA.Opaque LSA is transmitted only to neighbor routers supportingthe function. More accurately speaking, the Opaque LSA isadded into the link state retransmit list of neighbor routers.When packets of link state update are multicast, the neighborrouters that do not support the function receive the advertise-ment passively and then simply discard it.
Example This example makes the router not support opaque LSA.ZXR10(config)#router ospf 1ZXR10(config-router)#no capability opaque
RelatedCommands
show ip ospf database opaque-area
show ip ospf database opaque-link
capability vrf-litePurpose Use this command to make routes disable the loop-avoiding of
the tag and down bits in a VRF instance. If this command is notconfigured, it means enabling the loop-avoiding .
Command Modes Router configuration
Syntax capability vrf-lite
no capability vrf-lite
Defaults Routing loop is prevented by default.
Instructions � This command is supported after the platform version 4.6.03.
� This command can be only configured in VRF instances.
� In the circumstance that the low 16 bits of tags are the samewith the AS number of local BGP or when the downbit is setfor Type 5 and Type 7 LSAs, and if the capability vrf-litecommand is not configured in the instance, the routes will notbe calculated. Otherwise, the routes will be calculated.
Confidential and Proprietary Information of ZTE CORPORATION 43
ZXR10 8900 Series Command Reference (IP Routing Volume I)
� For Type 3 LSA, if the downbit is set, and the capability vrf-lite command is not configured in the instance, the routes willnot be calculated. Otherwise, the routes will be calculated.
Example This example makes the router not support vrf-lite.ZXR10(config)#router ospf 1ZXR10(config-router)#no capability vrf-lite
clear ip ospf processPurpose Use this command to restart the OSPF process.
Command Modes Privileged EXEC
Syntax clear ip ospf process <process-id>
SyntaxDescription
<process-id> OSPF process ID, namely, the number of theOSPF instance configured, range: 1~65535
Instructions This command is supported after the platform version 4.6.02.
Example This example clears ospf process 1.ZXR10(config)#router ospf 1ZXR10(config-router)#endZXR10#clear ip ospf process 1
clear ip ospf redistributionPurpose Use this command to redistribute OSPF processes.
Command Modes Privileged EXEC
Syntax clear ip ospf redistribution <process-id>
SyntaxDescription
<process-id> OSPF process ID, namely, the number of theOSPF instance configured, range: 1~65535
Instructions This command is supported after the platform version 4.6.02.
Example This example clears the redistribution of the ospf process 1.ZXR10#clear ip ospf redistribution 1
compatible rfc1583Purpose Use this command to control the rule of selecting the best among
the multiple external LSAs to the same destination.
Command Modes Router configuration
44 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
Syntax compatible rfc1583
no compatible rfc1583
Defaults The rfc 1583 compatible rule is used.
Instructions � This command is supported after the platform version 4.6.02.
� To minimize the possibility of the loopback route , the value ofthis configuration will be the same for all routers in the OSPFdomain.
Example This example controls the rule of selecting the best among themultiple external LSAs to the same destination..ZXR10(config)#router ospf 1ZXR10(config-router)#compatible rfc1583
debugPurpose Use this command to open the debug information of some OSPF
process. Close the debug information with the no command.
Command Modes Router configuration
Syntax debug
no debug
Defaults This command is enabled by default.
Instructions � Since OSPF may have many processes, the opening of the de-bug information may cause mutual interference. And this com-mand can be used to solve the problem.
� If this configuration is not written into database, there will beno display after the show running-config command.
Example This example opens the debug information of ospf process 1.ZXR10(config)#router ospf 1ZXR10(config-router)#debug
default-metricPurpose Use this command to configure the default metric after the redis-
tribution. Restore default with the no form of this command.
Command Modes Router configuration
Syntax default-metric <metric-value>
no default-metric
SyntaxDescription
<metric-value> Default cost value of the system externalroutes, range: 1~4294967295
Defaults By default, the metric is 1 when the BGP route is redistributed,and 20 for other routes.
Confidential and Proprietary Information of ZTE CORPORATION 45
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Instructions � This command is supported after the platform version 4.6.02.
� The configured value of this command is effective only whenthe user does not set the cost value of external routes.
� The redistribution of BGP is not affected by this command. Onlyby way of the command redistribute can the metric value bemodified.
Example This example sets the default metric after the redistribution as 10.ZXR10(config)#router ospf 1ZXR10(config-router)#default-metric 10
disable areaPurpose Use this command to disable the specified area if it exists.
Command Modes Router configuration
Syntax disable area <area-id>
SyntaxDescription
<area-id> Area identifier, a decimal value(0~4294967295) or a dotted decimalIP address.
Instructions This command is supported after the platform version 4.6.02.
Example This example disables area 1.ZXR10(config)#router ospf 1ZXR10(config-router)#disable area 1
RelatedCommands
enable area
disable interfacePurpose Use this command to disable the interface in the specified range.
As for the already invalid interface, this command is ineffective.
Command Modes Router configuration
Syntax disable interface <ip-address><wildcard-mask>
SyntaxDescription
<ip-address> IP address, in the form of dotted decimal
<wildcard-mask> Wildcard mask, in the form of dotted decimal
Instructions This command is supported after the platform version 4.6.02.
Example This example disables the interface address of the network10.1.0.0/16.ZXR10(config)#router ospf 1ZXR10(config-router)#disable interface 10.1.0.0 0.0.255.255
46 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
RelatedCommands
enable interface
disable ip ospfPurpose Use this command to disable the OSPF protocol process if it is in
the effective state. Otherwise, the command does not act.
Command Modes Global configuration
Syntax disable ip ospf <process-id>
SyntaxDescription
<process-id> OSPF process ID, namely, the number of theOSPF instance configured, range: 1~65535
Defaults If the OSPF protocol has already been configured, it is enabled bydefault.
Instructions This command is supported after the platform version 4.6.02.
Example This example disables the OSPF protocol process.ZXR10(config)#router ospf 1... ...ZXR10(config)#disable ip ospf 1
RelatedCommands
enable ip ospf
distance ospfPurpose Use this command to define the OSPF route domination distance
based on the route type. Use the corresponding no form of thiscommand to restore the internal route distance, category 1 ex-ternal route distance or category 2 route distance to the defaultvalue.
Command Modes Router configuration
Syntax distance ospf {[internal <distance>][ext1 <distance>][ext2<distance>]}
no distance ospf {internal | ext1 | ext2}
SyntaxDescription
internal Internal route
ext1 Category 1 external routing
ext2 Category 2 external routing
<distance> Value of the distance, range: 1~255, default:110
Instructions � This command is supported after the platform version 4.6.02.
Confidential and Proprietary Information of ZTE CORPORATION 47
ZXR10 8900 Series Command Reference (IP Routing Volume I)
� When the route priority is 255, this command does not takeeffect.
Example This example sets internal the dominion distance as 100.ZXR10(config)#router ospf 1ZXR10(config-router)#distance ospf internal 100
distribute-listPurpose The in command of the distribute-list command is used to filter
the route of OSPF.
The out command of the distribute-list command is used to con-trol over outside route's leading into OSPF area after type 5 andtype 7 LSA are generated. It is a complement of the commandredistribute.
Command Modes Router configuration
Syntax distribute-list {<access-list-num>{in | out}| access-list <access-list-name>{in | out}| prefix <name of an IP prefix-list>{gateway <name of an IP prefix-list> in | out}| gateway <nameof an IP prefix-list> in | route-map <name of a route-map> in}
no distribute-list {<access-list-num>{in | out}| access-list<access-list-name>{in | out}| prefix <name of an IPprefix-list>{gateway <name of an IP prefix-list> in | out}|gateway <name of an IP prefix-list> in | route-map <name ofa route-map> in}
SyntaxDescription
<access-list-num> Numeric ACLthe range is <1~199>andextended range is <1000~1999>
<access-list-name> Name ACLthe first character shouldn’t benumber and must be the current acl
<name of an IPprefix-list>
Name of the template borrow from prefix-list
<name of aroute-map>
Name of the template borrow from route-map
in | out in represents that the specific template isused to route filtering; out represents thatthe specific template is used to supply forredistribution
Defaults If this command is not used, that is to say, no route filtering andexternalLSA leading control.
Instructions � gate-way and route-map is only used in in command
� acl, gate-way, route-map are permit when template doesnot exist, otherwise deny.
� The template denies all by default. If some routes are requiredto deny, then the parameter permit all should be added to per-mit other routes.
48 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
� When route-map used in in command, no set itemmatch itemonly take effects on route prefix, metric ,next hop and type 5and type 7 LSA’s tag.
� Take care when using in command to filter route. To OSPFroute conjunction, there are the following suggestions:
� It is better not to filter type 2 LSA corresponding route,otherwise it will lead to network topology uncompleted.
� When allowing type 3 route to enter, pay attention to en-sure that the corresponding ABR route exists.
� When allowing type 5 route to enter, pay attention to en-sure that the forwarding address route exists. Otherwise,set the corresponding route admission in the template con-figuration.
� The platform version 4.6.03 and upgrade versions support thiscommand.
Example This example describes how to set ACL template, deny 12.1.1.0OSPF route, and permit other routes.ZXR10(config)#acl standard name zxr10ZXR10(config-std-acl)#deny 12.1.1.0ZXR10(config-std-acl)#permit anyZXR10(config)#router ospf 1ZXR10(config-router)#distribute-list access-list zxr10 in
RelatedCommands
redistribute
filter
filter-list
domain-idPurpose Use this command to specify a domain ID for some router.
Command Modes Router configuration
Syntax domain-id <A.B.C.D>
SyntaxDescription
<A.B.C.D> ID in the form of dotted decimal, range:0~4294967295
Defaults If this command has not been configured, the ospf instance num-ber will be used as the domain-id.
Instructions � The function of this command is to set the VPN domain of ospfinstances. Instances of the same domain-id or the compatibledomain-id (The domain-id of one router is one of a domain-idof another router) are considered to be in the same domain.
� This command is supported after the platform version 4.6.03.
Example This example sets 0.0.0.100 as router's domain-id.ZXR10(config)#router ospf 1ZXR10(config-router)#distance ospf internal 100
Confidential and Proprietary Information of ZTE CORPORATION 49
ZXR10 8900 Series Command Reference (IP Routing Volume I)
RelatedCommands
router ospf x
domain-tagPurpose Use this command to specify OSPF domain tag.
Command Modes Router configuration
Syntax domain-tag <tag-value>
SyntaxDescription
<tag-value> Range of domain-tag: 1~4294967295
Instructions � This command is supported after the platform version 4.6.03.
� If the domain-tag command has been configured, when BGPis redistributed, the generated tag value of the external LSA isthe configured tag-value. When unnecessary route loop avoid-ing filtering appears, this command can be used to modify thetag value of one PE, and then there will be no route loop avoid-ing filtering on another PE.
Example This example designates 1200 as local domain-tag.ZXR10(config)#router ospf 1ZXR10(config-router)#domain-tag 1200
RelatedCommands
redistribute
enable areaPurpose Use this command to enable the specified area if it exists.
Command Modes Router configuration
Syntax enable area <area-id>
SyntaxDescription
<area-id> Area identifier, a decimal value(0~4294967295) or a dotted decimalIP address
Defaults If this area has been configured, it is enabled by default.
Instructions This command is supported after the platform version 4.6.02.
Example This example describes enables area 1.ZXR10(config)#router ospf 1ZXR10(config-router)#enable area 1
50 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
RelatedCommands
disable area
enable interfacePurpose Use this command to enable the disabled interfaces in the specified
range. It is ineffective for the enabled interfaces.
Command Modes Router configuration
Syntax enable interface <ip-address><wildcard-mask>
SyntaxDescription
<ip-address> IP address, in the form of dotted decimal
<wildcard-mask> Wildcard mask, in the form of dotted decimal
Defaults If this area has been configured, it is valid by default.
Instructions This command is supported after the platform version 4.6.02.
Example This example enables interface addresses of the network 10.1.0.0.ZXR10(config)#router ospf 1ZXR10(config-router)#enable interface 10.1.0.0 0.0.255.255
RelatedCommands
disable interface
enable ip ospfPurpose Use this command to enable the OSPF protocol if it is disabled.
Otherwise, the command is ineffective.
Command Modes Global configuration
Syntax enable ip ospf <process-id>
SyntaxDescription
<process-id> OSPF process ID, namely, the configuredOSPF instance number, range: 1~65535
Defaults If the OSPF protocol has been configured, it is enabled by default.
Instructions This command is supported after the platform version 4.6.02.
Example This example enables OSPF process 1.ZXR10(config)#enable ip ospf 1
Confidential and Proprietary Information of ZTE CORPORATION 51
ZXR10 8900 Series Command Reference (IP Routing Volume I)
RelatedCommands
disable ip ospf
fast-reroute alternate-protect-type
Purpose Use this command to set the route backup mode. Cancel the con-figuration with the no form of this command.
Command Modes Router configuration
Syntax fast-reroute alternate-protect-type {default | down-stream-path}
no fast-reroute alternate-protect-type
SyntaxDescription
default One route backup mode meeting the basic linkprotection type, that is, the distance betweenthe backup node and the source node plusthe distance between the source node andthe destination node must be smaller thanthe distance between the backup node andthe destination node
down-stream-path A route backup mode meeting a strictertype of Down-stream Path, that is, thedistance between the backup next hop andthe distance node must be smaller than thedistance between the source node and thedestination node
Instructions This command is supported after the platform version 4.8.20.
Example This example sets the route backup mode meeting the basic linkprotection type.ZXR10(config)#router ospf 1ZXR10(config-router)#fast-reroute alternate-protect-type default
filterPurpose Use this command to decide whether to introduce routes gener-
ated by external LSAs into the routing table and the introducingpriority. Delete the filter command configured with the no form ofthis command.
Command Modes Router configuration
Syntax filter [exact]<ip-address><net-mask><prefence>
no filter <ip-address><net-mask>
52 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
SyntaxDescription
exact Exact match
<ip-address><net-mask> Range for filtering route , in theform of dotted decimal. If there isno keyword exact, all routes in therange of <ip-address><net-mask>will be filtered. Otherwise, the routemust match <ip-address><net-mask>exactly
<prefence> Priority for introducing matched routes,range: 0~255
Defaults The routes generated by external LSAs are introduced into therouting table.
Instructions � This command is supported after the platform version 4.6.02.
� When the route priority is 255, this command does not takeeffect.
� This command does not add unmatched OSPF routes to theforwarding table at the routing layer, while the area filter-list command controls some LSA's generation at the databaselayer.
Example This example filters OSPF routes except 10.10.10.0/24 and set thepriority to 20.ZXR10(config)#router ospf 1ZXR10(config-router)#filter exact 10.10.10.0 255.255.255.0 20
grace-periodPurpose Use this command to configure the longest time that nsf running
needs. Restore the default value with the no form of this com-mand.
Command Modes Router configuration
Syntax grace-period <second>
no grace-period
SyntaxDescription
<second> Longest time of non-interruption forwarding ,unit: second, range: 120~1800
Defaults 120s
Instructions � This command is supported after the platform version 4.6.03B..
� It must make sure that nsf can accomplish successfully afterthe value of grace-period. Otherwise nsf will exit because oftimeout before it completes, and it can not meet the non-in-terruption need.
� It is suggested to prolong the time in the non-interruption for-warding environment configured with virtual link.
Confidential and Proprietary Information of ZTE CORPORATION 53
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Example This example sets the longest time of nsf to 300 seconds.ZXR10(config)#router ospf 1ZXR10(config-router)#grace-period 300
RelatedCommands
capability opaque
nsf
ip ospf authenticationPurpose Use this command to configure authentication mode for the inter-
face. Delete the configured interface authentication mode with theno form of this command.
Command Modes Interface configuration
Syntax ip ospf authentication [null | message-digest]
no ip ospf authentication
SyntaxDescription
message-digest Type 2 authentication, namely, the messagedigest authentication
null Type 0 authentication, namely, noauthentication
Defaults No authentication mode is specified on the interface. If there isauthentication in the area some interface lies in, the interface willinherit the authentication mode of the area.
Instructions � This command is supported after the platform version 4.6.02.
� If there is no parameter, the authentication mode of an inter-face this command configure will be simple password authen-tication mode (type 1 authentication).
� If both the area some interface lies in and the interface areconfigured with authentication, the authentication pivots thatof the interface.
Example This example sets message-digest as the authentication mode ofthe interface.XR10(config)#interface fei_5/1ZXR10(config-if)#ip ospf authentication message-digest
ip ospf authentication-keyPurpose Use this command to set a password for the interface with simple
password authentication. Delete the configured OSPF passwordwith the no command.
Command Modes Interface configuration
Syntax ip ospf authentication-key <password>
no ip ospf authentication-key
54 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
SyntaxDescription
<password> Authentication password, 1~8 characters (notincluding Space)
Defaults No password is specified.
Instructions � This command is supported after the platform version 4.6.02.
� The valid characters for the parameter <password> are as fol-lows:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHI-JKLMNOPQRSTUVWXYZ`*-=~!@#$%^&()_+[]{}|;':,./<>\\
Example This example sets zxr10 as the password of the interface with sim-ple password authentication.ZXR10(config)#interface fei_5/1ZXR10(config-if)#ip ospf authentication-key zxr10
ip ospf bfdPurpose Use this command to enable OSPF BFD function on some interface,
and it must be an OSPF interface. Cancel this setting with the noform of this command.
Command Modes Interface configuration
Syntax ip ospf bfd [disable]
no ip ospf bfd [disable]
Defaults Some OSPF interface does not support BFD.
Instructions � This command is supported after the platform version 4.8.01.
� The ip ospf bfd disable and ip ospf bfd commands cannotbe configured at the same time, because they are mutuallyexclusive. So when you configure one of the two commands,if the other one has been configured yet, you must cancel theother one with the no command.
� The command ip ospf bfd disable is the supplement of thecommand bfd-all-interface. On the premise of bfd-all-interface, use ip ospf bfd disable command to make somespecified interface not support BFD function.
Example This example specifies an interface to support BFD function.ZXR10(config)#interface fei_5/1ZXR10(config-if)#ip ospf bfd
RelatedCommands
bfd-all-interface
ip ospf costPurpose Use this command to illustrate the interface cost explicitly. Restore
default with the no form of this command.
Confidential and Proprietary Information of ZTE CORPORATION 55
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Command Modes Interface configuration
Syntax ip ospf cost <cost>
no ip ospf cost
SyntaxDescription <cost> Interface cost, range: 1~65535, default: 1
Defaults The cost value uses the value of reference-bandwidth by default.It will be set to 1 if it is less than 1.
Instructions � This command is supported after the platform version 4.6.02.
� If ip ospf cost has been configured on an interface, the auto-costreference-bandwidth command will not act. To enablethe auto-cost reference-bandwidth command to act, thecost value configured by the ip ospf cost command previouslymust be deleted first.
Example This example configures the interface cost to 10 explicitly.ZXR10(config)#interface fei_5/1ZXR10(config-if)#ip ospf cost 10
RelatedCommands
auto-cost reference-bandwidth
ip ospf dead-intervalPurpose Use this command to specify the death interval of the neighbor on
the interface. Restore default with the no form of this command.
Command Modes Interface configuration
Syntax ip ospf dead-interval <seconds>
no ip ospf dead-interval
SyntaxDescription
<seconds> Dead interval of neighbors on the interface,unit: second, range: 1~65535, default: 40seconds (4 times of the default hello-interval)
Instructions � This command is supported after the platform version 4.6.02.
� The dead-interval is generally set to 4 times of the hello-inter-val.
Example This example specifies the dead interval for neighbors on an inter-face as 80 seconds.ZXR10(config)#interface fei_5/1ZXR10(config-if)#ip ospf dead-interval 80
56 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
RelatedCommands
ip ospf hello-interval
ip ospf fast-reroutePurpose Use this command to back up OSPF routes of egress interface.
Cancel the settings with the no form of this command.
Command Modes Interface configuration
Syntax ip ospf fast-reroute [backup-interface <interface-name>]
no ip ospf fast-reroute
SyntaxDescription
<interface-name> Interface name
backup-interface Backup of OSPF routes on an egress interfaceof some primary router
Defaults The fast-reroute function is not supported on the interface.
Instructions This command is supported after the platform version 4.8.20.
Example This example cancels the OSPF backup function on interfacefei_1/1 and makes interface fei_1/2 execute it.ZXR10(config)#interface fei_1/1ZXR10(config-if)#no ip ospf fast-rerouteXR10(config)#interface fei_1/1ZXR10(config-if)#ip ospf fast-reroute backup-interface fei_1/2
ip ospf hello-intervalPurpose Use this command to specify the time interval for an interface to
send the HELLO packets. Restore default with the no form of thiscommand.
Command Modes Interface configuration
Syntax ip ospf hello-interval <seconds>
no ip ospf hello-interval
SyntaxDescription
<seconds> Time interval for sending Hello packets,unit: second, range: 1~65535, default: 10seconds (1/4 of the default dead-interval)
Instructions � This command is supported after the platform version 4.6.02.
� The hello-interval is generally set to 1/4 of the dead-interval.
Example This example specifies the time interval of the neighbor on theinterface to 20 seconds.ZXR10(config)#interface fei_5/1
Confidential and Proprietary Information of ZTE CORPORATION 57
ZXR10 8900 Series Command Reference (IP Routing Volume I)
ZXR10(config-if)#ip ospf hello-interval 20
RelatedCommands
ip ospf dead-interval <seconds>
ip ospf message-digest-keyPurpose Use this command to configure password serial number pair for the
interface using message digest authentication. Delete the config-ured OSPF password with the no form of this command.
Command Modes Interface configuration
Syntax ip ospf message-digest-key <keyid> md5 <password>[delay<time>] encypt
no ip ospf message-digest-key <keyid>
SyntaxDescription
<keyid> Password serial number, integer, range:1~255
md5 <password> Authentication password, 1~16 characters(not including Space)
delay <time> Delay, unit: minute, range: 0~100000
encypt Encrypt the set password
Defaults No password is specified.
Instructions � This command is supported after the platform version 4.6.03.
� If there are optional parameters, the password serial numberpair will not be used temporarily during the period of <time> tosend protocol packets. But protocol packets can be received.
� The valid characters for the parameter <password> are as fol-lows:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHI-JKLMNOPQRSTUVWXYZ`*-=~!@#$%^&()_+[]{}|;':,./<>\\
Example This example sets the password serial number pair as 2 and thepassword as zxr10 on the interface using message digest authen-tication.ZXR10(config)#interface fei_5/1ZXR10(config-if)#ip ospf message-digest-key 2 md5 zxr10
ip ospf mtu-ignorePurpose Use this command to ignore the check of MTU on the interface
when DD packets are exchanged. Restore default with the noform of this command.
Command Modes Interface configuration
58 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
Syntax ip ospf mtu-ignore
no ip ospf mtu-ignore
Defaults MTU is checked when DD packets are exchanged.
Instructions � The platform version 4.6.02 and upgrade versions support thiscommand.
� The check of MTU mainly examines whether the value in theMTU field of the DD packet is less than or equal to the MRU oflocal interface. If it is more than the MRU of local interface,the DD message will be discarded. If it is sure that there is notany problem of MTU's configuration when packets are receivedor sent, this command can be used to ignore the check.
Example This example configures the interface to ignore the check of MTUwhen DD packets are exchanged.ZXR10(config)#interface fei_5/1ZXR10(config-if)#ip ospf mtu-ignore
ip ospf networkPurpose Use this command to configure the interface type. Restore the
network type of the interface with the no form of this command.
Command Modes Interface configuration
Syntax ip ospf network {broadcast | non-broadcast | point-to-point| point-to-multipoint [non-broadcast]}
no ip ospf network [broadcast | non-broadcast | point-to-point | point-to-multipoint [non-broadcast]]
SyntaxDescription
broadcast Broadcast type
point-to-point Point-to-point type
non-broadcast Non-broadcast type (it needs to work with theneighbor command)
point-to-multipoint Point-to-multipoint type
point-to-multipoint[non-broadcast]
Point-to-multipoint non-broadcast type (itneeds to work with the neighbor command)
Defaults It depends on the network type; the point-to-multipoint typeneeds configuring.
Instructions This command is supported after the platform version 4.6.02.
Example This example configures the interface pos48_5/1 as the point-to-point interface type.ZXR10(config)#interface pos48_5/1ZXR10(config-if)#ip ospf network point-to-point
Confidential and Proprietary Information of ZTE CORPORATION 59
ZXR10 8900 Series Command Reference (IP Routing Volume I)
ip ospf priorityPurpose Use this command to set the interface priority. Make the interface
restore default with the no form of this command.
Command Modes Interface configuration
Syntax ip ospf priority <priority>
no ip ospf priority
SyntaxDescription
<priority> Interface priority, range: 0~255, default: 1
Instructions � This command is supported after the platform version 4.6.02.
� The router cannot be DR or BDR when the interface priority is0.
Example This example describes sets the interface priority as 10.ZXR10(config)#interface fei_5/1ZXR10(config-if)#ip ospf priority 10
ip ospf resync-timerPurpose Use this command to set the dead delay time on the GR (Graceful
Restart) restarter. Cancel the configuration with the no form ofthis command.
Command Modes Interface configuration
Syntax ip ospf resync-timer < seconds >
no ip ospf resync-timer
SyntaxDescription
<seconds> When an Active/Standby Changeover takesplace, the GR helper sets this time toguarantee the link against break, unit:second, range: 1~1800, default: 0
Instructions � This command is supported after the platform version 4.6.03.
� After this command is configured on some interface, if thedead-interval the GR restarter and the GR helper appoints ex-pires, the restarter will waits for a time set by the resync-timeragain to guarantee GR can accomplish in certain time. This iscomparatively applicable for the rack with lower behavior.
Example This example sets the corresponding waiting time of GR as 120seconds.ZXR10(config)#interface fei_5/1ZXR10(config-if)#ip ospf resync-timer 120
60 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
RelatedCommands
nsf
ip ospf retransmit-intervalPurpose Use this command to specify the time interval for some interface to
retransmit LSA. Restore default with the no form of this command.
Command Modes Interface configuration
Syntax ip ospf retransmit-interval <seconds>
no ip ospf retransmit-interval
SyntaxDescription
<seconds> Time interval for some interface to retransmitLSA, unit: second, range: 1~65535, default:5 seconds
Instructions This command is supported after the platform version 4.6.02.
Example This example sets the time interval for the interface to retransmitLSA as 10 seconds.ZXR10(config)#interface fei_5/1ZXR10(config-if)#ip ospf retransmit-interval 10
ip ospf transmit-delayPurpose Use this command to specify the delay for some interface to trans-
mit a link status update packet. Restore default with the no formof this command.
Command Modes Interface configuration
Syntax ip ospf transmit-delay <seconds>
no ip ospf transmit-delay
SyntaxDescription
<seconds> Delay for some interface to transmit a linkstatus update packet, unit: second, range:1~65535, default: 1 second
Instructions This command is supported after the platform version 4.6.02.
Example This example sets the delay for some interface to transmit a linkstatus update packet as 2 seconds.ZXR10(config)#interface fei_5/1ZXR10(config-if)#ip ospf retransmit-delay 2
Confidential and Proprietary Information of ZTE CORPORATION 61
ZXR10 8900 Series Command Reference (IP Routing Volume I)
maximum-pathsPurpose Use this command to set the maximum number of routes the load
balance of OSPF protocol supports. Restore default with the noform of this command.
Command Modes Router configuration
Syntax maximum-paths <number>
no maximum-paths [<number>]
SyntaxDescription
<number> Maximum number of routes the load balanceof OSPF protocol supports, range: 1~8,default: 1
Instructions � This command is supported after the platform version 4.6.02.
� Once a router has a complete link status database, it is readyto create its routing table for forwarding data stream. Thedefault overhead metric is based on the bandwidth of networkmedium. To calculate the minimum overhead arriving at thedestination, at most 8 route entries of overhead are saved inthe routing table for load balance. This can be configured bythe maximum-paths command.
� The router generally selects the path with the minimum metricvalue. If multiple paths with the same maximum metric val-ues appear at the same time, load balance will be enabled onthese paths. The maximum-paths command can be used tosupport at most eight paths with the same metric value.
� This command takes effect immediately after the configuration,and it is in time-sharing processing mode. There is no need tomanually interfere, but is needs to wait for a certain time.
Example This example sets the maximum number of routes load balance ofOSPF protocol supports as 4.ZXR10(config)#router ospf 1ZXR10(config-router)#maximum-paths 4
max-metric router-lsaPurpose This command is configured on PE routers. Use this command to
specify a wait time after the restart to prevent black hole of routes.Cancel this configuration with the no form of this command.
Command Modes Router configuration
Syntax max-metric router-lsa [on-startup wait-for-bgp][on-startup <seconds>]
no max-metric router-lsa [on-startup wait-for-bgp][on-startup <seconds>]
62 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
SyntaxDescription
<seconds> Time for continually preventing black hole ofroutes after restart, range: 5~86400
Defaults There is no function of preventing black hole of routes.
Instructions � This command is supported after the platform version 4.8.01.
� If this command takes effect, the transit-link of local router-lsawill be set as 65535.
� If the option on-startup is configured, it will take effect onlyafter the restart of rack or OSPF.
� The configuration of on-startup wait-for-bgp shows that, if60 seconds after BGP's converge or the default wait time (600seconds) expires, LSA will restore normalness and no more beset as 65535.
� The configuration of on-startup <5~86400> shows that, LSArestores normalness and is no more set as 65535 after theexpiration of the wait time.
Example This example specifies the wait time after the restart to preventblack hole of routes as 50 seconds.ZXR10(config)#router ospf 1ZXR10(config-router)#max-metric router-lsa on-startup 50
mpls traffic-eng areaPurpose Use this command to enable the equipment to support the gener-
ation of its own TE information and flood it to the specified area.
Command Modes Router configuration
Syntax mpls traffic-eng area <area-id>
no mpls traffic-eng area <area-id>
SyntaxDescription
<area-id> Area identifier, a decimal value(0~4294967295) or a dotted decimalIP address
Defaults This command is not supported.
Instructions � This command is supported after the platform version 4.6.02.
� If it is necessary to support traffic engineering in some area,this command must be configured.
Example This example sets OSPF area 1 to support traffic engineering.ZXR10(config)#router ospf 1ZXR10(config-router)#mpls traffic-eng area 1
Confidential and Proprietary Information of ZTE CORPORATION 63
ZXR10 8900 Series Command Reference (IP Routing Volume I)
mpls traffic-eng router-idPurpose Use this command to specify the router identifier of traffic engi-
neering .
Command Modes Router configuration
Syntax mpls traffic-eng router-id <interface-name>
no mpls traffic-eng router-id [<interface-name>]
SyntaxDescription
<interface-name> Interface name
Defaults This command is not supported.
Instructions � This command is supported after the platform version 4.6.02.
� In MPLS TE, it is required that each router be allocated with atraffic engineering identifier and the tunnel destination be setas the identifier of some traffic engineering router.
� If some router needs to support traffic engineering, this com-mandmust be configured. It is recommended that the parame-ter use a loopback interface with an address configured. If thisinterface does not exist, it will cause a failure of configuration.And if there is no address of this interface, the configurationwill not take effect.
� This router-id is irrelevant to the router-id of the router. It isrecommended that they be set as the same.
Example This example sets the OSPF traffic engineering router identifier asthe IP address of loopback1.ZXR10(config)#router ospf 1ZXR10(config-router)#mpls traffic-eng router-id loopback1
neighborPurpose Use this command to configure the neighbor router of the non-
broadcast network. All the interfaces need traversing. If the IPaddress of the neighbor and that of the interface are in the samenetwork, the neighbor will be linked up to the interface.
Command Modes Router configuration
Syntax neighbor <ip-address>[cost <cost>][priority <priority>][poll-interval <seconds>]
no neighbor <ip-address>[cost <cost>][priority <priority>][poll-interval <seconds>]
SyntaxDescription
<ip-address> IP address of the neighbor, in the form ofdotted decimal
cost <cost> Cost of the arrival at the neighbor, invalid forNBMA neighbors, range: 1~65535
64 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
priority <priority> Priority of the neighbor, invalid for thepoint-to-multipoint neighbor, range: 0~255
poll-interval<seconds>
Polling interval of the neighbor, invalid forthe point-to-multipoint neighbor, range:120~65535
Defaults There is no definition of the neighbor router.
The default cost of the point-to-multipoint neighbor is automati-cally calculated; the default priority of NBMA neighbor is 1; thedefault polling interval of NBMA neighbor is 120.
Instructions � This command is supported after the platform version 4.6.02.
� The configuration of this command is only applicable to thepoint-to-multipoint and NBMA networks.
� The no neighbor <ip-address> cost command restores thecost of the arrival at the neighbor to the default value.
� The no neighbor <ip-address> priority command restoresthe priority of the neighbor to the default value.
� The no neighbor <ip-address> poll-interval command re-stores the polling interval of the neighbor to the default value.
� The no neighbor <ip-address> command is used to delete aspecified neighbor. Similar to the command of configuring aneighbor, this command also needs to traverse all the inter-faces , find the interface of the neighbor and delete the neigh-bor from it.
� If there is no configuration of the command neighbor A.B.C.Dcost, the command ip ospf cost x or the default value willbe used. Even if the command neighbor A.B.C.D cost hasalready been configured, the interface which has built links isalso configured with the command ip ospf cost x, and theprevious command acts.
� Neighbor priority designates the priority of some neighbor, andit is used to elect DR and BDR in the early stage. If the priorityof this neighbor is 0, it will not take part in the election ofDR and BDR. After the real building of links, the advertisedpriority value of the neighbor's hello packers will prevail. Itis recommended that this value be configured with the samevalue as that of the actual neighbor.
Example In this example, the router has an interface address of 10.1.1.0network and the neighbor router of non-broadcast network is con-figured.ZXR10(config)#router ospf 1ZXR10(config-router)#neighbor 10.1.1.3
networkPurpose Use this command to define interfaces running OSPF protocol and
area IDs of these interfaces. If the area does not exist, it will becreated automatically.
Confidential and Proprietary Information of ZTE CORPORATION 65
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Command Modes Router configuration
Syntax network <ip-address><wildcard-mask> area <area-id>
no network <ip-address><wildcard-mask> area <area-id>
SyntaxDescription
<ip-address> IP address in the form of dotted decimal
<wildcard-mask> Wildcard mask in the form of dotted decimal
<area-id> Area identifier, a decimal value(0~4294967295) or a dotted decimalIP address
Defaults The network to be configured does not belong to any area.
Instructions 1. This command is supported after the platform version 4.6.02.2. Define interfaces running OSPF protocol and area IDs of these
interfaces. If the area does not exist, it will be created auto-matically.
3. If the interface IP address and the value of <ip-address> cor-responding to the 0 bits of <wildcard-mask> are equal, thiscommand will be called to be valid for this interface IP address.
If multiple network commands are valid for the same interfaceIP address, the OSPF interface corresponding to the interfaceIP address will be created and appended to the area specifiedby the network command with the minimum <wildcard-mask>.
If there is network command valid for the interface newly con-figured with IP address, the OSPF interface corresponding tothis interface IP address will be automatically created, and itwill be added to the area specified by the network commandwith the minimum <wildcard-mask> valid for the interface IPaddress.
If the interface IP address is deleted, the OSPF interface willbe automatically deleted.
4. The no command is just the reverse operation of the configurednetwork command. If the corresponding network commanddoes not exist, the no command will be invalid.
If there is corresponding network valid for ospf interfaces ofan ospf area, these OSPF interfaces will be removed from thisarea.
If there is still other network command valid for the IP addressof OSPF interfaces, these ospf interfaces will be appended tothe OSPF area specified by this network command.
If multiple network commands are valid for the same inter-face, the interface will be added to the OSPF area specified bythe network command with the minimum <wildcard-mask>
If there is no network command valid for the interface, theOSPF interface will be deleted.
Example This example sets the interface 10.10.1.1 as an OSPF interfaceand places it in area 0.ZXR10(config)#interface fei_5/1ZXR10(config-if)#ip address 10.10.1.1 255.255.255.0ZXR10(config-if)#exitZXR10(config)#router ospf 1
66 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
ZXR10(config-router)#network 10.10.1.0 0.0.0.255 area 0
no areaPurpose Use this command to delete the specified area.
Command Modes Router configuration
Syntax no area <area-id>
SyntaxDescription
<area-id> Area identifier, a decimal value(0~4294967295) or a dotted decimalIP address
Instructions � This command is supported after the platform version 4.6.02.
� If there is any configured network command related to thisarea in the configuration database, the network command willbe deleted simultaneously . If the specified area does not exist,this command will be invalid.
� If the area is configured with virtual link, the command failsand returns.
Example In this example, area 1 is deleted.ZXR10(config)#router ospf 1ZXR10(config-router)#no area 1
RelatedCommands
disable area
enable area
notify default routePurpose When local router obtains a default route 0/0 through the other
protocol or the mode of configuration of a static route, this defaultroute needs advertising. If there is no default route, the specificreachable route is advertised in the normal mode. The router be-comes an ASBR after the use of this command.
Command Modes Router configuration
Syntax notify default route [always][metric <metric-value>][metric-type <type>][route-map <map-tag>]
no notify default route [always][metric <metric-value>][metric-type <type>][route-map <map-tag>]
Confidential and Proprietary Information of ZTE CORPORATION 67
ZXR10 8900 Series Command Reference (IP Routing Volume I)
SyntaxDescription
always The specification of always shows that thedefault route will be advertised no matterwhether it exists. If there is no specificationof always, the advertisement of the defaultroute depends on whether the default routeexists in the routing table. If the default routeexists, it will be advertised, vise versa
metric <metric-value>
Metric of the default route, range:0~16777214,default: 1
metric-type <type> Type of the default route, ext-1 or ext-2,default: ext-2
route-map<map-tag>
Name of the route map generating the defaultroute, 1~16 characters
Defaults There is no default route obtained from other route protocol orstatic configuration.
Instructions This command is supported after the platform version 4.6.02.
Example No matter whether local router has default routes or not, there willan advertisement of a default route. The cost of the default routeis 20. The type of the default route is ext-1. The used route-mapis map.ZXR10(config)#router ospf 1ZXR10(config-router)#notify default route always metric 20metric-type ext-1 route-map map
nsfPurpose Use this command to configure the function of Non-stop Forward-
ing.The use of the no form of this command indicates that thefunction is not supported.
Command Modes Router configuration
Syntax nsf
no nsf
Defaults There is no function of Non-stop Forwarding.
Instructions � This command is supported after the platform version 4.6.03B.
Tip:
Make sure that the running OSPF cases support Opaque LSA beforethe use of this command.
Example In this example, local device has the function of non-stop forward-ing.ZXR10(config)#router ospf 1ZXR10(config-router)#nsf
68 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
RelatedCommands
capability opaque
grace-period <num>
passive-interfacePurpose Use this command to configure an interface as a passive interface.
After that, the interface cannot send Hello packets, receive anypacket or establish adjacent relationship with other routers.
Command Modes Router configuration
Syntax passive-interface {default |<interface-name>}
SyntaxDescription
default All the interfaces are configured as passiveinterfaces
<interface-name> Interface name
Defaults All the interfaces are ordinary interfaces that can receive/sendOSPF packets and establish neighbor .
Instructions � This command is supported after the platform version 4.6.02.
� The use of passive-interface default command indicatesthat all the interfaces are configured as passive interfaces bydefault.
� If there has been an no passive-interface command, a con-figuration of the passive-interface command means the can-cellation of this no passive-interface command. If there hasbeen an passive-interface command, a configuration of thepassive-interface command means this command will be stillvalid. If there is not any pervious command, a configuration ofthe passive-interface means this command will take effect.
� If there has been a previous passive-interface command, aconfiguration of the no passive-interface command meansthe cancellation of this passive-interface command. If therehas been a previous no passive-interface command, a con-figuration of the no passive-interface command means thiscommand will still be valid.
Example This example configures the interface fei_1/1 as a passive inter-face.ZXR10(config)#router ospf 1ZXR10(config-router)#passive-interface fei_1/1
redistributePurpose Use this command to control the import of eligible routes of other
protocol into OSPF autonomous system. After the use of this com-mand, the router becomes an ASBR.
Command Modes Router configuration
Confidential and Proprietary Information of ZTE CORPORATION 69
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Syntax redistribute <protocol>[as <as-number>][peer <peer-address>][tag<tag-value>][metric<metric-value>][metric-type<type>][route-map <map-tag>
no redistribute <protocol>[as <as-number>][peer <peer-address>][tag][metric][metric-type][route-map]
SyntaxDescription
<protocol> Filtering based on protocol, value: connected,static, RIP, BGP-ext, BGP-int, ISIS-1,ISIS-1-2, and ISIS-2
as <as-number> If the protocol is BGP-ext, there can be twoadditional conditions: <as-number> and<peer-address>. <as-number> is the ASnumber of the peer, rang: 1~65535
peer <peer-address> If the protocol is BGP-ext, there can be twoadditional conditions: <as-number> and<peer-address>. <peer-address> is the IPaddress of the peer
tag <tag-value> Tag of lsa after redistribution, range:0~4294967295
metric <metric-value>
Metric of LSA after redistribution. range:0~16777214, default: the default metric ofthe system
metric-type <type> Metric-type of LSA after redistribution, value:ext-1 or ext-2, default: ext-2
route-map<map-tag>
Name of the route map for redistributed bythe current protocol, 1~16 characters
Defaults Routes of other protocol are not imported into the OSPF au-tonomous system.
By default, the metric is 1 when the BGP route is redistributed.And the metric is 20 for other routes.
Instructions 1. This command is supported after the platform version 4.6.02.2. The no redistribute <protocol> command removes the redis-
tribution of routes of this protocol.3. The no redistribute <protocol> tag command restores the
default value of TAG of type 5 LSA redistributed by routes ofthis protocol.
4. The no redistribute <protocol> metric command restoresthe default value of the metric of the type 5 LSA redistributedby routes of this protocol.
5. The no redistribute <protocol> metric-type command re-stores the default value of the metric-type of the type 5 LSAredistributed by routes of this protocol.
6. The no redistribute <protocol> route-map command can-cels the control over the route map of the redistribution ofroutes of this protocol.
7. During the process of the redistribution of isis, if there hasalready been a redistribution of isis-1–2, then the redistributionof isis-1 or isis-2 will take no effect. It is not recommended touse the command redistribute isis-1–2 unless all the optionvalues of isis-1 and isis-2 after the redistribution are the same.
8. If there has already been a redistribution of isis-1 or isis-2 be-fore the redistribution of isis-1–2, the previous redistribution
70 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
of isis-1 or isis-2 will no more take effect and a new redistri-bution will take place according to isis-1–2.
9. The redistribute bgp command may generate type 3 LSAwhich will set the down bit. The policy control of redistributeroute-map over the type 3 LSA redistribute BGP generateswill not take effect. The filtering needs to use the area xfilter-list out command.
Example This example redistributes BGP internal routes, sets the tag valueof route entries after redistribution as 1, sets the route-map asmap, and cancels the route map control during the process of re-distribution.ZXR10(config)#router ospf 1ZXR10(config-router)#redistribute bgp-int tag 1 route-map map... ...ZXR10(config-router)#no redistribute bgp-int route-map map
router ospfPurpose Use this command to start the OSPF protocol if it is not started,
and then enter the OSPF protocol configuration mode. Cancel theOSPF protocol process with the specified process number with theno command.
Command Modes Global configuration
Syntax router ospf <process-id>[vrf <vrf-name>]
no router ospf <process-id>
SyntaxDescription
<process-id> OSPF process ID, range: 1~65535
vrf <vrf-name> VRF name, 1~16 characters
Defaults OSPF protocol is not started.
Instructions � This command is supported after the platform version 4.6.02.
� If OSPF protocol has already been started but it is invalid,there will be a system prompt Please enable the OSPF instance first and the device will return to the global configurationmode. If OSPF protocol is started and it is valid, the device willdirectly enter the OSPF protocol configuration mode.
� The global OSPF and that of each VRF use different processnumbers.
Tip:
When the OSPF is started, it is required to distribute the router-idfrom local IP addresses. If there is no local address, the start willfail.
Example This example configures a OSPF process with the process ID 2 andthe VRF name vpn1.ZXR10(config)#router ospf 2 vrf vpn1
Confidential and Proprietary Information of ZTE CORPORATION 71
ZXR10 8900 Series Command Reference (IP Routing Volume I)
router-idPurpose Use this command to specify the router identifier of an OSPF
process. Delete the specified router identifier with the no form ofthis command.
Command Modes Router configuration
Syntax router-id <ip-address>
no router-id
SyntaxDescription
<ip-address> OSPF router identifier, in the form of IPaddress
Defaults An OSPF process uses the OSPF router identifier selected automat-ically.
Instructions � This command is supported after the platform version 4.6.02.
� The configuration of this command makes the OSPF processuse the OSPF router identifier in the form of a specified IP ad-dress. The no command of this command makes the OSPFprocess use the OSPF router ID selected automatically.
� This configuration takes effect after the restart of the router orthe manual restart of the OSPF process. The OSPF is manuallyrestarted with the clear ip ospf process command.
Example This example configures the router-id of local router as 5.5.5.5.ZXR10(config)#router ospf 1ZXR10(config-router)#router-id 5.5.5.5ZXR10(config-router)#endZXR10#clear ip ospf process 1
show ip ospfPurpose Use this command to show the summary information of OSPF pro-
tocol and that of each OSPF area.
Command Modes All modes
Syntax show ip ospf [<process-id>]
SyntaxDescription
<process-id> OSPF process ID, range: 1~65535
Instructions This command is supported after the platform version 4.6.02.
Example Examples of the displaying information (the data below is for ref-erence only) :
� If the OSPF protocol has not yet been started, there will be thefollowing information of system prompt.
ZXR10#show ip ospfThere is no OSPF instance
72 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
� If the OSPF protocol has already been started, the displayedinformation is as follows:
ZXR10#show ip ospfOSPF Router ID 200.1.1.1 enable/disableNumber of areas 2. Normal 2, Stub 0, Transit 1Number of interfaces 5Number of neighbors 5Number of virtual links 8Total number of entries in LSDB 20Number of ASEs in LSDB 10. Checksum Sum 0x0Number of new LSAs received 10Number of self originated LSAs 10
Area 0.0.0.1 enable/disable//It is a stub area/It is a stub area, no summary LSA//Metric for default route 5Area has no authentication/Area has simple password authenticationTimes spf has been run 5Number of interfaces 1. Up 1Number of ASBR local to this area 2Number of ABR local to this area 2Total number of intra/inter entries in LSDB 20. Checksum Sum 0x0Area ranges count 2100.1.1.0 255.255.255.0110.1.1.0 255.255.255.0
The displayed information is described below.
Field Description
OSPF Router ID Router ID of OSPF protocol
enable/disable Status of the current OSPF process(enabled or disabled)
Number of areas Number of OSPF areas
Normal Number of non-stub areas
Stub Number of stub areas
Transit Number of transmission areas
Number of interfacesNumber
Number of OSPF interfaces
Number of neighbors Number of OSPF neighbors
Number of virtual links Number of OSPF virtual links
Total number of entries inLSDB
Total number of LSAs
Number of ASEs in LSDB Total number of ASE LSAs
Number of grace LSAs Total number of grace LSAs
Checksum Sum Sum of checksums of ASE LSAs
Number of new LSAsreceived
Number of new LSAs received
Number of self originatedLSAs
Number of LSA local router generates
Confidential and Proprietary Information of ZTE CORPORATION 73
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Field Description
Hold time betweenconsecutive SPF
Time interval of SPF dispatch
Non-stop Forwarding Whether with the ability of nsf or not
last NSF restart ago Time from last nsf to now
Area OSPF area identifier
Enable/disable Area status (enabled or disabled)
It is a stub area (Effective in the stub area) ABR can sendthe summary route information to thestub area
It is a stub area, nosummary LSA
(Effective in the stub area) ABR cannotsend summary route information to thestub area
Metric for default route (Effective in the stub area) Cost of thedefault route advertised to the stub area
Area has no authentication No authentication in the area
area has simple passwordauthentication
Simple password authentication is usedin the area
Times spf has been run Running times of the SPF algorithm
Number of interfaces Number of the OSPF interfaces in the area
Up Number of OSPF interfaces of the areain the Up status
Number of ASBR local tothis area
Number of ASBRs in the area
Number of ABR local tothis area
Number of ABRs in the area
Total number of intra/interentries in LSDB
Number of LSAs in and between areas
Checksum Sum Sum of the checksums of LSAs betweenand in areas
Area ranges count Number of ranges of configured summaryaddress in the area
100.1.1.0 255.255.255.0 IP addresses and masks of each summaryaddress range are listed in order
show ip ospf border-lfasPurpose Use this command to show routes of the backup router of the pri-
mary router.
Command Modes All modes
74 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
Syntax show ip ospf border-lfas [process <process-id>]
SyntaxDescription process <process-
id>OSPF process ID, 1~65535
Instructions This command is supported after the platform version 4.8.20.
Example This example displays the information of OSPF process 1.ZXR10(config)#show ip ospf border-lfas process 1
show ip ospf border-routersPurpose Use this command to show internal OSPF route to Area Border
Router (ABR) and Autonomous System Border Router (ASBR).
Command Modes All modes
Syntax show ip ospf border-routers [process <process-id>]
SyntaxDescription process <process-
id>OSPF process ID, range: 1~65535
Instructions This command is supported after the platform version 4.6.02.
Example This example displays the information of OSPF process 1.ZXR10#show ip ospf border-routers process 1
OSPF Router with ID (10.10.2.2) (Process ID 1)OSPF internal Routing TableDestination Next Hop Cost Type RteType Area160.89.97.53 144.144.1.53 10 ABR INTRA 0.0.0.3160.89.103.51 160.89.96.51 10 ABR INTRA 0.0.0.3160.89.103.52 160.89.96.51 20 ASBR INTER 0.0.0.3160.89.103.52 144.144.1.53 30 ASBR INTER 0.0.0.3
The displayed information is described below
Field Description
Destination Router ID of the receiving end
Next Hop Next-hop to the receiving end
Cost Path cost
Type Router type of the receiving end. ABR,ASBR, or both
RteType Path type. It may be the path of aninternal or external area
Area Area ID obtaining the path
Confidential and Proprietary Information of ZTE CORPORATION 75
ZXR10 8900 Series Command Reference (IP Routing Volume I)
show ip ospf databasePurpose Use this command to display a relevant information list of the OSPF
database of the specified router . Different forms of this commandare used to display the link status advertisement of different sets.
Command Modes All modes
Syntax show ip ospf database [database-summary | adv-router<router-id>| self-originate][area <area-id>][process<process-id>]
show ip ospf database router [<link-state-id>][adv-router<router-id>| self-originate][area <area-id>][process<process-id>]
show ip ospf database network [<link-state-id>][adv-router<router-id>| self-originate][area <area-id>][process <process-id>]
show ip ospf database summary [<link-state-id>][adv-router<router-id>| self-originate][area <area-id>][process <process-id>]
show ip ospf database asbr-summary [<link-state-id>][adv-router <router-id>| self-originate][area <area-id>][process<process-id>]
show ip ospf database nssa [<link-state-id>][adv-router<router-id>| self-originate][area <area-id>][process<process-id>]
show ip ospf database external [<link-state-id>][adv-router<router-id>| self-originate][process <process-id>]
show ip ospf database opaque-link [<link-state-id>][adv-router <router-id>| self-originate][area <area-id>][process <process-id>]
show ip ospf database opaque-area [<link-state-id>][adv-router <router-id>| self-originate][area <area-id>][process<process-id>]
SyntaxDescription
database-summary Displays the total number of advertisementsof the link status of the whole database, andthe number of advertisements of each linkstatus of each area
adv-router<router-id>
Shows the link status advertisementgenerated by the OSPF router
router Shows advertisements of the router linkstatus only
network Shows advertisements of the network linkstatus only
summary Shows advertisements of the summary linkstatus of network only
asbr-summary Shows advertisements of the summary linkstatus of the ASBR only
76 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
nssa Shows advertisements of external link statusof type 7 only
external Shows advertisements of external link statusof type-5 only
opaque-link Shows advertisements of local opaque linkstatus only
opaque-area Shows advertisements of opaque link statusof areas only
<link-state-id> Part of link status advertisements includingthe network environment. The meaning of itsvalue is related with link status type. Whenthe link status advertisement describes anetwork, the <link-state-id>may be one ofthe following two forms:
1. Network address2. A detailed address obtained from the
network address (The result of the“AND”of this address and the networkmask equals to the network address)
When the link status advertisement describesa router, <link-state-id> is always the RouterID of this router.
When external link status advertisements ofan autonomous system describes a hop ofdefault route, its <link-state-id> is 0.0.0.0
area <area-id> Area identifier specified in the networkcommand, related with the address range
self-originate Shows a variety of link status advertisementsgenerated by itself only
process <process-id>
OSPF process ID, range: 1~65535
Instructions � This command is supported after the platform version 4.6.02.
� The show ip ospf database opaque-link command is sup-ported after the platform version 4.6.03B.
Example � This example uses the show ip ospf database command.ZXR10#show ip ospf database
OSPF Router with ID (110.1.1.1) (Process ID 1)Router Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# Checksum Link count110.1.1.1 110.1.1.1 3 0x80000002 0x3dbe 1
Summary Net Link States (Area 0.0.0.0)Link ID ADV Router Age Seq# Checksum112.1.1.0 110.1.1.1 6 0x80000001 0xd99f168.1.0.0 110.1.1.1 6 0x80000001 0xff43
Summary ASB Link States (Area 0.0.0.0)Link ID ADV Router Age Seq# Checksum168.1.1.3 110.1.1.1 6 0x80000001 0xc875
Router Link States (Area 0.0.0.1)Link ID ADV Router Age Seq# Checksum Link count110.1.1.1 110.1.1.1 3 0x80000025 0xf8f8 1168.1.1.3 168.1.1.3 61 0x80000005 0x70e 2
Net Link States (Area 0.0.0.1)Link ID ADV Router Age Seq# Checksum168.1.1.1 110.1.1.1 1183 0x80000002 0x9787
Confidential and Proprietary Information of ZTE CORPORATION 77
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Type-5 AS External Link StatesLink ID ADV Router Age Seq# Checksum Tag113.1.0.0 168.1.1.3 48 0x80000001 0xa0dd 0111.1.0.0 110.1.1.1 272 0x80000001 0x4ae3 3489660928
The displayed information is described below.
Field Description
Link ID Link status identifier
ADV Router Advertisement router identifier
Age Link status age
Seq# Link status serial number
Checksum Checksum of advertisements of the wholelink status
Link count Count of connections of links included inadvertisements of router link status
� This example uses the show ip ospf database asbr-summary command.
ZXR10#show ip ospf database asbr-summaryOSPF Router with ID (110.1.1.1) (Process ID 1)
Summary ASB Link States (Area 0.0.0.0)LS age: 68Options: (No TOS-capability, No DC)LS Type: Summary Links(AS Boundary Router)Link State ID: 168.1.1.3 (AS Boundary Router address)Advertising Router: 110.1.1.1LS Seq Number: 0x80000001Checksum: 0xc875Length: 28Network Mask: /0TOS: 0 Metric: 1
The displayed information is described below.
Field Description
OSPF Router with id Router ID
Process ID OSPF process identifier
LS age Link status age
Options Option of service type (always 0)
Seq# Link status serial number
LS Type Link status type
Link State ID Link status identifier
Advertising Router Advertisement router ID
LS Seq Number Link status serial number
Checksum Checksum of advertisements of the wholelink status
78 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
Field Description
Length Length of advertisements of the linkstatus
Network Mask Network mask
TOS Type of service
Metric Cost of link status
� This example uses the show ip ospf database external com-mand.
ZXR10#show ip ospf database externalOSPF Router with ID (110.1.1.1) (Process ID 1)
Type-5 AS External Link StatesLS age: 18Options: (No TOS-capability, No DC)LS Type: AS External LinkLink State ID: 111.1.0.0 (External Network Number)Advertising Router: 110.1.1.1LS Seq Number: 0x80000001Checksum: 0x4ae3Length: 36Network Mask: /16Metric Type: 2 (Larger than any link state path)TOS: 0Metric: 20Forward Address: 110.1.1.111External Route Tag: 3489660928
The displayed information is described below.
Field Description
OSPF Router with id Router ID
Process ID OSPF process number
LS age Link status age
Options Option of service type (always 0)
Seq# Link status serial number
LS Type Link status type
Link State ID Link status identifier
Advertising Router Advertisement router ID
LS Seq Number Link status serial number
Checksum Checksum of advertisements of the whole linkstatus
Length Length of the link status advertisement
Network Mask Network mask
Metric Type External type
TOS Type of service
Confidential and Proprietary Information of ZTE CORPORATION 79
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Field Description
Metric Cost of link status
Forward Address Forwarding address. If it is 0.0.0.0, theadvertisement router will be used for theforwarding.
External Route Tag 32-bit appended value of external routes,ospf protocol does not use it
� This example uses the show ip ospf database network com-mand.
ZXR10#show ip ospf database networkOSPF Router with ID (110.1.1.1) (Process ID 1)
Net Link States (Area 0.0.0.1)Routing Bit Set on this LSALS age: 789Options: (No TOS-capability, No DC)LS Type: Network LinksLink State ID: 168.1.1.1 (Address of Designated Router)Advertising Router: 110.1.1.1LS Seq Number: 0x80000002Checksum: 0x9787Length: 32Network Mask: /16Attached Router: 110.1.1.1Attached Router: 168.1.1.3
The displayed information is described below.
OSPF Router with id Router ID
Process ID OSPF process number
LS age Link status age
Options Option of service type (always 0)
Seq# Link status serial number
LS Type Link status type
Link State ID Link status identifier
Advertising Router Advertisement router ID
LS Seq Number Link status serial number
Checksum Checksum of advertisements of the wholelink status
Length Length of the link status advertisement
Network Mask Network mask
Attached Router Address list of OSPF routers connectedwith the network
� This example uses the show ip ospf database router.ZXR10#show ip ospf database router
OSPF Router with ID (110.1.1.1) (Process ID 1)Router Link States (Area 0.0.0.1)
80 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
Routing Bit Set on this LSALS age: 1700Options: (No TOS-capability, No DC)LS Type: Router LinksLink State ID: 110.1.1.1Advertising Router: 110.1.1.1LS Seq Number: 0x8000001fChecksum: 0xf9e7Length: 36Number of Links: 1Link connected to: a Stub Network(Link ID) Network/subnet number: 110.1.0.0(Link Data) Network Mask: 255.255.0.0Number of TOS metrics: 0TOS 0 Metrics: 1
The displayed information is described below.
Field Description
OSPF Router with id Router ID
Process ID OSPF process number
LS age Link status age
Options Option of service type(always 0)
Seq# Link status serial number
LS Type Link status type
Link State ID Link status identifier
Advertising Router Advertisement router ID
LS Seq Number Link status serial number
Checksum Checksum of advertisements of the wholelink status
Length Length of the link status advertisement
AS Boundary Router Type of the router
Number of Links Number of links
link ID Link ID
Link Data Link data has different meaningsaccording to different links
Metric Type External type
TOS Type of service (always 0)
� This example uses the show ip ospf database summarycommand.
ZXR10#show ip ospf database summaryOSPF Router with ID (110.1.1.1) (Process ID 1)
Summary Net Link States (Area 0.0.0.0)LS age: 129Options: (No TOS-capability, No DC)LS Type: Summary Links(Network)Link State ID: 112.1.1.0 (Summary Network Number)
Confidential and Proprietary Information of ZTE CORPORATION 81
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Advertising Router: 110.1.1.1LS Seq Number: 0x80000001Checksum: 0xd99fLength: 28Network Mask: /24TOS: 0 Metric: 2
The displayed information is described below.
Field Description
OSPF Router with id Router ID
Process ID OSPF process number
LS age Link status age
Options Option of service type (always 0)
Seq# Link status serial number
LS Type Link status type
Link State ID Link status ID
Advertising Router Advertisement router ID
LS Seq Number Link status serial number
Checksum Checksum of advertisements of the wholelink status
Length Length of the link status advertisement
TOS Type of service (always 0)
Metric Cost of link status
� This example uses the show ip ospf database opaque-linkcommand.
ZXR10 T64-200#sho ip ospf database opaque-linkOSPF Router with ID (5.5.5.45) (Process ID 45)
Type-9 Opaque Link-local Link States (Area 0.0.0.0)LS age: 1269Options: (No TOS-capability,No DC)LS Type: Opaque Link-localLink State ID: 3.0.0.0Opaque Type: 3Opaque ID: 0Advertising Router: 5.5.5.46LS Seq Number: 80000001Checksum: 0x6b4cLength: 44Fragment number: 0Grace period: 1000NSF reason: switch to redundant control processorInterface ip addr: 201.46.45.0
The displayed information is described below.
Field Description
OSPF Router with id Router ID
Process ID OSPF process number
82 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
Field Description
LS age Link status age
Options Option of service type (always 0)
Seq# Link status serial number
LS Type Link status type
Link State ID Link status ID
Opaque Type Number of type of the advertisement ofopaque link status
Opaque ID Identifier of the advertisement of opaquelink status
Advertising Router Advertisement router ID
LS Seq Number The link status serial number
Checksum Checksum of advertisements of the wholelink status
Length Length of the link status advertisement
Fragment number The same as Opaque ID
Grace period Longest time of non-stop forwarding
NSF reason Trigger events of non-stop forwarding
Interface ip addr ip address of the interface generating thisLSA
� This example uses the show ip ospf database opaque-areaself-originate command.
ZXR10 T64-200#show ip ospf d opaque-area self-originateOSPF Router with ID (10.10.10.10) (Process ID 200)
Type-10 Opaque Link Area Link States (Area 0.0.0.0)LS age: 1509Options: (No TOS-capability,No DC)LS Type: Opaque Area LinkLink State ID: 1.0.0.0Opaque Type: 1Opaque ID: 0Advertising Router: 10.10.10.10LS Seq Number: 0x80000003Checksum: 0x5aa5Length: 28Fragment number : 0MPLS TE router ID : 10.10.10.10Number of Links : 0
LS age: 185Options: (No TOS-capability,No DC)LS Type: Opaque Area LinkLink State ID: 1.0.0.3Opaque Type: 1Opaque ID: 3Advertising Router: 10.10.10.10LS Seq Number: 0x80000001Checksum: 0xfe8dLength: 124Fragment number : 3Link connected to Broadcast network
Confidential and Proprietary Information of ZTE CORPORATION 83
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Link ID : 179.1.1.200Interface Address : 179.1.1.200Neighbor Interface Address : 0.0.0.0Admin Metric : 1Maximum bandwidth : 125000000Maximum reservable bandwidth : 93750000Number of Priority : 8Priority 0 : 93750000 Priority 1 : 93750000Priority 2 : 93750000 Priority 3 : 93750000Priority 4 : 93750000 Priority 5 : 93750000Priority 6 : 93750000 Priority 7 : 93750000Affinity Bit : 0x0
The displayed information is described below.
Field Description
Options Option of service type (always 0)
Seq# Link status serial number
LS Type Link status type
Link State ID Link status identifier
Opaque Type Number of type of advertisements ofopaque link status
Opaque ID Identifier of advertisements of opaquelink status
Advertising Router Advertisement router ID
LS Seq Number Link status serial number
Checksum Checksum of advertisements of the wholelink status
Length Length of the link status advertisement
Fragment number The same as Opaque ID
MPLS TE router ID Router identifier of OSPF trafficengineering
Number of Links Number of links of TLV of advertisementsof this link status
Link connected to Type of TLV links (point-to-point orbroadcast)
Link ID TLV identifier
Interface Addressuitits Its own address in the link the TLV linkdescribes
Neighbor InterfaceAddress
Address of neighbors in the link the TLVlink describes
Admin Metric Distance of traffic engineering
Maximum bandwidth Maximum physical bandwidth, unit: bps
84 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
Field Description
Maximum reservablebandwidth
Maximum reservable bandwidth unit: bps
Number of Priority Number of priority queues, unit: bps
Priority 0 (or any numberfrom 0 to 8)
Reservable bandwidth for this priorityunit: bps
Affinity Bit Affinity bit, namely, color attribute
� This example describes uses the show ip ospf database database-summary command.
ZXR10#show ip ospf database database-summaryOSPF Router with ID (110.1.1.1) (Process ID 1)
Area 0.0.0.0 database summaryLSA Type CountRouter 1Network 0Summary Net 2Summary ASBR 1Type-7 Ext 0Opaque Link 0Opaque Area 0Subtotal 4
Area 0.0.0.1 database summaryLSA Type CountRouter 2Network 1Summary Net 1Summary ASBR 0Type-7 Ext 0Opaque Link 0Opaque Area 0Subtotal 4
Process 1 database summaryLSA Type CountRouter 3Network 1Summary Net 3Summary ASBR 1Type-7 Ext 0Opaque Link 0Opaque Area 0Type-5 Ext 2Opaque AS 0Total 10
The displayed information is described below.
Field Description
OSPF Router with id Router ID
Process ID OSPF process identifier
Area database summary Statistics of the database in thearea
LSA Type Link status type
Count Count
Confidential and Proprietary Information of ZTE CORPORATION 85
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Field Description
Router Advertisements of router linkstatus
Network Advertisement of network linkstatus
Summary Net Advertisements of summary linkstatus of network
Summary ASBR Advertisements of summary linkstatus of ASBR
Type-7 Ext Advertisements of external linkstatus of type 7
Opaque Link Advertisements of local opaque linkstatus in the process of nsf
Opaque Area Advertisements of opaque linkstatus of the area supporting TE
Subtotal Total number of LSAs in the area
Type-5 Ext Advertisement of external linkstatus of type 5
Opaque AS Always 0
Total Total number of LSAs
show ip ospf interfacePurpose Use this command to show information of the OSPF interface.
Command Mode All modes
Syntax show ip ospf interface [<interface-name>][process <process-id>]
SyntaxDescription
<interface-name> Interface Name
process <process-id>
OSPF process ID, range: 1~65535
Instructions This command is supported after the platform version 4.6.02.
Example This example shows the information of OSPF interface fei_2/1.ZXR10#show ip ospf interface fei_2/1 process 1
OSPF Router with ID (1.2.3.4) (Process ID 1)fei_2/1 is upInternet Address 110.1.1.100 255.255.255.0 enableUp for 00:01:07In the area 0.0.0.1 BDRCost 1, Priority 1, Network Type broadcast
86 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
Transmit Delay(sec) 1, Authentication Type nullTimer intervals(sec) : Hello 10, Dead 40, Retransmit 5Designated Router (ID) 110.1.1.10, Interface address 110.1.1.10Backup Designated router (ID) 1.2.3.4, Interface address 110.1.1.100Number of Neighbors 1, Number of Adjacent neighbors 1110.1.1.10 DR
The displayed information is described below.
Field Description
fei_2/1 Interface type and interface serial number
up/down Status of lower-layer interfaces
Internet Address IP address and mask of OSPF interfaces
enable/disable Status of the current OSPF interface(enabled or disabled)
Up for Time when the interface is in the statusof “enable”
In the area Area of ospf interfaces
DR/BDR (Effective when the interface is DR orBDR) The interface is DR or BDR
Cost Interface cost
Priority Interface priority
Network Type Interface type, value: broadcast, nbma,or point-to-point
Transmit Delay (sec) Delay of the interface's transmit of aupdate packet of link status
Authentication Type Authentication type the interface uses
Timer intervals (sec) Time interval of each timer of theinterface listed after it respectively
Hello Time interval of the interface's sendingHELLO packets
Dead Dead time of the neighbor on the interface
Retransmit Time interval of the interface'sretransmitting LSAs
Designated Router (ID) Router ID of DR
Interface address Interface IP address of DR
Backup Designated router(ID)
Router ID of BDR
Interface address Interface IP address of BDR
Number of Neighbors Number of neighbors of local interface
Confidential and Proprietary Information of ZTE CORPORATION 87
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Field Description
Number of Adjacentneighbors
Number of adjacent neighbors of localinterface
Adjacent with neighbor Lists router ID of adjacent neighbors oflocal interface in sequence
show ip ospf mpls traffic-englink
Purpose Use this command to show OSPF TE link information.
Command Modes All modes
Syntax show ip ospf mpls traffic-eng link [area <area-id>][process<process-id>]
SyntaxDescription
area <area-id> Area identifier specified in the networkcommand and related with the address range
process <process-id>
OSPF process ID, range: 1~65535
Instructions This command is supported after the platform version 4.6.02.
Example This example shows OSPF TE link information.ZXR10#T64-200#show ip ospf mpls traffic-eng link
OSPF Router with ID (10.10.10.10) (Process ID 200)
Area 0.0.0.0 has 2 MPLS TE links.
Link is associated with fragment 4Link connected to Broadcast networkLink ID : 134.1.1.200Interface Address : 134.1.1.200Neighbor Interface Address : 0.0.0.0Admin Metric te: 1 igp: 1Maximum bandwidth : 125000000Maximum reservable bandwidth : 93750000Number of Priority : 8Priority 0 : 93750000 Priority 1 : 93750000Priority 2 : 93750000 Priority 3 : 93750000Priority 4 : 93750000 Priority 5 : 93750000Priority 6 : 93750000 Priority 7 : 93750000Affinity Bit : 0x0
Link is associated with fragment 3Link connected to Broadcast networkLink ID : 179.1.1.200Interface Address : 179.1.1.200Neighbor Interface Address : 0.0.0.0Admin Metric te: 1 igp: 1Maximum bandwidth : 125000000Maximum reservable bandwidth : 93750000Number of Priority : 8Priority 0 : 93750000 Priority 1 : 93750000Priority 2 : 93750000 Priority 3 : 93750000Priority 4 : 93750000 Priority 5 : 93750000Priority 6 : 93750000 Priority 7 : 93750000Affinity Bit : 0x0
88 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
The displayed information is described below.
Field Description
OSPF Router with id Router ID
Process ID OSPF process number
Area 0.0.0.0 has 2 MPLSTE links.
Number of MPLS TE links included in thearea
Fragment Serial number lf a link
MPLS TE router ID Router id of ospf traffic engineering
Link connected to Type of TLV links, point-to-point orbroadcast
Link ID Identifier of a TLV link
Interface Address Its own address in the link the TLV linkdescribes
Neighbor InterfaceAddress
Address of neighbors in the link the TLVlink describes
Admin Metric Distance of traffic engineering
igp Distance of internal gateway protocol
Maximum bandwidth Maximum physical bandwidth, unit: bps
Maximum reservablebandwidth
Maximum reservable bandwidth, unit:bps
Number of Priority Number of priority queues, unit: bps
Priority 0 (or any numberfrom 0 to 8)
Reservable bandwidth of the use of thispriority, unit: bps
show ip ospf neighborPurpose Use this command to show the information of OSPF neighbors.
And this command supports the list show and detailed show.
Command Modes All modes
Syntax show ip ospf neighbor [detail][interface<interface-name>][neighbor-id <neighbor>][process <process-id>]
SyntaxDescription
detail Shows the detailed information
interface <interface-name>
Interface Name
Confidential and Proprietary Information of ZTE CORPORATION 89
ZXR10 8900 Series Command Reference (IP Routing Volume I)
neighbor-id<neighbor>
Neighbor ID, in the form of dotted decimal
process <process-id>
OSPF process ID, range: 1~65535
Instructions This command is supported after the platform version 4.6.02.
Example This example shows the information of OSPF neighbors.ZXR10#show ip ospf neighbor
OSPF Router with ID (25.25.25.25) (Process ID 1)
Neighbor ID Pri State DeadTime Address Interface35.35.35.35 1 FULL/BDR 00:00:28 20.0.0.35 fei_1/215.15.15.15 1 FULL/BDR 00:00:33 10.0.0.15 fei_1/1ZXR10#ZXR10#show ip ospf neighbor detail
OSPF Router with ID (10.10.10.10) (Process ID 200)
Neighbor 134.1.1.201In the area 0.0.0.0via interface gei_7/1 134.1.1.201Neighbor is DROTHERState FULL, priority 0, Cost 1Queue count : Retransmit 0, DD 0, LS Req 0Dead time : 00:00:38 Options : 0x42In Full State for 00:03:52
The displayed information is described below.
Field Description
Neighbor Neighbor ID
In the area Area of the neighbor
via interface fei_1/1 Type, serial number and IP address of theinterface of the neighbor
DR Router ID of the DR
BDR Router ID of the BDR
State Neighbor status
Priority Neighbor priority
Cost Neighbor cost
Queue count Length of a variety of queues of theneighbor listed after it respectively
Retransmit Length of the retransmit queue
DD Length of the DD queue
LS Req Length of the request queue
Dead Time Minimum time during which the neighborenter the status of “down”
Options Neighbor options
In Full State Time since the full state
90 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
show ip ospf nsfPurpose Use this command to show the information of the OSPF non-stop
forwarding.
Command Modes All modes
Syntax show ip ospf nsf
Instructions � This command is supported after the platform version 4.6.03B.
� The detailed information of the nsf run by the restarter will beobtained after the use of this command on the restarter.
� The detailed information of the nsf run by the helper will beobtained after the use of this command on the helper.
Example � This example shows the print information of the restarter orthe helper when there is no nsf.ZXR10#show ip ospf nsf
OSPF Router with ID (134.1.1.200) (Process ID 200)
OSPF instance is in normal state
� This example shows the print information of the restarter whennsf is run.ZXR10#show ip ospf nsf
OSPF Router with ID (134.1.1.200) (Process ID 200)
OSPF instance is graceful restartingRestart reason is switch to redundant control processorGrace period 240Start time 00:00:00Time to leave 223 sHelper 134.1.1.201
In the area 0.0.0.0via interface gei_7/1 134.1.1.201Neighbor is DRState 2WAY
The displayed information is described below.
Field Description
Restart reason reason of non-stop forwarding
Grace period Grace period of non-stop forwarding
Start time Start time of non-stop forwarding
Time to leave Maximum time left of non-stop forwarding
Helper Helper router
In the area Area of links of the nsf
via interface fei_1/1 Type, serial number and IP address of theinterface of the helper
State Status of the helper
� This example shows the print information of the helper whennsf is run.ZXR10#show ip ospf nsf
Confidential and Proprietary Information of ZTE CORPORATION 91
ZXR10 8900 Series Command Reference (IP Routing Volume I)
OSPF Router with ID (134.1.1.201) (Process ID 200)
This router is a helper of graceful restartRestarting router ID 134.1.1.200
In the area 0.0.0.0via interface gei_7/1 134.1.1.200Neighbor is BDR
State EXCHMax grace period 240Start time 00:23:42Time to leave 219 s
The displayed information is described below.
Field Description
Restarting router ID Router ID of the restarter
In the area Area of links of nsf
via interface gei_7/1 Type, serial number and IP addresses ofthe interface of the restarter
Neighbor is BDR The restarter is BDR
State Status of the restarter
Start time Time the router enter the help mode
Max grace period Maximum period of non-stop forwarding
Time to leave Time left the router leaves the help mode
show ip ospf request-listPurpose Use this command to show the list of all the link status advertise-
ments the router requests.
Command Modes All modes
Syntax show ip ospf request-list [<neighbor>|<interface-name><interface-neighbor>][process <process-id>]
SyntaxDescription
<neighbor> Shows all advertisements of link status LSRpackets waits to request from this neighbor
<interface-name> Shows all advertisements of link status LSRpackets waits to request on this interface
<interface-neighbor> Shows all advertisements of link statusLSR packets waits to request from the thisneighbor on this interface
process <process-id>
OSPF process ID, range: 1~65535
Instructions This command is supported after the platform version 4.6.02.
Example This example shows advertisements of the link status the LSRpacket waits to request on the interface fei_1/1.
92 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
ZXR10#show ip ospf request-list fei_1/1OSPF Router with ID (200.1.1.11) (Process ID 1)Neighbor 200.1.1.12, interface fei_1/1 address 144.1.1.12Type LS ID ADV RTR Seq NO Age Checksum1 200.1.1.12 200.1.1.12 0x8000020D 8 0x6572
show ip ospf retransmission-list
Purpose Use this command to show the list of all the link status advertise-ments the router retransmits.
Command Modes All modes
Syntax show ip ospf retransmission-list [<neighbor>|<interface-name><interface-neighbor>][process <process-id>]
SyntaxDescription
<neighbor> Shows all advertisements of link status LSRpackets waits to retransmit for this neighbor
<interface-name> Shows all advertisements of link status LSRpackets waits to retransmit on this interface
<interface-neighbor> Shows all advertisements of link status LSRpackets waits to retransmit for this neighboron this interface
process <process-id>
OSPF process ID, range: 1~65535
Instructions This command is supported after the platform version 4.6.02.
Example This example shows advertisements of the link status the LSRpacket waits to retransmit on the interface fei_1/1.ZXR10#show ip ospf retransmission-list fei_1/1OSPF Router with ID (200.1.1.12) (Process ID 1)Neighbor 200.1.1.11, interface fei_1/1 address 144.1.1.11Link state retransmission due in 2 sec, Queue length 2Type LS ID ADV RTR Seq NO Age Checksum1 200.1.1.12 200.1.1.12 0x80000210 0 0xB196
show ip ospf virtual-linksPurpose Use this command to show the information of OSPF virtual links.
Command Modes All modes
Syntax show ip ospf virtual-links [process <process-id>]
SyntaxDescription process <process-
id>OSPF process ID, range: 1~65535
Confidential and Proprietary Information of ZTE CORPORATION 93
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Instructions This command is supported after the platform version 4.6.02.
Example � When there is no OSPF virtual link, the following informationwill be displayed.
ZXR10#show ip ospf virtual-links
� When there are OSPF virtual links, the following informationwill be displayed.
ZXR10#show ip ospf virtual-linksVirtual Link to router 180.1.1.1
Transit area 0.0.0.1via interface fei_1/1 200.1.1.2State DOWN, Transmit Delay (sec) 1, Cost 5Timer intervals (sec) : Hello 10, Dead 40, Retransmit 5
The displayed information is described below.
Field Description
Virtual Link to router Neighbor of the virtual link
Transit area Transmit area of the virtual link
Via interface fei_1/1 Type, serial number and IP address of theinterface that forms the virtual link
State Current status of the virtual link
Transmit Delay (sec) Delay of sending a packet of link statusupdate on the virtual link
Cost Cost of the virtual link
Timer intervals (sec) Time interval of the various timer of thevirtual link
Hello Time interval of the virtual link's sendingHELLO packets
Dead Dead time of the neighbor on the virtuallink
Retransmit Time interval of the virtual link'sretransmitting LSA
summary-addressPurpose Use this command to establish the summary address, and sum-
marize other routing protocol paths that are being redistributed toOSPF. Cancel the setting with the no form of this command.
Command Modes Router configuration
Syntax summary-address summary-address <ip-address><net-mask>
no summary-address <ip-address><net-mask>
94 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 OSPF Protocol
SyntaxDescription
<ip-address> IP address, in the form of dotted decimal
<net-mask> IP subnet mask for the summary path, in theform of dotted decimal
Defaults OSPF has no summary address.
Instructionsbbs � This command is supported after the platform version 4.6.02.
� It is allowed to summarize multiple groups of addresses for aspecified level and routes obtained from other routing proto-cols. The measurement metric for advertising summary pathsis the minimum one among all of the more detailed paths. Thiscommand helps to reduce the size of the routing table.
Example This example makes a summary of static routes 10.1.1.0/24,10.1.2.0/24 and 10.1.3.0/24 into one route and redistribute it toOSPF.ZXR10(config)#router ospf 1ZXR10(config-router)#summary-address 10.1.0.0 255.255.0.0
timers lsa-group-pacingPurpose Use this command to specify the time interval of OSPF lsa-group-
pacing. Use the no form of this command to make OSPF lsa-group-pacing restore the default value.
Command Modes Router configuration
Syntax timers lsa-group-pacing <seconds>
no timers lsa-group-pacing
SyntaxDescription
<seconds> Time interval of OSPF lsa-group— pacing,unit: second, range: 1~2, default: 1 second
Instructions This command is supported after the platform version 4.6.02.
Example This example sets time interval of OSPF lsa-group-pacing as 2 sec-onds.ZXR10(config)#router ospf 1ZXR10(config-router)#timer lsa-group-pacing 2
timers spfPurpose Use this command to specify the minimum time interval between
two continual SPF computations. Use the no form of this commandto make it restore the default value.
Command Modes Router configuration
Syntax timers spf <spf-holdtime>
Confidential and Proprietary Information of ZTE CORPORATION 95
ZXR10 8900 Series Command Reference (IP Routing Volume I)
no timers spf
SyntaxDescription
<spf-holdtime> Minimum time interval between two continualSPF computations, unit: second, range:1~65535, default: 1 second
Instructions This command is supported after the platform version 4.6.02 .
Example This example sets the minimum time interval between two contin-ual SPF computations as 2 seconds.ZXR10(config)#router ospf 1ZXR10(config-router)#timer spf 2
96 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 4
IS-IS Protocol
Table of Contentsarea ................................................................................98authentication...................................................................98authentication-type ...........................................................99default-information originate...............................................99disable........................................................................... 100disable-snp-authentication................................................ 101distance ......................................................................... 101enable ........................................................................... 101enable-snp-authentication ................................................ 102fast-reroute .................................................................... 102hello padding .................................................................. 103hostname....................................................................... 103ignore-lsp-errors ............................................................. 104ip router isis ................................................................... 104isis authentication ........................................................... 105isis authentication-type .................................................... 105isis bfd-enable ................................................................ 106isis circuit-type................................................................ 106isis csnp-interval ............................................................. 107isis hello-interval ............................................................. 107isis hello-multiplier .......................................................... 108isis ignore-mtu................................................................ 108isis lsp-interval................................................................ 109isis ipv6 metric................................................................ 109isis max-burst................................................................. 110isis mtu.......................................................................... 110isis mesh-group .............................................................. 111isis metric ...................................................................... 111isis network point-to-point ................................................ 112isis priority ..................................................................... 112isis psnp-interval ............................................................. 113isis restart ...................................................................... 113is-type ........................................................................... 114i-spf .............................................................................. 114lsp-refresh-time .............................................................. 115lsp-mtu.......................................................................... 115max-lsp-lifetime.............................................................. 116maximum-paths.............................................................. 116metric-style .................................................................... 116mpls traffic-eng............................................................... 117passive-interface ............................................................. 118redistribute..................................................................... 118restart ........................................................................... 119router isis....................................................................... 120router-leak ..................................................................... 120set-overload-bit .............................................................. 121
Confidential and Proprietary Information of ZTE CORPORATION 97
ZXR10 8900 Series Command Reference (IP Routing Volume I)
show isis adjacency ......................................................... 122show isis circuits ............................................................. 123show isis database........................................................... 124show isis fast-reroute-topology ......................................... 126show isis hostname ......................................................... 127show isis mesh-groups ..................................................... 127show isis nsf ................................................................... 127show isis topology ........................................................... 128spf-interval..................................................................... 129summary-address............................................................ 129system-id ....................................................................... 130
areaPurpose Use this command to configure the area address of IS-IS. Delete
the configuration with the no form of this command.
Command Modes Router configuration
Syntax area <area-address>
no area <area-address>
SyntaxDescription
<area-address> Area address, a hexadecimal string of 1~13bytes
Instructions At most 3 area addresses can be configured.
Example This example sets the area address of IS-IS.ZXR10(config)#router isisZXR10(config-router)#area 11ZXR10(config-router)#area 11.1111.1111
authenticationPurpose Use this command to configure LSP authentication of IS-IS. Delete
the configuration with the no form of this command.
Command Modes Router configuration
Syntax authentication <key>[level-1 | level-2]
no authentication [level-1 | level-2]
SyntaxDescription
<key> Password, length: 1~180 characters
level-1 Area Level-1 the router lies in
level-2 Area Level-2 the router lies in
Defaults If level-1 or level-2 is not specified, this command acts on bothlevel-1 and level-2 at the same time.
98 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
Instructions After the configuration of this command, the same authenticationpassword are set to snp packets at the same time. By default,snp packets are also authenticated at the same time. Disable snppackets' authentication with the command disable-snp-authentication.
Example This example configures LSP authentication of IS-IS.ZXR10(config)#router isisZXR10(config-router)#authentication zteZXR10(config-router)#authentication zte level-1ZXR10(config-router)#authentication zte level-2
RelatedCommands
enable-snp-authentication
disable-snp-authentication
authentication-typePurpose Use this command to configure the authentication mode of LSP
packets of IS-IS. Delete the configuration with the no form of thiscommand.
Command Modes Router configuration
Syntax authentication-type {MD5 | TEXT}[level-1 | level-2]
no authentication [level-1 | level-2]
SyntaxDescription
MD5 MD5 encryption authentication
TEXT TEXT authentication
level-1 Area Level-1 the router lies in
level-2 Area Level-2 the router lies in
Defaults If no level-1 or level-2 is specified, this command will act on bothlevel-1 and level-2 at the same time.
The default authentication is TEXT.
Example This example configures the authentication mode of IS-IS LSP.ZXR10(config)#router isisZXR10(config-router)#authentication-type MD5ZXR10(config-router)#authentication-type MD5 level-1ZXR10(config-router)#authentication-type MD5 level-2ZXR10(config-router)#authentication-type TEXTZXR10(config-router)#authentication-type TEXT level-1ZXR10(config-router)#authentication-type TEXT level-2
default-information originatePurpose Use this command to configure the advertisement policy of the
default route. Delete the configured policy with the no form ofthis command.
Confidential and Proprietary Information of ZTE CORPORATION 99
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Command Modes Router configuration
Syntax default-information originate [always][metric <metric-value>][metric-type <type>][level-1 | level-1-2 | level-2]
no default-information originate
SyntaxDescription
always No matter whether there is a default route inthe redistribution route entries, the systemwill always generates a entry of default routeadvertisement. If this parameter is notconfigured, there will be an advertisement ofdefault routes only when redistribution routeshas default routes.
metric <metric-value>
Metric value, range: 0~4261412864
metric-type <type> Metric type, external or internal, default:internal
level-1 Area Level-1 the router lies in
level-1-2 Area Level-1-2 the router lies in
level-2 Area Level-2the router lies in
Instructions � When this command is not configured, the system will not ad-vertise the default route in the redistribution route entries.
� If it is the metric-style narrow mode, the range of <metric-value> is 0~63. If it is the metric-style wide mode, the range of<metric-value> is 0~426142864.
disablePurpose Use this command to disable the running of IS-IS instances and
clear IS-IS running data. Use the enable command to restartIS-IS instances.
Command Modes Router configuration
Syntax disable
Instructions When IS-IS instances are running, the use of this command candisable the running of IS-IS instances and clear current runningdata. The use of the enable command can restart IS-IS instances.
Example This example disables the running of IS-IS instances and clearsrunning data.ZXR10(config)#router isisZXR10(config-router)#disable
100 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
RelatedCommands
enable
disable-snp-authenticationPurpose Use this command to clear the authentication of SNP packets. The
enable-snp-authentication command is used to configure theauthentication of SNP packets.
Command Modes Router configuration
Syntax disable-snp-authentication
Defaults By default, after the configuration of the authentication of LSPpackets, the authentication of SNP packets will be automaticallyset.
Instructions This command is supported after the platform version 4.6.02.
Example This example describes clears the authentication of SNP packets.ZXR10(config)#router isisZXR10(config-router)#disable-snp-authentication
RelatedCommands
enable-snp-authentication
History Command The command no set-snp-authentication is adopted before theplatform version 4.6.02.
distancePurpose Use this command to specify the priority of IS-IS routes. Restore
the default IS-IS route priority with the no form of this command.
Command Modes Router configuration
Syntax distance <distance>
no distance
SyntaxDescription
<distance> Priority of the IS-IS routes, range: 1~255,default: 115
Instructions This command acts on both level-1 and level-2 at the same time.
Example This example specifies the priority of IS-IS routes.ZXR10(config)#router isisZXR10(config-router)#distance 120
enablePurpose Use this command to restart IS-IS instances.
Confidential and Proprietary Information of ZTE CORPORATION 101
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Command Modes Router configuration
Syntax enable
Instructions � This command is supported after the platform version 4.6.02.
� After IS-IS instances are disabled by the disable command,this command can be used to make IS-IS instances go onrunnning.
Example This example makes IS-IS instances go on running.ZXR10(config)#router isisZXR10(config-router)#enable
RelatedCommands
disable
History Command Before the platform version 4.6.02, the command no disable isadopted.
enable-snp-authenticationPurpose Use this command to enable the authentication of SNP packets.
The disable-snp-authentication command is used to disable it.
Command Modes Router configuration
Syntax enable-snp-authentication
Defaults After the authentication of LSP packets is enabled, the authenti-cation of SNP packets is automatically enabled.
Instructions � This command is supported after the platform version 4.6.02.
� The disable-snp-authentication command is used to clearthe authentication of SNP packets
Example This example enables the authentication of SNP packets.ZXR10(config)#router isisZXR10(config-router)#enable-snp-authentication
RelatedCommands
disable-snp-authentication
History Command Before the platform version 4.6.02 the command set-snp-authentication is adopted.
fast-reroutePurpose Use this command to enable IS-IS fast reroute function. Disable
the function with no form of this command.
Command Modes Router configuration
Syntax fast-reroute {enable}[alternate-type]{down-stream-path}
102 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
SyntaxDescription
enable The function is enabled globally
alternate-type Optional type of FRR
down-stream-path One type of FRR
Defaults The type pf FRR is IPFRR_LFA by default.
Instructions � When FRR function is enabled in the mode of global configu-ration, FRR function is enabled on all enabled IS-IS interfacesby default.
� This command is supported after the platform version 4.8.02.
Example This example configures the FRR function of IS-IS.ZXR10(config)#router isisZXR10(config-router)#fast-reroute enableZXR10(config-router)#fast-reroute alternate-type down-stream-path
RelatedCommands
fast-reroute enable
no fast-reroute enable
hello paddingPurpose Use this command to pad the hello PDU. To disable IS-IS hello
padding, use the no form of this command.
Command Modes Router configuration
Syntax hello padding [multi-point | point-to-point]
no hello padding
SyntaxDescription
multi-point Keyword. Hello PDU is padded to 1497 bytes
point-to-point Keyword. Hello PDU is padded to 1499 bytes
Defaults Hello PDU is padded to 1497 bytes by default.
Example This example configures the padding of hello PDU to 1499 bytes.ZXR10(config)#router isisZXR10(config-router)#hello padding point-to-point
hostnamePurpose Use this command to configure the hostname function of IS-IS.
Delete the configuration with no form of this command.
Command Modes Router configuration
Syntax hostname {dynamic}
Confidential and Proprietary Information of ZTE CORPORATION 103
ZXR10 8900 Series Command Reference (IP Routing Volume I)
SyntaxDescription
dynamic The hostname of system is obtaineddynamically
Instructions This command is supported after the platform version 4.8.02.
Example This example sets the system hostname is obtained dynamically.ZXR10(config)#router isisZXR10(config-router)#hostname dynamic
RelatedCommands
hostname dynamic
no hostname dynamic
ignore-lsp-errorsPurpose To allow the router to ignore IS-IS link-state packets received with
internal checksum errors by way of directly dropping link-statepackets, use the ignore-lsp-errors command. To disable thefunction, use the no form of this command.
Command Modes Router configuration
Syntax ignore-lsp-errors
no ignore-lsp-errors
Defaults Link-state packets received with checksum errors are purged in-stead of directly dropped.
Example This example directly drops IS-IS link-state packets received withchecksum errors, and then restores default with the no form ofthis command.ZXR10(config)#router isisZXR10(config-router)#ignore-lsp-errorsZXR10(config-router)#no ignore-lsp-errors
ip router isisPurpose Use this command to add this interface into the IS-IS instance.
Delete the interface from the IS-IS instance with the no form ofthis command.
Command Modes Interface configuration
Syntax ip router isis
no ip router isis
Example This example adds the interface fei_1/1 into the IS-IS instance.ZXR10(config)#interface fei_1/1ZXR10(config-intf)#ip router isis
104 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
isis authenticationPurpose Use this command to configure the authentication of ISIS hello
PDUs. Delete the authentication with the no form of this com-mand.
Command Modes Interface configuration
Syntax isis authentication <key>[level-1 | level-2]
no isis authentication [level-1 | level-2]
SyntaxDescription
<key> Password, 1~30 characters
level-1 Router are in area Level-1
level-2 Routers are in area Level-2.
Defaults If level-1 or level-2 is not specified, this command acts at level-1and level-2 at the same time.
Example This example configures the authentication of hello PDUs.ZXR10(config)#interface fei_1/1ZXR10(config-intf)#isis authentication zteZXR10(config-intf)#isis authentication zte level-1ZXR10(config-intf)#isis authentication zte level-2
isis authentication-typePurpose Use this command to set the authentication type of IS-IS hello
PDUs. To delete the configuration of the corresponding level, usethe no form of this command. TEXT authentication is enabled bydefault.
Command Modes Interface configuration
Syntax isis authentication-type {MD5 | TEXT}[level-1 | level-2]
no isis authentication-type [level-1 | level-2]
SyntaxDescription
MD5 MD5 encrypted authentication
TEXT TEXT authentication
level-1 Routers are in area Level-1.
level-2 Routers are in area Level-2.
Defaults TEXT authentication is enabled by default.
If level-1 or level-2 is not specified, this command acts at level-1and level-2 at the same time.
Example This example sets the authentication type of IS-IS hello PDUs.ZXR10(config)#interface fei_1/1ZXR10(config-intf)#isis authentication-type MD5
Confidential and Proprietary Information of ZTE CORPORATION 105
ZXR10 8900 Series Command Reference (IP Routing Volume I)
ZXR10(config-intf)#isis authentication-type MD5 level-1ZXR10(config-intf)#isis authentication-type MD5 level-2ZXR10(config-intf)#isis authentication-type TEXT level-1ZXR10(config-intf)#isis authentication-type TEXT level-2
isis bfd-enablePurpose Use this command to enable the bfd function of IS-IS. Disable the
function with no form of this command.
Command Modes Interface configuration
Syntax isis bfd-enable
Instructions This command is supported after the platform version 4.8.02.
Example This example enables the bfd function of IS-IS.ZXR10(config)#interface fei_1/1ZXR10(config-if)#isis bfd-enable
RelatedCommands
isis bfd-enable
no isis bfd-enable
isis circuit-typePurpose Use this command to configure the type of the adjacency rela-
tionship established by this interface. Restore default with the noform of this command.
Command Modes Interface configuration
Syntax isis circuit-type {level-1 | level-1-2 | level-2-only}
no isis circuit-type
SyntaxDescription
level-1 Routers are in area Level-1
level-1-2 Routers are in area Level-1–2
level-2-only Routers are only in area Level-2
Defaults The type of the adjacency relationship is Level-1-2 by default.
Example This example configures the type of the adjacency relationship es-tablished by interface fei_1/1.ZXR10(config)#interface fei_1/1ZXR10(config-intf)#isis circuit-type level-1ZXR10(config-intf)#isis circuit-type level-1-2ZXR10(config-intf)#isis circuit-type level-2
106 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
isis csnp-intervalPurpose Use this command to set the time interval of sending complete
serial number packets. Restore default with the no form of thiscommand.
Command Modes Interface configuration
Syntax isis csnp-interval <interval>[level-1 | level-2]
no isis csnp-interval [level-1 | level-2]
SyntaxDescription
<interval> Time interval. unit: second, range: 1~65535,default: 10 seconds; 3600 seconds on thepoint-to-point link
level-1 Routers are in area Level-1
level-2 Routers are in area Level-2
Defaults If level-1 or level-2 is not specified, this command acts at level-1and level-2 at the same time.
Example This example sets the time interval of transmitting complete serialnumber packets.ZXR10(config)#interface fei_1/1ZXR10(config-intf)#isis csnp-interval 5ZXR10(config-intf)#isis csnp-interval 5 level-1ZXR10(config-intf)#isis csnp-interval 5 level-2
isis hello-intervalPurpose Use this command to specify the time interval of sending IS-IS
hello PDUs of the interface. Restore default with the no form ofthis command.
Command Modes Interface configuration
Syntax isis hello-interval <interval>[level-1 | level-2]
no isis hello-interval [level-1 | level-2]
SyntaxDescription
<interval> Time interval, unit: second, range: 1~65535,default: 10 seconds
level-1 Routers are in area Level-1
level-2 Routers are in area Level-2
Defaults If level-1 or level-2 is not specified, this command will act at bothlevel-1 and level-2 at the same time.
Instructions � If the router is a DIS, it sends hello packets every 3 secondsregardless of the configuration.
� The parameter of level is not valid on point-to-point mode sim-ulated by LAN.
Confidential and Proprietary Information of ZTE CORPORATION 107
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Example This example describes sets the time interval of sending Hellopackets.ZXR10(config)#interface fei_1/1ZXR10(config-intf)#isis hello-interval 5ZXR10(config-intf)#isis hello-interval 5 level-1ZXR10(config-intf)#isis hello-interval 5 level-2
isis hello-multiplierPurpose Use this command to configure the hello multiplier value of the in-
terface. This value is the number of successive IS-IS Hello packetsa neighbor must miss before the networking device should declarethe IS-IS adjacency as down.
Therefore, the “holding time” of the adjacency relationship is thehello-interval multiplied by the hello-multiplier. Restore defaultwith the no form of this command.
Command Modes Interface configuration
Syntax isis hello-multiplier <multiplier>[level-1 | level-2]
no isis hello-multiplier [level-1 | level-2]
SyntaxDescription
<multiplier> Multiplier, range: 3~1000, default: 3
level-1 Routers are in area Level-1
level-2 Routers are in area Level-2
Defaults If level-1 or level-2 is not specified, this command acts at bothlevel-1 and level-2 at the same time.
Instructions The parameter of level is not valid on point-to-point mode simu-lated by LAN.
Example This example configures the hello-multiplier.ZXR10(config)#interface fei_1/1ZXR10(config-intf)#isis hello-multiplier 2ZXR10(config-intf)#isis hello-multiplier 2 level-1ZXR10(config-intf)#isis hello-multiplier 2 level-2
isis ignore-mtuPurpose When the receiving MTU in IS-IS packets is higher than that of the
incoming interface, the check of the length of the packets will beignored as long as the packets could be received.
Command Modes Interface configuration
Syntax isis ignore-mtu
no isis ignore-mtu
108 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
Instructions If the received packets are so long that all the content is not trans-mitted, the configuration of this command will not act and thelength of packets will still be checked.
Example This example sets the interface to ignore the check of length ofpackets.ZXR10(config)#interface fei_1/1ZXR10(config-intf)#isis ignore-mtu
isis lsp-intervalPurpose Use this command to set the time interval of sending LSP packets.
Restore default with the no form of this command.
Command Modes Interface configuration
Syntax isis lsp-interval <interval>[level-1 | level-2]
no isis lsp-interval [level-1 | level-2]
SyntaxDescription
<interval> Time interval, unit: second, range: 1~65535,default: 2 seconds
level-1 The router is in area Level-1
level-2 The router is in area Level-2
Defaults If level-1 or level-2 is not specified, this command acts on bothlevel-1 and level-2 at the same time.
Example This example sets the time interval of sending LSP packets to 1second.ZXR10(config)#interface fei_1/1ZXR10(config-intf)#isis lsp-interval 1ZXR10(config-intf)#isis lsp-interval 1 level-1ZXR10(config-intf)#isis lsp-interval 1 level-2
isis ipv6 metricPurpose Use this command to configure the metric value of IPv6.
Command Modes Interface configuration
Syntax isis ipv6 metric <metric-value>[level-1 | level-2]
no isis ipv6 metric [level-1 | level-2]
SyntaxDescription
<metric-value> Metric value of the interface, range:0~16777214
level-1 The router is in area Level-1
level-2 The router is in area Level-2
Confidential and Proprietary Information of ZTE CORPORATION 109
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Example This example sets the IPv6 metric value of interface fei_1/1 as 66.ZXR10(config)#interface fei_1/1ZXR10(config-intf)#isis ipv6 metric 66ZXR10(config-intf)#isis ipv6 metric 66 level-1ZXR10(config-intf)#isis ipv6 metric 66 level-2
isis max-burstPurpose Use this command to specify the largest amount of LSP packets
that can be sent once at most. Restore default with the no formof this command.
Command Modes Interface configuration
Syntax isis max-burst <number>
no isis max-burst
SyntaxDescription
<number> Largest amount of LSP packets that can besent once at most, range: 1~65535, default:20
Example This example sets the largest amount of LSP packets that can besent once at most as 50.ZXR10(config)#interface fei_1/1ZXR10(config-intf)#isis max-burst 50
isis mtuPurpose Use this command to set the maximum length of hello packets of
the IS-IS interface. Delete the configuration with no form of thiscommand.
Command Modes Interface configuration
Syntax isis mtu <512~4096>
no isis mtu
SyntaxDescription
<512~4096> Maximum length of hello packets of the IS-ISinterface, in bytes
Instructions This command is supported after the platform version 4.8.21.
Example This example configures the maximum length of hello packets ofthe IS-IS interface as 1500 bytes.ZXR10(config-if)#isis mtu 1500
110 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
isis mesh-groupPurpose Use this command to configure the mesh-group function of IS-IS.
Delete the function with no form of this command.
Command Modes Interface configuration
Syntax isis mesh-group {<mesh group number>| block}
SyntaxDescription
<mesh groupnumber>
Mesh-group the interface belongs to
block LSP information is blocked on the interface
Instructions This command is supported after the platform version 4.8.02.
Example This example configures the mesh-group of IS-IS.ZXR10(config)#interface fei_1/1ZXR10(config-if)#isis mesh-group ?<1-4294967295> Mesh group numberblocked Block LSPs on this interface
RelatedCommands
isis mesh-group
no isis mesh-grou
isis metricPurpose Use this command to configure the metric value of this interface.
Restore default with no form of this command.
Command Modes Interface configuration
Syntax isis metric <metric-value>[level-1 | level-2]
no isis metric [level-1 | level-2]
SyntaxDescription
<metric-value> Metric value of the interface, range:0~16777214, default: 10
level-1 The router is in area Level-1
level-2 The router is in area Level-2
Defaults If no level-1 or level-2 is not specified, this command acts on bothlevel-1 and level-2 at the same time.
Instructions If it is the metric-style narrow, the range of the <metric-value>will be 0~63. If it is the metric-style wide mode, the range of the<metric-value> will be 0~426142864.
Example This example configures the metric value of this interface.ZXR10(config)#interface fei_1/1ZXR10(config-intf)#isis metric 20ZXR10(config-intf)#isis metric 20 level-1ZXR10(config-intf)#isis metric 20 level-2
Confidential and Proprietary Information of ZTE CORPORATION 111
ZXR10 8900 Series Command Reference (IP Routing Volume I)
isis network point-to-pointPurpose Use this command to configure isis protocol LAN to simulate point-
to-point function. Use no to delete this configuration.
Command Modes Interface configuration mode
Syntax isis network point-to-point
no isis network point-to-point
Defaults Isis works at broadcast interface mode.
Instructions This command is suitable for the condition where there are onlytwo devices. The command is configured to enable LAN to simulatepoint-to-point function.
Example ZXR10(config)#interface fei_1/1ZXR10(config-if)#isis network point-to-point
Related Command show running-config
isis priorityPurpose Use this command to configure the priority of DIS election of the
interface. Restore default with the no form of this command.
Command Modes Interface configuration
Syntax isis priority <priority>[level-1 | level-2]
no isis priority [level-1 | level-2]
SyntaxDescription
<priority> of the interface, range: 0~127, default: 64
level-1 The router is in area Level-1.
level-2 The router is in area Level–2.
Defaults If level-1 or level-2 is not specified, this command acts at bothlevel-1 and level-2 at the same time.
The parameter of level is not valid on point-to-point mode simu-lated by LAN.
Instructions This command only appears on a broadcast link.
This command can be configured but not valid when point-to-pointis simulated by LAN.
Example This example describes configures the priority of DIS election ofthe interface.ZXR10(config)#interface fei_1/1ZXR10(config-intf)#isis priority 20ZXR10(config-intf)#isis priority 20 level-1ZXR10(config-intf)#isis priority 20 level-2
112 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
isis psnp-intervalPurpose Use this command to configure the time interval of sending partial
serial number packets. Restore default with the no form of thiscommand.
Command Modes Interface configuration
Syntax isis psnp-interval <interval>[level-1 | level-2]
no isis psnp-interval [level-1 | level-2]
SyntaxDescription
<interval> Time interval, in seconds, range: 1~65535,default: 3 seconds
level-1 The router is in area Level-1
level-2 The router is in area Level-2
Defaults If level-1 or level-2 is not specified, this command acts at bothlevel-1 and level-2 at the same time.
Example This example sets the time interval of sending partial serial numberpackets as 2 seconds.ZXR10(config)#interface fei_1/1ZXR10(config-intf)#isis psnp-interval 2ZXR10(config-intf)#isis psnp-interval 2 level-1ZXR10(config-intf)#isis psnp-interval 2 level-2
isis restartPurpose Use this command to configure parameters of graceful restart
function of IS-IS.
Command Modes Interface configuration
Syntax isis restart {t1-retry <retry-timers>[level-1 | level-2]}|{t1-timer <interval>[level-1 | level-2]}
no isis restart {t1-retry [level-1 | level-2]}|{t1-timer [level-1 | level-2]}
SyntaxDescription
t1-retry Retry times of t1 timer
t1-timer Time of t1 timer
<retry-timers> Retry times of t1 timer, default: 3
<interval> Time interval in seconds, range: 1~65535,default: 3 seconds
level-1 The router is in area Level-1
level-2 The router is in area Level-2
Confidential and Proprietary Information of ZTE CORPORATION 113
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Defaults If level-1 or level-2 is not specified, this command acts at bothlevel-1 and level-2 at the same time.
Instructions � On broadcast multi-access networks, if local router is electedas the DIS and this command is configured on the interface,it is recommended to aptly add the hello-multiplier value ofthe interface by the configuration of the isis hello-multipliecommand.
� It is recommended for the interface with no adjacency rela-tionship to use the default value.
Example This example sets the retry times of restart t1 timer, the time oft1 timer respectively as 20, 50 seconds. Cancel the configurationwith no form of the command.ZXR10(config)#isis restart t1-retry 20ZXR10(config-intf)#no isis restart t1-retryZXR10(config-intf)#isis restart t1-timer 50 level-1ZXR10(config-intf)#no isis restart t1-timer level-1
is-typePurpose Use this command to configure the level IS-IS instances supports.
Restore default with the no form of this command.
Command Modes Router configuration
Syntax is-type {level-1 | level-1-2 | level-2-only}
no is-type
SyntaxDescription
level-1 The router is in area Level-1
level-1-2 The router is in area Level-1–2
level-2-only The router is in area Level-2 only
Defaults The default level value is level-1-2.
Example This example configures the allowed level of IS-IS.ZXR10(config)#router isisZXR10(config-router)#is-type level-1ZXR10(config-router)#is-type level-2ZXR10(config-router)#is-type level-1-2
i-spfPurpose Use this command to configure the incremental SPF calculation
IS-IS instances support. Delete the configuration with the no formof this command.
Command Modes Router configuration
Syntax i-spf
no i-spf
114 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
Example This example configures the incremental SPF calculation IS-IS in-stances support and then cancels it with the no form of the com-mand.ZXR10(config)#router isisZXR10(config-router)#i-spfZXR10(config-router)#no i-spf
lsp-refresh-timePurpose Use this command to set LSP refresh time. Restore default with
no form of this command.
Command Modes Router configuration
Syntax lsp-refresh-time <time>
no lsp-refresh-time
SyntaxDescription
<time> Refresh time, in seconds range:1~65535default: 900 seconds
Instructions If the value of max-lsp-lifetime is smaller than or equal to the valueof lsp-refresh-time, the value of lsp-refresh-time will be automat-ically set as 70% of the value max-lsp-lifetime.
Example This example sets LSP refresh time as 300 seconds.ZXR10(config)#router isisZXR10(config-router)#lsp-refresh-time 300
lsp-mtuPurpose Use this command to set the size of LSP packets.
Command Modes Router configuration
Syntax lsp-mtu <size>
no lsp-mtu <size>
SyntaxDescription
<size> Size of lsp packets, in bytes, range:512~7680
Defaults On multicast links, the size of the LSP packet is 1497 bytes bydefault. This command can make the size of LSP packets in therange of 512 and 7680. It is not recommended to use this com-mand except special situation.
Example This example sets LSP-mtu as 512 bytes.ZXR10(config)#router isisZXR10(config-router)#lsp-mtu 512
Confidential and Proprietary Information of ZTE CORPORATION 115
ZXR10 8900 Series Command Reference (IP Routing Volume I)
max-lsp-lifetimePurpose Use this command to set the maximum time that link-state packets
persist without being refreshed. Restore the default time with theno form of this command.
Command Modes Router configuration
Syntax lsp-refresh-time <time>
no lsp-refresh-time
SyntaxDescription
<time> Maximum time that link-state packets persistwithout being refreshed, in seconds, range:1~65535, default: 900 seconds
Example This example sets lsp-refresh-time as 300 seconds.ZXR10(config)#router isisZXR10(config-router)#lsp-refresh-time 300
maximum-pathsPurpose Use this command to configure the maximum equivalence route
entries IS-IS supports.
Command Modes Router configuration
Syntax maximum-paths <number>
no maximum-paths
SyntaxDescription
<number> Maximum equivalence route entries IS-ISsupports, range: 1~8
Defaults If the command maximum-paths is not configured, the maxi-mum equivalence route entry IS-IS supports will be 1 by default.
Example This example sets the maximum equivalence route entries IS-ISsupports as 2.ZXR10(config)#router isisZXR10(config-router)#maximum-paths 2
metric-stylePurpose Use this command to set IS-IS metric style. Restore the default
value with the no form of this command.
Command Modes Router configuration
Syntax metric-style {narrow | wide}
no metric-style
116 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
SyntaxDescription narrow Metric style is narrow
wide Metric style is wide
Defaults If level-1 or level-2 is not specified, this command acts at bothlevel-1 and level-2 at the same time.
The default metric style is narrow.
Instructions If this command acts at both level-1 and level-2 at the same timeand the metric style changes, the redistribution policy, SUMMARYpolicy and the default metric route of the interface will be deleted.
Example This example sets the IS-IS metric style.ZXR10(config)#router isisZXR10(config-router)#metric-style narrowZXR10(config-router)#metric-style wide
mpls traffic-engPurpose Use this command to set the IS-IS parameters related with the
MPLS traffic engineering.
Command Modes Router configuration
Syntax mpls traffic-eng {level-1 | level-2 |{router-id <Int No.>}}
nompls traffic-eng {level-1 | level-2 |{router-id <Int No.>}}no metric-style
SyntaxDescription
level-1 The router is in area level-1
level-2 The router is in area level-2
router-id Router-id designated by IS-IS trafficengineering
<interface-name> Interface name
Instructions The configuration of IS-IS traffic engineering needs to first config-ure the metric-style as wide.
Example This example configures IS-IS level-1 starting traffic engineeringand sets the router-id.ZXR10(config)#router isisZXR10(config-router)#mpls traffic-eng level-1ZXR10(config-router)#mpls traffic-eng router-id loopback1
Confidential and Proprietary Information of ZTE CORPORATION 117
ZXR10 8900 Series Command Reference (IP Routing Volume I)
passive-interfacePurpose Use this command to configure an interface as a passive interface.
After that, the interface cannot send Hello packets, receive anyIS-IS packet or establish adjacent relationship with other routers.
Command Modes Router configuration
Syntax passive-interface {default |<interface-name>}
no passive-interface {default |<interface-name>}
SyntaxDescription
default Configures all the interfaces as passiveinterfaces
<interface-name> Interface name
Defaults The interfaces are passive ones by default.
Instructions If there is an interface which is the only one starting IS-IS, it canbe configured as passive-interface mode.
Example This example prevents routes from updating on interface fei_1/1.ZXR10(config)#router isisZXR10(config-router)#passive-interface fei_1/1
redistributePurpose Use this command to configure the filtering policy for other proto-
col advertising routes to IS-IS. Cancel the redistribution with theno form of this command.
Command Modes Router configuration
Syntax redistribute <protocol>[level-1|level-1-2|level-2][metric<metric-value>][metric-type <type>][route-map <map-tag>]
no redistribute <protocol>
SyntaxDescription
<protocol> The specified route source, it can be connect,static, rip, ospf, or bgp.
level-1 The router is in area level-1
level-1-2 The router is in area level-1-2
level-2 The router is in area level-2
metric <metric-value>
Metric value of redistributed routes, range:0~4261412864.
metric-type <type> Metric type of redistributed routes, externalor internal, default: internal
route-map<map-tag>
Name of route map redistributed by currentprotocol1~16 characters
118 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
Defaults If level-1 or level-2 is not specified, routes will be redistributed tothe level-2 database.
Instructions If it is the metric-style narrow, the range of the <metric-value>is 0~63. If it is the metric-style wide mode, the range of the<metric-value> is 0~426142864.
Example This example configures the route redistribution policy.ZXR10(config)#router isisZXR10(config-router)#redistribute bgpZXR10(config-router)#redistribute bgp level-1ZXR10(config-router)#redistribute bgp level-2ZXR10(config-router)#redistribute bgp level-1 metric 20ZXR10(config-router)#redistribute bgp level-1 metric 20metric-type internalZXR10(config-router)#redistribute ospf level-1 metric 20
restartPurpose Use this command to set IS-IS parameters of the graceful restart.
Command Modes Router configuration
Syntax restart {enable |{t2-timer <t2-interval>[level-1 | level-2]}|{t3-timer [adjacency | manual <t3-interval>][level-1 |level-2]}}
no restart {enable |{t2-timer [level-1 | level-2]}|{t3-timer[level-1 | level-2]}}
SyntaxDescription
enable Graceful-restart function IS-IS supports
t2-timer Timer of the database synchronization ofgraceful-restart
t3-timer Timer of the finish time of graceful-restart
adjacency Graceful-restart finish time depends onholding time set in the hello packets ofadvertisements of the neighbor
manual graceful-restart finish time depends on themanual configured value
<t2-interval> Time interval of t2 timer, in seconds, range:5~65535
<t3-interval> Time interval of t3 timer
Defaults The default value of t2 timer is set as 60 seconds, and that of t3timer is 65535 seconds. After that the two values will be adjustedaccording to the holding time carried in a received hello packet theneighbor sends.
Instructions If a router supports some kind of is-type, there must be the neigh-borhood supporting this kind of is-type to complete the synchro-nization of the database.
Example This example describes enables the restart function.
Confidential and Proprietary Information of ZTE CORPORATION 119
ZXR10 8900 Series Command Reference (IP Routing Volume I)
ZXR10(config)#router isisZXR10(config-router)#restart enableZXR10(config-router)#restart t2-timer 60ZXR10(config-router)#restart t3-timer manual 40
router isisPurpose Use this command to configure the IS-IS route protocol process.
Close the IS-IS route protocol process with the no form of thiscommand.
Command Modes Global configuration
Syntax router isis [vrf <vrf-name>]
no router isis [vrf <vrf-name>]
SyntaxDescription
vrf <vrf-name> VRF name, 1~16 characters
Defaults The IS-IS protocol is not started by default.
Instructions If the IS-IS protocol instance of this name has not yet been started,the command will start it and enter the IS-IS instance route con-figuration mode. If the VRF is configured, the IS-IS vpn instancewill be started.
Example This example describes how to configure the IS-IS route protocolprocess.ZXR10(config)#router isis
router-leakPurpose Use this command to configure the leak of IS-IS route information
of level-2 into level-1.
Command Modes Router configuration
Syntax router-leak level-2 into level-1 route-map <map-tag>
no router-leak level-2 into level-1
SyntaxDescription
route-map<map-tag>
Configures the route map
Example This example describes how to configure the router-leak of level-2into level-1.ZXR10(config)#router isisZXR10(config-router)#level-2 into level-1 metric 66 route-map 66ZXR10(config-router)#level-2 into level-1 metric-typeinternal route-map 66
120 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
set-overload-bitPurpose Use this command to set the overload bit of IS-IS. Delete the set-
ting with the no form of this command.
Command Modes Router configuration
Syntax set-overload-bit [on-start-up [<5-86400>| auto | wait-for-bgp]| suppress]{all | external | interlevel}
no set-overload-bit
SyntaxDescription
on-start-up Sets the overload bit upon the system startingup
<5-86400> When the on-start-up keyword is configured,causes the overload bit to be set upon systemstartup and remain set for the specifiednumber of seconds. The range is from 5 to86400 seconds
auto When the on-start-up keyword is configured,causes the overload bit to be set uponsystem startup and remain set for the time ofsynchronization of lsp data
wait-for-bgp When the on-start-up keyword is configured,causes the overload bit to be set uponsystem startup and remain set until BGP hasconverged
suppress Causes the type of prefix identified by thesubsequent keyword or keywords to besuppressed
all When the suppress keyword is configured,prevents the IP prefixes learned from anotherIS-IS level or other protocols from beingadvertised
external When the suppress keyword is configured,prevents the IP prefixes learned from otherprotocols from being advertised
interlevel When the suppress keyword is configured,prevents the IP prefixes learned from anotherIS-IS level from being advertised
Instructions If the current overload bit is automatically set because of the short-age of memory, the use of the no command will not purge thecurrent setting of the overload bit.
Example This example describes how to set the IS-IS overload bit.ZXR10(config)#router isisZXR10(config-router)#set-overload-bit
Confidential and Proprietary Information of ZTE CORPORATION 121
ZXR10 8900 Series Command Reference (IP Routing Volume I)
show isis adjacencyPurpose Use this command to display information about the current neigh-
bor.
Command Modes All modes
Syntax show isis adjacency [level-1 | level-2| up_time {level-1 |level-2}][vrf <vrf-name>]
SyntaxDescription
level-1 The router is in area level-1
level-2 The router is in area level-2
up_time The time that a neighbor has been up
vrf <vrf-name> VRF name, 1~16 characters
Instructions � If the VRF is configured, the adjacency information of the IS-ISvpn instance will be displayed.
� If the up_time is configured, either level-1 or level-2 afterup_time should be configured.
Example � This example describes how to show the current neighbor in-formation.ZXR10#show isis adjacencyInterface SystemID State Level HoldsNPA Priorityfei_1/1 0000.0a0a.0a0a UP L1 9 802.200:e0:63:06:05:c0 64fei_1/2 0000.0a0a.0303 UP/UP L1L2 8/8 802.200:e0:63:0b:44:c0 64/64fei_1/3 0000.0a0a.0505 UP/UP L1L2 7/7 802.200:e0:60:0b:06:c0 64/64
The displayed information is described below.
Field Description
Interface The name of the port.
System ID The neighbor ID in thexxxx.xxxx.xxxx format.
Status Including two formats: “UP” or “INIT”
Level Including three formats: “L1” “L2” or“L1L2”
Holds Hold time
SNPA The neighbor port address in the<snpa type>xx.xx.xx.xx.xx.xxformat.
Priority Election DIS priority
� This example shows how to show the up_time for currentneighbor.ZXR10 (config)#show isis adjacency up-time level-1Interface System id State Lev Holds Pri MT Time
122 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
fei_1/1 gar25 UP L1 7 64 000:00:00:14
The displayed information is described below.
Field Description
Interface The name of the port.
System ID The neighbor ID in the xxxx.xxxx.xxxxformat.
Status Including two formats: “UP” or “INIT”
Level Including three formats: “L1” “L2” or“L1L2”
Holds Hold time
Priority Election DIS priority
Time The time that the neighbor has been up
show isis circuitsPurpose Use this command to display information about the current inter-
face of IS-IS.
Command Modes All modes
Syntax show isis circuits [detail][vrf <vrf-name>]
SyntaxDescription
detail Detailed information
vrf <vrf-name> VRF name, 1~16 characters
Instructions If the VRF is configured, information about the circuit of IS-IS vpninstances will be displayed.
Example This example describes how to display information about currentinterfaces of IS-IS.ZXR10#show isis circuitsIS-IS interface database:Interface Status Level Circ Level 1 DR Level 2 DRL1/L2 Priorityfei_1/1 Up L1L2 1 Disabled Disabled10/10fei_1/2 Up L1L2 2 1234.5678.9122.11 1234.5678.9122.11-1164/64pos_1/1 Up L1L2 0 Point to point Point to point0/0ZXR10#show isis circuits detailInterface: fei_2/3Encapsulation:SAPCircuit Type:Level-1-2Level-1 Metric:10 Priority:64 LAN ID: 12A4.5678.9122.01-01Number of active adjacencies:1Next hello in 9 secondsLevel-2 Metric:10 Priority:64 Circuit ID: 1200.2222.2222.02-02Number of active adjacencies:1Next hello in 7 secondsInterface: pos_1/1Encapsulation:PPP
Confidential and Proprietary Information of ZTE CORPORATION 123
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Circuit Type:Level-1-2Level-1 Metric:10 Level-2 Metric:10 Circuit ID:0000.400a.0a05.02-02active Adj state:level-1-2Next hello in seconds:5
The description of the displayed fields is shown below.
Field Description
Interface Interface name
Status If the interface configured with IS-IS isstarted, the status will be “Up” other than“Down”
Level Level of the interface, it can be one of“L1”, “L2”, and“L1L2”
Circ ID of the interface
Level1 DR Router specified by Level 1 of theinterface, it can be one of these formats:“xxxx.xxxx.xxxx.xx”, “No found”,“Disabled”, “Dis is me”, and “Point topoint”
Level2 DR Router specified by Level 1 of theinterface, it can be one of theseformats:“xxxx.xxxx.xxxx.xx” “No found”“Disabled”, “Dis is me” and “Point topoint”
L1/L2 priority Priority of the L1/L2 specified by theinerface
Encapsulsation Type of the encapsulation of packets
Circuit Type Type of the interface, it can be oneof these kinds: Level-1, Level-2 andLevel-1-2
show isis databasePurpose Use this command to display information about current database
of IS-IS.
Command Modes All modes
Syntax show isis database [level-1 | level-2][detail][vrf <vrf-name>]
SyntaxDescription
detail Shows detailed information
level-1 The router is in area level-1
level-2 The router is in area level-2
vrf <vrf-name> VRF name, 1~16 characters
124 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
Instructions If the VRF is configured, information about the lsp database ofIS-IS vpn instances will be displayed.
Example � This example describes how to display information about cur-rent database of IS-IS .ZXR10#show isis databaseIS-IS level 1 link-state database:LSP ID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL1921.6800.5080-00-00 0x00000025 0x34E3 1078 0/0/01921.6800.5081-00-00 0x00000020 0Xd301 1103 1/0/0IS-IS level 2 link-state database:LSP ID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL1921.6800.5080-00-00 0x00000022 0x34E3 1078 0/0/01921.6800.5081-00-00 0x00000022 0Xd2A1 1103 1/0/0
The displayed information is described below.
Field Description
LSP ID LSP identifier in thexxxx.xxxx.xxxx.xx-xx format
LSP Seq Num LSP sequence number in the0xdddddddd format
LSP Checksum LSP checksum in the 0xdddd format
LSP Holdtime Amount of time that the LSP remainsvalid (in seconds)
ATT/P/OL Attach bit/p bit/overload bit
Attach bit: This bit indicates that therouter is also a Level 2 router, and itcan reach other areas.
P bit: This bit detects if the IS canrepair area partitions.
overload bit: This bit determines if theIS is congested. If the overload bitis set, other routers do not use thissystem as a transit router when theycalculate routes.
� This example shows detail information about current databaseof IS-IS .ZXR10#show isis database detailIS-IS level 1 link-state database:LSP ID LSP Seq Num LSP Checksum LSP HoldtimeATT/P/OL1921.6800.5080-00-00 0x00000022 0x34E3 1078 0/0/0NLPID:0xccArea Address:00.0001Metric 10 IS neighbor 1223.2232.1111-01Metric 10 IS neighbor 1001.AC32.11D1-023421.68AC.0010-00-00 0x00000022 0x34E3 1078 0/0/0NLPID:0xccArea Address:00.0001Metric 10 IS neighbor 1223.0755.1111-01Metric 10 IS neighbor 1001.AC32.0063-02
IS-IS level 2 link-state database:LSP ID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL1921.6800.5080-00-00 0x00000022 0x34E3 1078 0/0/0NLPID:0xccArea Address:00.0001Metric 10 IS neighbor 1223.2232.1111-01Metric 10 IS neighbor 1001.AC32.11D1-023421.68AC.0010-00-00 0x00000022 0x34E3 1078 0/0/0
Confidential and Proprietary Information of ZTE CORPORATION 125
ZXR10 8900 Series Command Reference (IP Routing Volume I)
NLPID:0xccArea Address:00.0001Metric 10 IS neighbor 1223.0755.1111-01Metric 10 IS neighbor 1001.AC32.0063-02
The displayed information is described below.
Field Description
IS neighbor IS neighbor
IP-Internal/IP-External
Reachable IP address
Area Address Reachable area address from the router
NLPID Network Layer Protocol identifier
Hostname Host name
IP address IPv4 address for the interface
Inter-Domain Info Inter-Domain information (tag)
Authentication type Type of authentication
show isis fast-reroute-topology
Purpose Use this command to display information about the topology offast reroute.
Command Modes All modes
Syntax show isis fast-reroute-topology {[level-1][level-2]}[vrf <vrf-name>]
SyntaxDescription
level-1 The router is in area level-1
level-2 The router is in area level-2
vrf <vrf-name> VRF name, 1~16 characters
Instructions This command is supported after the platform version 4.8.02.
Example This example shows how to display information about the topologyof fast reroute.gar15#show isis fast-reroute-topology level-1IS-IS ipfrr paths to Level-1 routersSystem id Interface Ipfrr interface Ipfrr type metric0001.0000.0001 interface fei_1/1 interface fei_1/1down-stream-path 10
126 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
show isis hostnamePurpose To display the router-name-to-system-ID mapping table entries
for an Intermediate System-to-Intermediate System (IS-IS)router, use the show isis hostname command.
Command Modes All modes
Syntax show isis hostname [vrf <vrf-name>]
SyntaxDescription
vrf <vrf-name> VRF name, 1~16 length
Example This example entering the show isis hostname command dis-plays the dynamic host mapping table.R1(config-router)#show isis hostnameLevel System id Hostname DynamicL1 0001.0000.0001 R1L2 0001.0000.0001 R1
show isis mesh-groupsPurpose Use this command to display IS-IS mesh group information.
Command Modes All modes
Syntax show isis mesh-groups {blocked | group}[vrf <vrf-name>]
SyntaxDescription
blocked LSP information is blocked on this interface
group Mesh group which the interface belongs to
vrf <vrf-name> VRF name, 1~16 characters
Instructions This command is supported after the platform version 4.8.02.
Example This example shows how to display IS-IS mesh group information.ZXR10(config-if)#show isis mesh-groups groupIS-IS mesh group 2fei_1/1ZXR10(config-if)#show isis mesh-groups blockedIS-IS mesh group [blocked]:fei_1/1
show isis nsfPurpose Use this command to display parameters of status related with
current graceful restart of IS-IS.
Command Modes All modes
Syntax show isis nsf vrf <vrf-name>
Confidential and Proprietary Information of ZTE CORPORATION 127
ZXR10 8900 Series Command Reference (IP Routing Volume I)
SyntaxDescription
vrf <vrf-name> VRF name, 1~16 characters
Instructions When routers are gracefully restarting, this command can be usedto look over parameters of relevant status.
Example This example describes how to display parameters of status relatedwith current graceful restart of IS-IS.ZXR10#show isis nsf
IS-IS NSF information:NSF is ENABLENSF mode is NormalNSF L1 active interface: 1NSF L2 active interface: 1NSF L1 T2 remaining: 20 secondsNSF L2 T2 remaining: 20 secondsNSF T3 using AdjacencyNSF T3 remaining: 10 seconds
Interface:fei_1/1NSF L1 restart state: restartNSF L1 helper in restart state: OtherNSF L1 T1 remaining: 5 secondsNSF L1 T1 retransmissions: 1NSF L2 restart state: restartNSF L2 helper in restart state: OtherNSF L2 T1 remaining: 5 secondsNSF L2 T1 retransmissions: 1
show isis topologyPurpose Use this command to display current IS-IS topology.
Command Modes All modes
Syntax show isis topology [level-1 | level-2][vrf <vrf-name>]
SyntaxDescription
level-1 The router is in area level-1
level-2 The router is in area level-2
vrf <vrf-name> VRF name, 1~16 characters
Example This example describes how to display current IS-IS topology.ZXR10#show isis topologyIS-IS paths to level-1 routersSystem Id Metric Next-Hop Interface SNPA0000.0000.0002 10 0000.0000.0002 fei_1/2 0000.0c03.6bc50000.0000.0005 --0000.0000.0053 10 0000.0000.0053 fei_1/2 0060.3e58.ccde
The displayed information is described below.
128 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
Field Description
System Id System identifier of the destination IS
Metric Metric of arriving at the destination IS “—”indicates itself “**” indicates routes of the IScannot be calculated
Next-Hop Next-hop IS to the destination IS; “no nexthop” indicates that next-hop IS cannot befound
Interface Interface of routes forwarding
SNPA Securing Networks with PIX and ASA (SNPA)address of next-hop; P-P interface tag:“*ppp*”
spf-intervalPurpose Use this command to specify the time interval for calculating SPF.
Restore the default time interval with the no form of this com-mand.
Command Modes Router configuration
Syntax spf-interval <interval>[level-1 | level-2]
no spf-interval [level-1 | level-2]
SyntaxDescription
<interval> Time interval in seconds, range: 1~120,default: 3 seconds
level-1 The router is in area level-1
level-2 The router is in area level-2
Defaults If level-1 or level-2 is not specified, this command acts at bothlevel-1 and level-2 at the same time.
Example This example describes how to configure the time interval for cal-culating SPF as 10 seconds.ZXR10(config)#router isisZXR10(config-router)#spf-interval 10ZXR10(config-router)#spf-interval 10 level-1ZXR10(config-router)#spf-interval 10 level-2
summary-addressPurpose Use this command to specify the summary address of IS-IS. Delete
the summary address of the specified level with the no form of thiscommand.
Command Modes Router configuration
Confidential and Proprietary Information of ZTE CORPORATION 129
ZXR10 8900 Series Command Reference (IP Routing Volume I)
Syntax summary-address <ip-address><net-mask><metric-value>[level-1 | level-1-2 | level-2]
no summary-address <ip-address><net-mask>
SyntaxDescription
<ip-address> Summary address allocated to a certain rangeof addresses, in the dotted decimal format
<net-mask> IP subnet mask for summarizing route, in thedotted decimal format
<metric-value> Metric value, range: 0~4261412864
level-1 Indicates that the redistribution informationinto Level 1 is summarized to Level 1according to the summary address
level-1-2 Indicates that the redistribution informationinto Level 1 is summarized to Level 1according to the summary address, and theredistribution information into Level 2 androuting information that Level 1 advertises toLevel 2 are summarized to Level 2 accordingto the summary address
level-2 Indicates that the redistribution informationinto Level 2 and routing information thatLevel 1 advertises to Level 2 are summarizedto Level 2 according to the summary address
Instructions The interface address enter the summary address of Level 1 otherthan that of Level 2.
If it is the metric-style narrow mode, the range of the <metric-value> will be 0~63. When it is the metric-style wide mode, therange of the <metric-value> will be 0~426142864.
Example This example describes how to configure the IS-IS address sum-mary.ZXR10(config)#router isisZXR10(config-router)#summary-address 192.168.0.0 255.255.0.0ZXR10(config-router)#summary-address 192.168.0.0 255.255.0.0 10ZXR10(config-router)#summary-address 192.168.0.0 255.255.0.0 10level-1ZXR10(config-router)#summary-address 192.168.0.0 255.255.0.0 10level-2
system-idPurpose Use this command to specify the system identifier of IS-IS. Delete
the system-id with the no form of this command.
Command Modes Router configuration
Syntax system-id <system-id>[range <range-number>]
no system-id
130 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 IS-IS Protocol
SyntaxDescription
<system-id> System identifier of the instance in 6-bytehex strings, in the xxxx.xxxx.xxxx format
range <range-number>
Expandable range of the system identifier,range: 0~32, default: 0. The instancewill use the ID value from <system-id> to<system-id> + <range-number>
Instructions � IS-IS protocol will not start until the system identifier is spec-ified.
� To change the system identifier, use the no form of this com-mand first to delete the old one.
Example This example describes how to set the system identifier of IS-IS.ZXR10(config)#router isisZXR10(config-router)#system-id 1111.1111.1111ZXR10(config-router)#system-id 1111.1111.1111 range 32
Confidential and Proprietary Information of ZTE CORPORATION 131