Sie sind auf Seite 1von 139

ZXR10

Router/Ethernet Switch
Command Manual (IPv4 Routing Volume I)

Version 4.8.22

ZTE CORPORATION
ZTE Plaza, Keji Road South,
Hi-Tech Industrial Park,
Nanshan District, Shenzhen,
P. R. China
518057
Tel: (86) 755 26771900
Fax: (86) 755 26770801
URL: http://ensupport.zte.com.cn
E-mail: support@zte.com.cn

Downloaded from www.Manualslib.com manuals search engine


LEGAL INFORMATION

Copyright © 2006 ZTE CORPORATION.

The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution of
this 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 CORPORATION
or 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 the
information contained herein.

ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subject
matter 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.0 Dec. 28, 2008 First Edition

Serial Number: sjzl20086531

Downloaded from www.Manualslib.com manuals search engine


About This Manual.............................................. i
Command Introduction .....................................1
Manual Use Guide........................................................... 1
Description of Man-Machine Commands ............................. 1
Auxiliary Function ........................................................... 2
Command Mode ............................................................. 3
RIP Protocol ......................................................7
address-family ipv4 vrf.................................................... 7
auto-summary ............................................................... 8
default-metric ................................................................ 8
disable interface ............................................................. 9
distance ........................................................................ 9
enable interface ............................................................10
exit-address-family........................................................10
flash-update-threshold ...................................................10
ip poison-reverse...........................................................11
ip rip authentication key .................................................11
ip rip authentication key-chain ........................................12
ip rip authentication mode ..............................................13
ip rip interface ..............................................................13
ip rip neighbor-restrict ...................................................14
ip rip notify default route ................................................15
ip rip only-send-subnet ..................................................15
ip rip originate default route............................................16
ip rip receive version......................................................16
ip rip send version .........................................................17
ip split-horizon ..............................................................17
maximum-paths ............................................................18
neighbor ......................................................................18
network .......................................................................19
offset-list......................................................................20
output-delay .................................................................20
redistribute...................................................................21
router rip .....................................................................22
show ip rip ...................................................................22
show ip rip database ......................................................23
show ip rip interface ......................................................23
show ip rip neighbors .....................................................24

Downloaded from www.Manualslib.com manuals search engine


show ip rip networks ......................................................24
timers basic ..................................................................25
validate-update-source...................................................26
version.........................................................................26
OSPF Protocol ................................................. 29
area authentication........................................................30
area filter-list ................................................................31
area nssa .....................................................................31
area range....................................................................33
area sham-link ..............................................................34
area stub .....................................................................36
area stub-host ..............................................................37
area virtual-link.............................................................38
auto-cost......................................................................40
bfd-all-interface ............................................................40
capability opaque ..........................................................41
capability vrf-lite ...........................................................41
clear ip ospf process ......................................................42
clear ip ospf redistribution ..............................................42
compatible rfc1583 ........................................................42
debug ..........................................................................43
default-metric ...............................................................43
disable area ..................................................................44
disable interface ............................................................44
disable ip ospf...............................................................45
distance ospf ................................................................45
distribute-list ................................................................46
domain-id.....................................................................47
domain-tag...................................................................48
enable area ..................................................................48
enable interface ............................................................49
enable ip ospf ...............................................................49
fast-reroute alternate-protect-type ..................................50
filter ............................................................................50
grace-period .................................................................51
ip ospf authentication.....................................................52
ip ospf authentication-key ..............................................52
ip ospf bfd ....................................................................53
ip ospf cost...................................................................53
ip ospf dead-interval ......................................................54

Downloaded from www.Manualslib.com manuals search engine


ip ospf fast-reroute ........................................................55
ip ospf hello-interval ......................................................55
ip ospf message-digest-key ............................................56
ip ospf mtu-ignore .........................................................56
ip ospf network .............................................................57
ip ospf priority ..............................................................58
ip ospf resync-timer.......................................................58
ip ospf retransmit-interval ..............................................59
ip ospf transmit-delay ....................................................59
maximum-paths ............................................................60
max-metric router-lsa ....................................................60
mpls traffic-eng area......................................................61
mpls traffic-eng router-id................................................62
neighbor ......................................................................62
network .......................................................................63
no area ........................................................................65
notify default route ........................................................65
nsf ..............................................................................66
passive-interface ...........................................................67
redistribute...................................................................67
router ospf ...................................................................69
router-id ......................................................................70
show ip ospf .................................................................70
show ip ospf border-lfas .................................................72
show ip ospf border-routers ............................................73
show ip ospf database....................................................74
show ip ospf interface ....................................................84
show ip ospf mpls traffic-eng link.....................................86
show ip ospf neighbor ....................................................87
show ip ospf nsf ............................................................89
show ip ospf request-list.................................................90
show ip ospf retransmission-list.......................................91
show ip ospf virtual-links ................................................91
summary-address..........................................................92
timers lsa-group-pacing .................................................93
timers spf.....................................................................93
IS-IS Protocol ................................................. 95
area ............................................................................96
authentication ...............................................................96
authentication-type .......................................................97

Downloaded from www.Manualslib.com manuals search engine


default-information originate...........................................97
disable .........................................................................98
disable-snp-authentication..............................................99
distance .......................................................................99
enable .........................................................................99
enable-snp-authentication ............................................ 100
fast-reroute ................................................................ 100
hello padding .............................................................. 101
hostname ................................................................... 101
ignore-lsp-errors ......................................................... 102
ip router isis ............................................................... 102
isis authentication ....................................................... 103
isis authentication-type ................................................ 103
isis bfd-enable ............................................................ 104
isis circuit-type............................................................ 104
isis csnp-interval ......................................................... 105
isis hello-interval ......................................................... 105
isis hello-multiplier ...................................................... 106
isis ignore-mtu............................................................ 106
isis lsp-interval............................................................ 107
isis ipv6 metric............................................................ 107
isis max-burst ............................................................. 108
isis mtu...................................................................... 108
isis mesh-group .......................................................... 109
isis metric .................................................................. 109
isis priority ................................................................. 110
isis psnp-interval ......................................................... 110
isis restart .................................................................. 111
is-type ....................................................................... 111
i-spf .......................................................................... 112
lsp-refresh-time .......................................................... 112
lsp-mtu ...................................................................... 113
max-lsp-lifetime .......................................................... 113
maximum-paths .......................................................... 114
metric-style ................................................................ 114
mpls traffic-eng........................................................... 115
passive-interface ......................................................... 115
redistribute................................................................. 116
restart ....................................................................... 116
router isis................................................................... 117

Downloaded from www.Manualslib.com manuals search engine


router-leak ................................................................. 118
set-overload-bit .......................................................... 118
show isis adjacency ..................................................... 119
show isis circuits ......................................................... 121
show isis database....................................................... 122
show isis fast-reroute-topology...................................... 124
show isis hostname...................................................... 124
show isis mesh-groups ................................................. 125
show isis nsf ............................................................... 125
show isis topology ....................................................... 126
spf-interval ................................................................. 127
summary-address........................................................ 127
system-id ................................................................... 128

Downloaded from www.Manualslib.com manuals search engine


Downloaded from www.Manualslib.com manuals search engine
About This Manual

Purpose This manual provides procedures and guidelines that support the
operation of ZXR10 router and Ethernet switch.
Intended This manual is intended for engineers and technicians who perform
Audience operation activities on ZXR10 router and Ethernet switch.
What Is in This This manual contains the following chapters:
Manual
Chapter Summary

Chapter 1, Command This chapter describes the use method


Introduction of the command manual, command
description, format convention, auxiliary
function and mode.

Chapter 2, RIP Protocol This chapter describes commands of RIP


protocol.

Chapter 3, OSPF Protocol This chapter describes commands of OSPF


protocol.

Chapter 4, IS-IS Protocol This chapter describes commands of IS-IS


protocol.

Related The following documentation is related to this manual:


Documentation
� ZXR10 Router/Ethernet Switch Command Manual (Command
Index Volume)
� ZXR10 Router/Ethernet Switch Command Manual (Ethernet
Switch Volume)
� ZXR10 Router/Ethernet Switch Command Manual (Basic Con-
figuration Volume I)
� ZXR10 Router/Ethernet Switch Command Manual (Basic Con-
figuration Volume II)
� ZXR10 Router/Ethernet Switch Command Manual (Basic Con-
figuration Volume III)
� ZXR10 Router/Ethernet Switch Command Manual (Remote Ac-
cess Volume)
� ZXR10 Router/Ethernet Switch Command Manual (IPv4 Rout-
ing Volume II)
� ZXR10 Router/Ethernet Switch Command Manual (MPLS Vol-
ume)
� ZXR10 Router/Ethernet Switch Command Manual (QoS Vol-
ume)
� ZXR10 Router/Ethernet Switch Command Manual (Security
Volume)
� ZXR10 Router/Ethernet Switch Command Manual (Network
Management Volume)

Confidential and Proprietary Information of ZTE CORPORATION i

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

� ZXR10 Router/Ethernet Switch Command Manual (Multicast


Volume)
� ZXR10 Router/Ethernet Switch Command Manual (IPv6 Vol-
ume)
� ZXR10 Router/Ethernet Switch Command Manual (Voice and
Video Service Volume)

ii Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 1

Command Introduction

Table of Contents
Manual Use Guide............................................................... 1
Description of Man-Machine Commands ................................. 1
Auxiliary Function ............................................................... 2
Command Mode ................................................................. 3

Manual Use Guide


The commands in other volumes are classified by functional mod-
ules, and each functional module corresponds to a chapter and
the commands in the chapter are organized in the form of level 2
directory and in the order of a–z.
To search a command, do as follows:
1. Find the desired command by referring to ZXR10 Router/Eth-
ernet Switch Command Manual — Command Index.
2. Find command details by the volume, chapter/section and page
of the obtained command.

Description of Man-Machine
Commands
Each MML command is described by the following items:
� Function
It describes the function implemented by this command.
� Command Mode
It describes the mode in which this command can be executed.
� Format
It describes the complete format of this command, including
the no format if possible.
� Parameter Description
It describes parameters in this command in the form and pre-
scribes the range and default value. If different products have

Confidential and Proprietary Information of ZTE CORPORATION 1

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

different parameter ranges or default values, an additional


form is used for description.
� Default
The default value is available in the case that this command is
not set. The default parameter value is not described here for
value selection.
Additional description shall be given if different products have
different default values.
� Instructions
First describes the platform version information about this
command. For example, “The platform version X.X.XX or later
supports this command” indicates this command is provided
from the beginning of the platform version X.X.XX. This com-
mand is provided from the platform version 2.6 by default.
Second describes the use method and precautions of this com-
mand.
� Example
It describes the use of this command in an example.
� Related Commands
Lists the command(s) related to this command.
� History Command
It describes history version information related to this com-
mand if a command is changed after version upgrade.
Do not describe the history command if this entry does not exist.

Auxiliary Function
The auxiliary function for ZXR10 devices is as follows.
1. In any command mode, enter a question mark (?) after the
DOS prompt of the system, a list of available commands in the
command mode will be displayed. With the context-sensitive
help function, the keywords and parameter lists of any com-
mands can be obtained.
i. In any command mode, enter a question mark "?" after the
DOS prompt of the system, and a list of all commands in
the mode and the brief description of the commands will
be displayed.
ii. Input the question mark behind a character or character
string to view the list of commands or keywords beginning
with this character or character string. Note that there is
no space between the character (string) and the question
mark.
iii. Press TAB behind the character string. If the command or
keyword beginning with this character string is unique, it
shall be completed with a space at the end. Note that there
is no space between the character string and the TAB.

2 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 1 Command Introduction

iv. Input a question mark after a command, a keyword or a


parameter, the next keyword or parameter to be input will
be listed, and also a brief explanation will be given. Note
that a space must be entered before the question mark.
2. If incorrect command, keyword or parameter is input, the error
isolation is offered with ^ in the user interface after you press
ENTER. The ^ is below the first character of the input incorrect
command, keyword or parameter.
3. ZXR10 router/Ethernet switch allows the command or key-
word to be abbreviated into a character or character string that
uniquely identifies this command or keyword. For example, the
show command can be abbreviated to sh or sho.
4. The user interface supports the function of recording input
commands. A maximum of ten history commands can be
recorded. The function is very useful in re-invocation of a long
or complicated command or ingress.
To re-invoke a command from the record buffer, conduct one
of the following operations, as shown below.

Command Function

Press CTRL-P or the Re-invokes the latest command in the


up arrow key record buffer. Repeat these keys to
invoke old commands forwards.

Press CTRL-N or the Rolls the commands downward. When the


down arrow key last command line is reached, one more
operation will roll the commands from the
begging of the buffer cyclically.

In any mode, execute the show history command to list the


latest commands input in this mode.

Command Mode
The command modes in this manual are shown below.

Mode Prompt Admis- Entry Functions


sion Command
Mode

Exec ZXR10> enters directly Views simple


mode after logging information
the system

Privi- ZXR10# Exec enable Configures


leged mode system
mode parameters

Global ZXR10(config)# Privi- configure Configures


config- leged terminal global service
uration mode parameters
mode

Confidential and Proprietary Information of ZTE CORPORATION 3

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Mode Prompt Admis- Entry Functions


sion Command
Mode

Inter- ZXR10(config- Global interface Configures


face if)# config- port
config- uration parameters
uration mode and selects
mode a port type
depending on
the keyword

Subin- ZXR10 (config- Global interface Configures


terface subif)# config- subinterface
mode uration parameters
mode of the
NPCI/NPCT

VLAN ZXR10(vlan- Privi- vlan datab Creates or


data- db)# leged ase deletes VLANs
base mode in batches
config-
uration
mode

VLAN ZXR10(config- Global vlan Configures


config- vlan)# config- VLAN
uration uration parameters
mode mode

MSTP ZXR10(config- Global spanning-t Configures


config- mstp)# config- ree mst conf MSTP
uration uration iguration parameters
mode mode

Basic ZXR10(config- Global acl basic Defines basic


ACL basic-acl)# config- ACL rule
config- uration
uration mode
mode

Ex- ZXR10(config- Global acl extend Defines


tended ext-acl)# config- extended ACL
ACL uration rule
config- mode
uration
mode

Line ZXR10(config- Global line console Configures


config- line)# config- 0 parameters
uration uration related to
mode mode line <1~64 serial port
>(GAR) and telnet
connection

Layer ZXR10(config- Global acl link Defines layer


2 ACL link-acl)# config- 2 ACL rule
config- uration
uration mode
mode

4 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 1 Command Introduction

Mode Prompt Admis- Entry Functions


sion Command
Mode

Hybrid ZXR10(config- Global acl hybrid Defines hybrid


ACL hybd-acl)# config- ACL rule
config- uration
uration mode
mode

Router ZXR10 (config- Global ip access-list Defines router


stand- std-nacl)# config- standard ACL
ard ACL uration rule
mode mode

Router ZXR10 (config- Global ip access-list Defines router


ex- ext-nacl)# config- extended ACL
tended uration rule
ACL mode
mode

Route ZXR10(config- Global router rip Configures


config- router)# config- RIP
uration uration parameters
mode mode
router ospf Configures
OSPF
parameters

router isis Configures


IS-IS
parameters

router bgp Configures


BGP
parameters

router Configures
pimsm PIM-SM
parameters

ipv6 router Configures


rip RIPng
parameters.

ipv6 router Configures


ospf OSPFv3
parameters

VRF ZXR10(config- Global ip vrf Configures


config- vrf)# config- VRF
uration uration parameters
mode mode

VFI con- ZXR10(config- Global vfi Configures


figu- vfi)# config- VPLS related
ration uration parameters
mode mode

Confidential and Proprietary Information of ZTE CORPORATION 5

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Mode Prompt Admis- Entry Functions


sion Command
Mode

IPv4 ad- ZXR10(config- Route address-fam Configures


dress router-af)# config- ily ipv4 vrf RIP VRF
family uration parameters
config- mode
uration (RIP)
mode
Route address-fam Configures
config- ily vpnv4 BGP VPN
uration address-fam and VRF
mode ily ipv4 vrf parameters
(BGP)

IPv6 ZXR10(config- Route address-fam Configures


unicast router-af)# config- ily ipv6 BGP4+
address uration unicast
family mode address family
config- (BGP4+)
uration
mode Route address-fam Configures
config- ily ipv6 IS-ISv6
uration address family
mode
(IS-
ISv6)

Route ZXR10(config- Global route-map Configures


map route-map)# config- route map
config- uration matching item
uration mode and operation
mode

Channe- ZXR10(config- Global control Configures


lization control)# config- channelization
config- uration for ce1, ce3
uration mode and cpos3
mode

Dial ZXR10(config- Global dial-peer Configures


peer voip100)# config- voice business
config- uration related to
uration mode integrated
mode service

Voice ZXR10(config- Global voice-port Configures


port voice-port)# config- voice service
config- uration
uration mode
mode

IPSec ZXR10(config- Global ipsec Configures


config- ipsec)# config- IPv6 IPSec
uration uration protection
mode mode

Diagno- ZXR10(diag)# Privi- diagnose Tests CPU


sis mode leged and memory
mode usage

6 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 2

RIP Protocol

Table of Contents
address-family ipv4 vrf........................................................ 7
auto-summary ................................................................... 8
default-metric .................................................................... 8
disable interface ................................................................. 9
distance ............................................................................ 9
enable interface ................................................................10
exit-address-family............................................................10
flash-update-threshold .......................................................10
ip poison-reverse...............................................................11
ip rip authentication key .....................................................11
ip rip authentication key-chain ............................................12
ip rip authentication mode ..................................................13
ip rip interface ..................................................................13
ip rip neighbor-restrict .......................................................14
ip rip notify default route ....................................................15
ip rip only-send-subnet ......................................................15
ip rip originate default route................................................16
ip rip receive version..........................................................16
ip rip send version .............................................................17
ip split-horizon ..................................................................17
maximum-paths ................................................................18
neighbor ..........................................................................18
network ...........................................................................19
offset-list .........................................................................20
output-delay .....................................................................20
redistribute.......................................................................21
router rip .........................................................................22
show ip rip .......................................................................22
show ip rip database ..........................................................23
show ip rip interface ..........................................................23
show ip rip neighbors .........................................................24
show ip rip networks ..........................................................24
timers basic ......................................................................25
validate-update-source.......................................................26
version ............................................................................26

address-family ipv4 vrf


Purpose Use this command to enter the VRF address mode configuration,
or create and enter it if it does not exist. Delete this address mode
with the no command.

Confidential and Proprietary Information of ZTE CORPORATION 7

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Command Modes Router configuration


Syntax address-family ipv4 vrf <vrf-name>
no address-family ipv4 vrf <vrf-name>
Syntax
Description
<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 rip
ZXR10(config-router)#address-family ipv4 vrf vpn1
ZXR10(config-router-af)#

auto-summary
Purpose 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 to
be sent.
� Even if the command auto-summary is configured, Please
mention the following policies which are still effective:
Router has an interface address and this interface address in
a natural network segment, which is a sub network segment
of RIP protocol. RIP update packet sends from this interface
without natural network routing, but with other RIP sub net-
work routings, which belong to a different sub network with
the interface.

default-metric
Purpose 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

8 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 2 RIP Protocol

Syntax
Description
<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 have
the same metric value used for the current routing protocol and
all re-distributing route. The default metric helps solve the route
re-distributing problems that are caused by different metrics.
When the metric is not changed, the default metric provides a
reasonable alternative method to facilitate the re-distributing.
Related redistribute
Commands

disable interface
Purpose 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>
Syntax
Description
<ip-address> IP address of the specified RIP interface, in
the 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 rip
ZXR10(config-router)#disable interface 10.20.1.20

Related enable interface


Commands

distance
Purpose 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
Syntax
Description
<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 9

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Example This example describes how to configure the route priority of the
IS-IS.
ZXR10(config)#router isis
ZXR10(config-router)#distance 120

enable interface
Purpose Use this command to start the RIP protocol on an interface.
Command Modes Router configuration and address family configuration
Syntax enable interface <ip-address>
Syntax
Description
<ip-address> IP address of the specified RIP interface, in
the 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 rip
ZXR10(config-router)#enable interface 10.20.1.20

Related disable interface


Commands

exit-address-family
Purpose 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 rip
ZXR10(config-router)#address-family ipv4 vrf vpn1
ZXR10(config-router-af)#exit-address-family
ZXR10(config-router)#

Related address-family ipv4 vrf


Commands

flash-update-threshold
Purpose Use this command to define the RIP flash timer. Restore default
with the no command.

10 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 2 RIP Protocol

Command Modes Router configuration


Syntax flash-update-threshold <threshold>
no flash-update-threshold
Syntax
Description
<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 rip
ZXR10(config-router)#flash-update-threshold 10

ip poison-reverse
Purpose 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 of
route 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 the
network load is large, the poison reverse should be disabled.
Example This example describes how to enable the poison reverse of the
interface fei_1/1.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip poison-reverse

ip rip authentication key


Purpose Use this command to specify the key for the simple text authen-
tication of the interface. Delete the key with the no form of this
command.
Command Modes Interface configuration
Syntax ip rip authentication key <key>
no ip rip authentication key

Confidential and Proprietary Information of ZTE CORPORATION 11

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Syntax
Description
<key> Valid key, 1~16 characters

Defaults There is no key by default.


Instructions � When the key is not configured with the key command, the
authentication will not be performed on the interface.
� This command needs to work with the ip rip authentication
mode text command.
Example This example describes how to configure the key zxr10 on the
fei_1/1 interface.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rip authentication key zxr10

Related ip rip authentication mode


Commands

ip rip authentication
key-chain
Purpose Use this command to configure to provide the key-chain for the
MD5 authentication of an interface. Delete a key node with the no
form 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>
Syntax
Description
<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 authentication
mode md5 command.
Example This example describes how to configure the key-chain 1 as abcd
on the fei_1/1 interface and delete it.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rip authentication key_chain 1 abcd
ZXR10(config-if)#no ip rip authentication key_chain 1

12 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 2 RIP Protocol

Related ip rip authentication mode


Commands

ip rip authentication mode


Purpose Use this command to specify the authentication type for the RIP
version 2 message packets. Clear the authentication with the no
form of this command.
Command Modes Interface configuration
Syntax ip rip authentication mode {text | md5}
no ip rip authentication mode
Syntax
Description
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 authentication
on the fei_1/1 interface.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rip authentication mode md5

Related ip rip authentication key


Commands
ip rip authentication key_chain

ip rip interface
Purpose Use this command to configure the method to send/receive route
information on an interface. Restore default with the no form of
this command.
Command Modes Interface configuration
Syntax ip rip interface {passive | active}
no ip rip interface
Syntax
Description
passive Enables an interface only to receive but not
to send RIP route update information.

active Enables an interface only to send but not to


receive 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 occupation
of the network.

Confidential and Proprietary Information of ZTE CORPORATION 13

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

� The ip rip interface passive command often works with the


neighbor command to have the router only send route to the
specified neighbor, so as to reduce the bandwidth occupation
of the network.
� The ip rip interface active command is usually used when
the LAN only needs to report the route information inside its
subnet to the upper-level server.
Example This example describes how to configure the interface fei_1/1 to
receive only but not send the RIP route information.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rip interface passive

ip rip neighbor-restrict
Purpose 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 with
CISCO neighbor mode.
Instructions In the interface neighbor restriction mode, if the interface is not
configured with any neighbor, the neighbor can be found but the
unicast packets sent by the neighbor cannot be found, and only
the multicast packets are sent. Here, packets can be received
from the found neighbor.
When a neighbor is configured, the neighbor that is found before
on the interface will be deleted, and no neighbor can be found any
more. At the same time, the interface sends unicast packets to
the configured neighbor. Here, packets can be received only from
the configured neighbor, while the packets from other sources will
be discarded.
In no ip rip neighbor-restrict mode, the neighbor can be found
no matter whether a neighbor is configured on the interface. For
the configured neighbor, the unicast packet is sent; while for the
found neighbor, no unicast packet will be sent. The packets can
be 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/1
ZXR10(config-if)#ip rip neighbor-restrict

14 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 2 RIP Protocol

Related neighbor
Commands

ip rip notify default route


Purpose Use this command to configure an interface to advertise default
route when the default route exists on this router. Disable this
feature with the no form of this command.
Command Modes Interface configuration
Syntax ip rip notify default route [only]
no ip rip notify default route
Syntax
Description
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 default
route 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/1
ZXR10(config-if)#ip rip notify default route

Related ip rip originate default route


Commands

ip rip only-send-subnet
Purpose 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 information
of the subnet of the different network from the interface address.
Example This example advertises the information of the subnet of the same
network as the interface address.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rip only-send-subnet

Confidential and Proprietary Information of ZTE CORPORATION 15

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

ip rip originate default route


Purpose Use this command to generate a default route on the interface and
force the advertisement of it. Disable this feature with the no form
of this command.
Command Modes Interface configuration
Syntax ip rip originate default route [only]
no ip rip originate default route
Syntax
Description
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 of
the local router.
Example This example describes how to generate and force to advertise a
default route on the interface fei_1/1.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rip originate default route

Related ip rip notify default route


Commands

ip rip receive version


Purpose Use this command to specify the RIP version which is received on
the interface. Restore the status of global version configuration
with the no form of this command.
Command Modes Interface configuration
Syntax ip rip receive version [1 | 2]
no ip rip receive version
Syntax
Description
1 The interface only receives the RIP packets
of version 1

2 The interface only receives the RIP packets


of version 2

Defaults It depends on the version command. If the version command


is not configured, the default value will be used, that is, versions
both 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/1
ZXR10(config-if)#ip rip receive version 1

16 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 2 RIP Protocol

ip rip send version


Purpose Use this command to specify the RIP version sent on the interface.
Restore to the global version configuration status with the no form
of this command.
Command Modes Interface configuration
Syntax ip rip send version {1 | 2 {broadcast | multicast}}
no ip rip send version
Syntax
Description
1 The interface only sends the packets of RIP
version 1.

2 The interface only sends the packets of RIP


version 2. When it is version 2, the broadcast
or multicast mode can be chosen.

broadcast The interface sends the compatible packet


to the broadcast address. All routes are the
classful networks, and the supernet route is
not sent.

multicast The interface sends the packet of version 2


to the multicast address. The subnet route
can be sent depending on auto-summary
command.

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 configured
interfaces.
Example This example specifies the interface fei_1/1 to send the RIP version
1 packets and version 2 multicast packets.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rip send version 1
ZXR10(config-if)#ip rip send version 2 multicast

ip split-horizon
Purpose 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 status
of the command ip split-horizon, unless because of the cor-
rect route advertisement it has no choice but to change the
default satus in the application system. If the split horizon is
disabled on the serial interface (and the interface is connected

Confidential and Proprietary Information of ZTE CORPORATION 17

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

with the packet switching network), the split horizon must be


disabled for all the routers and access servers in the related
multicast 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 of
split horizon. And the no ip split-horizon command can be
definitely specified as the replacement of it in the configuration.
If so, the split horizon, however , must be disabled for all the
routers in the related multicast groups of the network.
Example This example describes how to disable the split horizon mechanism
in the serial link.
ZXR10(config)#interface serial_1/1
ZXR10(config-if)#no ip split-horizon

maximum-paths
Purpose 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
Syntax
Description
<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 load
balance.
Example This example changes the number of path the load balancing sup-
ports into 2.
ZXR10(config)#router rip
ZXR10(config-router)#maximum-paths 2

neighbor
Purpose Use this command to define the adjacent routers that exchange
route information with local router. Delete the adjacent routers
with the no form of this command.
Command Modes Router configuration and address family configuration
Syntax neighbor <ip-address>
no neighbor <ip-address>

18 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 2 RIP Protocol

Syntax
Description
<ip-address> IP address of the peer router exchanging
route information with local router, in the
form of dotted decimal

Defaults No neighbor is configured.


Instructions � This command allows exchanging the RIP route information in
the point-to-point (non-broadcast) mode. Once a neighbor is
specified, the interface that is in the same network as local
interface will not exchange the RIP route information in the
broadcast (multicast) mode.
� When the use of the ip rip interface passive command on
some interface make it only receive but not send route infor-
mation, then after the use of the neighbor command can allow
the router to exchange route information with the neighbor on
this interface.
� Use multiple neighbor commands to specify additional adja-
cency routers or the peer routers.
� Recently 255 neighbors, at most, can be found or configured
at the same time.
Example This example configures the address 10.10.10.2 as the neighbor
router.
ZXR10(config)#router rip
ZXR10(config-router)#neighbor 10.10.10.2

Related ip rip neighbor-restrict


Commands
ip rip interface passive

network
Purpose 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>
Syntax
Description
<ip-address> directly connected IP address of the network ,
in the form of dotted decimal

<net-mask> Inverse mask of the network number, in the


form of dotted decimal

Defaults This command is disabled by default.


Instructions � Multiple network commands can be specified. The RIP route
update information can be sent or received only through these
network interfaces.

Confidential and Proprietary Information of ZTE CORPORATION 19

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

� The RIP sends the update information to the specified network


interface. If some network of interface is not specified, there
will be no advertisement of RIP update.
Example This example describes how to specify the network for the RIP
routing.
ZXR10(config)#router rip
ZXR10(config-router)#network 202.102.3.0 0.0.0.255

Related router rip


Commands

offset-list
Purpose 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 no
offset in metric when route is received or sent with the no form of
this 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 <inter
face-name>]
Syntax
Description
<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 only
for the specified interface.
Example This example adds the offset 2 to the metric value of the received
route corresponding to the access list 3.
ZXR10(config)#router rip
ZXR10(config-router)#offset-list 3 in 2

output-delay
Purpose Use this command to change the delay among the group of pack-
ets RIP update sends. Restore default with the no form of this
command.
Command Modes Router configuration
Syntax output-delay <packets><delay>

20 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 2 RIP Protocol

no output-delay
Syntax
Description
<packets> Number of packets, 1~4294967295

<delay> Delay among multiple packets RIP update


sends. 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 a
high speed, the low-speed router cannot receive the packets at
the high speed at all. In that case, it is considerable to use this
command to prevent the routing table losing information.
Example This example sets the configuration of interval among 580 packets
to 10 milliseconds.
ZXR10(config)#router rip
ZXR10(config-router)#output-delay 580 10

redistribute
Purpose Use this command to redistribute routes from one route domain
to the RIP route domain. Cancel redistributing the route with the
no 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]
Syntax
Description
<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-val Specifies the value of route metric to introduce


ue> the route. If not specified, the route metric
will use the default-metric. range: 0~16

route-map The name of the route map for redistribution,


<map-tag> 1~16 characters

Defaults This command is disabled by default.


Instructions The redistribute command introduces routes of other protocol
with a certain metric value. The RIP regards the introduced routed
as a part of its own routes and uses a specified metric to send
them together. This command greatly improves the capability of
obtaining 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 rip
ZXR10(config-router)#default-metric 5
ZXR10(config-router)#redistribute ospf-ext

Confidential and Proprietary Information of ZTE CORPORATION 21

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Related default-metric
Commands
route-map

router rip
Purpose 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 rip
ZXR10(config-router)#

Related network
Commands

show ip rip
Purpose Use this command to display basic information about the running
of RIP.
Command Modes All modes
Syntax show ip rip [vrf <vrf-name>]
Syntax
Description
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 user
can make sure whether the configuration is correct and make a
diagnosis 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 rip
router rip
auto-summary
default-metric 1
distance 120
validate-update-source
version 2
flash-update-threshold 5
maximum-paths 1
output-delay 5 100
timers basic 30 180 180 240
network

22 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 2 RIP Protocol

10.0.0.0 0.255.255.255

show ip rip database


Purpose 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>]]
Syntax
Description
vrf <vrf-name> VRF name, 1~16 characters

network <ip-addre Number of network, in the form of dotted


ss> decimal

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 can
make sure whether the current RIP routing table is correct.
Example This example displays the route entries generated by the protocol
of RIP.
ZXR10#show ip rip database
Pref Routes
h : is possibly down,in holddown time
f : 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 interface


Purpose Use this command to display information about RIP interface.
Command Modes All modes
Syntax show ip rip interface [vrf <vrf-name>]<interface-name>
Syntax
Description
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/1
interface.

Confidential and Proprietary Information of ZTE CORPORATION 23

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

ZXR10#show ip rip interface fei_1/1


ip address:
10.10.30.4
receive version 1 2
send version 2
split horizon is effective

show ip rip neighbors


Purpose Use this command to display information about RIP neighbors.
Command Modes All modes
Syntax show ip rip neighbors [vrf <vrf-name>]
Syntax
Description
vrf <vrf-name> VRF name, 1~16 characters

Defaults This command is disabled by default.


Instructions Use this command to display information about he adjacency
router learned through receiving RIP packets.
Example This example displays information about adjacent router learned
through receiving RIP packets.
ZXR10#show ip rip neighbors
neighbor address interface
10.1.1.15 fei_1/3

show ip rip networks


Purpose Use this command to show RIP networks which users configure.
Command Modes All modes
Syntax show ip rip networks [vrf <vrf-name>]
Syntax
Description
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 networks
networks wildmask
10.10.30.0 0.0.0.255
40.1.1.0 0.0.0.255
130.1.0.0 0.0.255.255
151.1.1.1 0.0.0.0

24 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 2 RIP Protocol

Related network
Commands

timers basic
Purpose 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
Syntax
Description
<update> The rate of update sending, unit: second,
range: 1~65535, default: 30 seconds. This is
the basic parameter of the routing protocol

<invalid> Period before route’s advertisement of


invalidity, unit: second, range: 1~65535. It
is recommended to set this value as more
than 3 times of the value of the parameter
update, default: 180. During the slot of
the parameter invalid from the moment of
receiving some route, if there is no refreshing
of the route , it will be ineffective and then
in the state of holdown. If the parameter
holddown is configured as 0, the flush timer
will be directly started

<holddown> Period for suppressing a better route, unit:


second, range: 0~65535. It is recommended
to set this value as more than 3 times of
the value of the parameter update, default:
180. When routers receive update packets
and the received routes are unreachable, or
in case that the route is ineffective because
the invalid timer expires, the route will be
in the state of holddown and be marked
as inaccessible. However, the route will
be still used to forward packets. After the
slot of holddown, the route advertised by
other sources is acceptable, and the route is
accessible again

<flush> Period from the invalidity of route to the


clearing of it, unit: second, range: 1~65535,
default: 240. The specified value of it must
be more than or equal to the holddown value.
If it is less than the holddown value, There will
be new routes received before the holdtime
timer 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 25

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Caution:
If the update period is too short, it may cause congestion in the
low-speed serial line. while it will not cause big problems in the
high-speed serial line of the fast Ethernet. In addition, if there are
many routes to be updated, it may cost the router a great deal of
time 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 in
15 seconds, it will make an advertisement that the route is un-
reachable. The remaining information will be suppressed in the
subsequent 15 seconds. The route entry will be cleared from the
routing table after the suppression period.
ZXR10(config)#router rip
ZXR10(config-router)#timers basic 5 15 15 30

validate-update-source
Purpose 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 RIP
update packets from the interface. The packets will be received
only 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 the
source IP addresses of RIP update packets.
ZXR10(config)#router rip
ZXR10(config-router)#network 128.105.0.0
ZXR10(config-router)#no validate-update-source

version
Purpose 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

26 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 2 RIP Protocol

Syntax
Description
1 Specify RIPv1 as the version received and
sent

2 Specify RIPv2 as the version received and


sent

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

Related ip rip receive version


Commands
ip rip send version

Confidential and Proprietary Information of ZTE CORPORATION 27

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

This page is intentionally blank.

28 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3

OSPF Protocol

Table of Contents
area authentication............................................................30
area filter-list ....................................................................31
area nssa .........................................................................31
area range........................................................................33
area sham-link ..................................................................34
area stub .........................................................................36
area stub-host ..................................................................37
area virtual-link.................................................................38
auto-cost..........................................................................40
bfd-all-interface ................................................................40
capability opaque ..............................................................41
capability vrf-lite ...............................................................41
clear ip ospf process ..........................................................42
clear ip ospf redistribution ..................................................42
compatible rfc1583 ............................................................42
debug ..............................................................................43
default-metric ...................................................................43
disable area......................................................................44
disable interface ................................................................44
disable ip ospf...................................................................45
distance ospf ....................................................................45
distribute-list ....................................................................46
domain-id.........................................................................47
domain-tag.......................................................................48
enable area ......................................................................48
enable interface ................................................................49
enable ip ospf ...................................................................49
fast-reroute alternate-protect-type ......................................50
filter ................................................................................50
grace-period .....................................................................51
ip ospf authentication.........................................................52
ip ospf authentication-key ..................................................52
ip ospf bfd ........................................................................53
ip ospf cost.......................................................................53
ip ospf dead-interval ..........................................................54
ip ospf fast-reroute ............................................................55
ip ospf hello-interval ..........................................................55
ip ospf message-digest-key ................................................56
ip ospf mtu-ignore .............................................................56
ip ospf network .................................................................57
ip ospf priority ..................................................................58
ip ospf resync-timer...........................................................58
ip ospf retransmit-interval ..................................................59
ip ospf transmit-delay ........................................................59
maximum-paths ................................................................60
max-metric router-lsa ........................................................60

Confidential and Proprietary Information of ZTE CORPORATION 29

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

mpls traffic-eng area..........................................................61


mpls traffic-eng router-id....................................................62
neighbor ..........................................................................62
network ...........................................................................63
no area ............................................................................65
notify default route ............................................................65
nsf ..................................................................................66
passive-interface ...............................................................67
redistribute.......................................................................67
router ospf .......................................................................69
router-id ..........................................................................70
show ip ospf .....................................................................70
show ip ospf border-lfas .....................................................72
show ip ospf border-routers ................................................73
show ip ospf database........................................................74
show ip ospf interface ........................................................84
show ip ospf mpls traffic-eng link.........................................86
show ip ospf neighbor ........................................................87
show ip ospf nsf ................................................................89
show ip ospf request-list.....................................................90
show ip ospf retransmission-list...........................................91
show ip ospf virtual-links ....................................................91
summary-address..............................................................92
timers lsa-group-pacing .....................................................93
timers spf.........................................................................93

area authentication
Purpose 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]
Syntax
Description
<area-id> Area identifier, a decimal number
(0~4294967295) or a dotted decimal IP
address

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 1
ZXR10(config-router)#area 1 authentication message-digest

30 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

area filter-list
Purpose Use this command to filter the information of network routing be-
tween OSPF areas. Cancel the setting with the no form of this
command.
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}]
Syntax
Description
<area-id> Area identifier, a decimal number
(0~4294967295) or a dotted decimal IP
address

prefix <prefix-list> Name of the prefix list

{out | in} Filter the routing information when it is


exported from the area or imported to the
area

Defaults There is no filter of the network routing information between OSPF


areas.
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 no
route. The parameter out indicates that it is forbidden for the
LSA of type 3 the corresponding route generate to enter other
area.
� This command is only used to filter the route corresponding to
the LSA of type 3 by the ABR.
� Only if the condition of the prefix-list parameter is matched can
this command be permit (or deny), otherwise it will be deny
all (or permit all). That is, if there is no template or if the
template exists and the condition of the prefix-list parameter
is not matched, the command will be deny all (or permit all).
Example In this example, it is forbidden to export that the network
20.20.20.0 of area 0.0.0.1 to other areas.
ZXR10(config)#router ospf 1
ZXR10(config-router)#network 20.20.20.0 0.0.0.255 area 1
ZXR10(config-router)#exit
ZXR10(config)#ip prefix-list zxr10 deny 20.20.20.0 24
ZXR10(config)#router ospf 1
ZXR10(config-router)#area 0.0.0.1 filter-list prefix zxr10 out

area nssa
Purpose 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 31

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 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-informa
tion-originate][no-summary]
Syntax
Description
<area-id> Area identifier, a decimal number
(0~4294967295) or a dotted decimal IP
address

no-redistribution Do not redistribute the advertisement of


NSSA link state to the NSSA area

default-information Generate the advertisement of the link state


-originate of default route of Type 7

metric <metric-val Cost value of the advertisement of the link


ue> state of Type 7, range: 0~16777214

metric-type <type> Type of the advertisement of the link state of


default route of Type 7, ext-1 or ext-2

no-summary Do not send the advertisement of the


summary link state to the NSSA area

Defaults No NSSA area is defined.


For the NSSA area, if there is a default advertisement of type 7
generated, the default cost value will be 1 and the type will be
ext-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 be
configured as the nssa area. One nssa area at most can be
configured on one router.
3. It is allowed to simultaneously specify whether to forbid the
ABR from sending summary route information to the NSSA
area, whether to import the advertisement of external link
state of type 7 to the NSSA area, and whether to generate the
advertisement of default link state of type 7. Default: There
is no forbidding of the summary of routes. Routes of type 7 is
imported. 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 originate
command.
6. On the ABR routers, Type 3 default LSA can be generated by
configuring the area nssa no-summary command.
7. When NSSA areas generate common Type 7 LSA, the selection
of FA follows the following rules.
i. If the next hop of a redistributed route is in the NSSA area
of OSPF, then it takes the next hop.
ii. Otherwise, traverse the addresses of all OSPF interfaces in
the NSSA area, but omit the unnumbered ptop interface.
iii. Select the loopback interface in the NSSA area. If there
are multiple loopback interfaces, select the one with the
biggest IP address.

32 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

iv. Otherwise, select the interface that does not establish


neighbor relationships with other interfaces in the NSSA
area. If there are multiple such interfaces, select the one
with 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 with
the biggest IP address.
vii.Otherwise, view whether the current LSA needs to be
marked with a p tag. If there is no need to do so, 0.0.0.0
will be filled in the field of FA. If it needs to do so, LSA of
type 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 the
summary address, takes the FA selection of the common
LSA of type 7 skipping the step a.
� If it is the default route generated by the area <id> nssa
default-information-originate command, the FA will be
0.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 1
ZXR10(config-router)#area 1 nssa default-information-originate

area range
Purpose Use this command to configure the range of the summary address
in the area. If the area does not exist, it needs creating. Disable
the 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>
Syntax
Description
<area-id> Area identifier, a decimal number
(0~4294967295) or a dotted decimal IP
address.

<ip-address> IP address of the summary address range, in


the form of dotted decimal

Confidential and Proprietary Information of ZTE CORPORATION 33

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

<net-mask> Mask of the summary address range, in the


form of dotted decimal

advertise | advertise: summary type-3 LSA is advertised


not-advertise not-advertise: summary type-3 LSA is not
allowed 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. It
is used to make a combination of computation and a summary
of routes in an area. As a result, an outline route is advertised
to 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 be
summarized.
� If the area does not exist, it will be created automatically.
Example In this example, the networks of area 1 are aggregated into area
0, and type 3 LSA is advertised.
ZXR10(config-router)#network 10.1.1.0 0.0.0.255 area 1
ZXR10(config-router)#network 10.1.2.0 0.0.0.255 area 1
ZXR10(config-router)#network 10.1.3.0 0.0.0.255 area 1
... ...
ZXR10(config)#router ospf 1
ZXR10(config-router)#area 0 range 10.1.0.0 255.255.0.0 advertise

area sham-link
Purpose 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-addr
ess>[cost number]
no area <area-id> sham-link <source-address><destination-a
ddress>
Syntax
Description
<area-id> Area identifier, a decimal number
(0~4294967295) or a dotted decimal IP
address.

<source-address> Local IP address sham-link use to establish


links, only 32–bit loopback address is effective

<destination-addre Remote IP address sham-link use to establish


ss> links, only 32–bit loopback address is effective

cost number Cost of costsham-link interfaces, default: cost


of loopback interfaces

34 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Defaults There is no OSPF sham-link on VPN link without configuring this


command.
Instructions 1. Only if the following five conditions are simultaneously satisfied
can Sham-link be up.
� Sham-link is configured.
� Source-address and destination-address IP address have
the corresponding interface.
� Destination-address has the corresponding bgp route.
� Make the configuration in the circumstances of the OSPF
VRF instances.
� There is the redistribution of bgp in the circumstances of
the 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) and
they are in the same area.
3. The Loopback interface address that the sham-link uses needs
binding the corresponding VRF.
4. The free switch between the VPN link and the backdoor link is
realized by changing the sham-link cost.
5. The area sham-link uses should be consistent with the area of
VPN 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 following
points:
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 35

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 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 interfaces


that are up.
iii. If the neighbor of sham-link is already up, the changes of
the interface will take no effect on the sham-link neighbor
because the DC link will no more send or receive the hello
packets. The changes will take effect only when the next
link is established.
Example This example configures a sham-link of area 1 on the router. The
local loopback interface address sham-link uses is 10.22.1.1. The
remote destination address is 10.22.1.2, and the specified cost is
100.
ZXR10(config)#router ospf 1
ZXR10(config-router)#area 1 sham-link 10.22.1.1 10.22.1.2 cost 100

Related redistribute bgp-int


Commands

area stub
Purpose 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]
Syntax
Description
<area-id> Area identifier, a decimal value
(0~4294967295) or a dotted decimal
IP address

no-summary Forbid ABR from sending the summary routing


information to this stub area

default-cost<cost> Cost for advertising default routes to this stub


area, 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 the
default rout to the stub area is 1.
Instructions � This command is supported after the platform version 4.6.02.

36 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

� The area will be created automatically if it does not exist. It can


specify whether to forbid the ABR from sending the summary
network route information to the stub area. At the same time,
the cost for advertising the default rout to the stub area can
be specified.
� The no area <area-id> stub no-summary command is used
to allow the ABR to send the summary route information to the
stub area.
� The no area <area-id> stub default-cost is used to reset
the cost of advertising the default route to the stub area as the
default 1.
� The no area <area-id> stub command is used to change the
specified 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 be
configured as the stub area.
Example This example configures area 1 as a stub area, forbids sending the
summary state advertisement to this area, sets the default cost
as 10 and then restores it to the default value.
ZXR10(config)#router ospf 1
ZXR10(config-router)#area 1 stub no-summary default-cost 10
... ...
ZXR10(config)#router ospf 1
ZXR10(config-router)#no area 1 stub no-summary
ZXR10(config-router)#no area 1 stub default-cost

area stub-host
Purpose Use this command to add the host route advertised by the local
router in some area. Cancel the setting with the no form of this
command.
Command Modes Router configuration
Syntax area <area-id> stub-host <ip-address> cost <cost>
no area <area-id> stub-host <ip-address>[cost <cost>]
Syntax
Description
<area-id> Area identifier, a decimal value
(0~4294967295) or a dotted decimal
IP 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> command
deletes the host route advertised by local router in an area.

Confidential and Proprietary Information of ZTE CORPORATION 37

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

� If the area does not exist, it will be created automatically.


Example This example configures the host route the router advertises as
10.1.1.1 and the cost value as 10.
ZXR10(config)#router ospf 1
ZXR10(config-router)#area 1 stub-host 10.1.1.1 cost 10

area virtual-link
Purpose Use this command to define an OSPF virtual link. If the area does
not exist, it will be created automatically. Delete the specified
virtual 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 <sec
onds>][retransmit-interval <seconds>][transmit-delay <sec
onds>][dead-interval <seconds>][dead-delay <seconds>][au
thentication-key <key>][message-digest-key <keyid>][aut
hentication][null | message-digest]
Syntax
Description
<area-id> Area identifier, a decimal value
(0~4294967295) or a dotted decimal
IP address

<router-id> ID of the peer router of the virtual link, in the


form of dotted decimal IP address

hello-interval Time interval for sending Hello packets on the


<seconds> virtual link, unit: second, range: 1~8192,
default: 10 seconds

retransmit-interval Retransmit interval of the virtual link, unit:


<seconds> second, range: 1~8192, default: 5 seconds

transmit-delay Delay of transmitting a packet of the link


<seconds> state update on the virtual link, unit: second,
range: 1~8192, default: 1 second

dead-interval Dead interval of neighbors on the virtual link,


<seconds> unit: second, range: 1~8192, default: 40
seconds

dead-delay Dead delay of neighbors on the virtual link,


<seconds> unit: second, range: 1~8192, default: 40
seconds

authentication-key Authentication key on the virtual link, 1~8


<key> characters

38 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

message-digest-key Serial number of md5 authentication key on


<keyid> the virtual link, 1~255 (integer), at most 10
keyids 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 virtual


link

message-digest Type 2 authentication mode on the virtual link,


namely the message digest authentication

null Type 0 authentication mode on the virtual


link, that is, no authentication

Defaults No virtual link is defined.


For a virtual link, there is no predefinition of the password and the
message-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 to
make the the authentication on the virtual link act. And the
parameters<key> and <cryptkey> cannot be null.
� The valid characters for the parameters <key> and <cryptk
ey> 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 nssa
area.
� The parameter dead-delay has the different meaning for the
restart side and the help side. On the restart side, this param-
eter means exiting this nsf if there is still no neighbor of the
virtual link found after this period. On the possible help side,
the configuration of this command shows that, if there are still
no Hello packets sent from the restart side after this period, it
will stop attempting to help this neighbor and set the state of
the 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 and
16.16.16.16 respectively.
ZXR10_01(config)#router ospf 1
ZXR10_01(config-router)#area 1 virtual-link 15.15.15.15
ZXR10_02(config)#router ospf 1
ZXR10_02(config-router)#area 1 virtual-link 16.16.16.16

Confidential and Proprietary Information of ZTE CORPORATION 39

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

auto-cost
Purpose 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
Syntax
Description
<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 interface
of the OSPF process will be the division of the interface band-
width by the Reference Bandwidth. Otherwise, it will use the
value 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 1
ZXR10(config-router)#auto-cost reference-bandwidth 10000

Related ip ospf cost


Commands

bfd-all-interface
Purpose Use this command to specify all OSPF interfaces as BFD-support-
ing interfaces. Cancel this configuration with the no form of this
command.
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 interfaces
support BFD, except virtual-link and sham-link interfaces.
Example In this example, all interfaces of OSPF instance 1 support BFD.
ZXR10(config)#router ospf 1
ZXR10(config-router)#bfd-all-interface

Related ip ospf bfd


Commands
ip ospf bfd disable

40 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

capability opaque
Purpose 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 firstly
checks whether the neighbor routers support opaque LSA.
Opaque LSA is transmitted only to neighbor routers supporting
the function. More accurately speaking, the Opaque LSA is
added into the link state retransmit list of neighbor routers.
When packets of link state update are multicast, the neighbor
routers 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 1
ZXR10(config-router)#no capability opaque

Related show ip ospf database opaque-area


Commands
show ip ospf database opaque-link

capability vrf-lite
Purpose Use this command to make routes disable the loop-avoiding of
the tag and down bits in a VRF instance. If this command is not
configured, 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 same
with the AS number of local BGP or when the downbit is set
for Type 5 and Type 7 LSAs, and if the capability vrf-lite
command is not configured in the instance, the routes will not
be calculated. Otherwise, the routes will be calculated.

Confidential and Proprietary Information of ZTE CORPORATION 41

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

� For Type 3 LSA, if the downbit is set, and the capability vrf-l
ite command is not configured in the instance, the routes will
not be calculated. Otherwise, the routes will be calculated.
Example This example makes the router not support vrf-lite.
ZXR10(config)#router ospf 1
ZXR10(config-router)#no capability vrf-lite

clear ip ospf process


Purpose Use this command to restart the OSPF process.
Command Modes Privileged EXEC
Syntax clear ip ospf process <process-id>
Syntax
Description
<process-id> OSPF process ID, namely, the number of the
OSPF 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 1
ZXR10(config-router)#end
ZXR10#clear ip ospf process 1

clear ip ospf redistribution


Purpose Use this command to redistribute OSPF processes.
Command Modes Privileged EXEC
Syntax clear ip ospf redistribution <process-id>
Syntax
Description
<process-id> OSPF process ID, namely, the number of the
OSPF 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 rfc1583
Purpose Use this command to control the rule of selecting the best among
the multiple external LSAs to the same destination.
Command Modes Router configuration

42 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


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 of
this configuration will be the same for all routers in the OSPF
domain.
Example This example controls the rule of selecting the best among the
multiple external LSAs to the same destination..
ZXR10(config)#router ospf 1
ZXR10(config-router)#compatible rfc1583

debug
Purpose 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 be
no display after the show running-config command.
Example This example opens the debug information of ospf process 1.
ZXR10(config)#router ospf 1
ZXR10(config-router)#debug

default-metric
Purpose 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
Syntax
Description
<metric-value> Default cost value of the system external
routes, 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 43

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Instructions � This command is supported after the platform version 4.6.02.


� The configured value of this command is effective only when
the user does not set the cost value of external routes.
� The redistribution of BGP is not affected by this command. Only
by way of the command redistribute can the metric value be
modified.
Example This example sets the default metric after the redistribution as 10.
ZXR10(config)#router ospf 1
ZXR10(config-router)#default-metric 10

disable area
Purpose Use this command to disable the specified area if it exists.
Command Modes Router configuration
Syntax disable area <area-id>
Syntax
Description
<area-id> Area identifier, a decimal value
(0~4294967295) or a dotted decimal
IP address.

Instructions This command is supported after the platform version 4.6.02.


Example This example disables area 1.
ZXR10(config)#router ospf 1
ZXR10(config-router)#disable area 1

Related enable area


Commands

disable interface
Purpose 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>
Syntax
Description
<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 network
10.1.0.0/16.
ZXR10(config)#router ospf 1
ZXR10(config-router)#disable interface 10.1.0.0 0.0.255.255

44 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Related enable interface


Commands

disable ip ospf
Purpose 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>
Syntax
Description
<process-id> OSPF process ID, namely, the number of the
OSPF instance configured, range: 1~65535

Defaults If the OSPF protocol has already been configured, it is enabled by


default.
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

Related enable ip ospf


Commands

distance ospf
Purpose Use this command to define the OSPF route domination distance
based on the route type. Use the corresponding no form of this
command to restore the internal route distance, category 1 ex-
ternal route distance or category 2 route distance to the default
value.
Command Modes Router configuration
Syntax distance ospf {[internal <distance>][ext1 <distance>][ext2
<distance>]}
no distance ospf {internal | ext1 | ext2}
Syntax
Description
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 45

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

� When the route priority is 255, this command does not take
effect.
Example This example sets internal the dominion distance as 100.
ZXR10(config)#router ospf 1
ZXR10(config-router)#distance ospf internal 100

distribute-list
Purpose 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 and
type 7 LSA are generated. It is a complement of the command
redistribute.
Command Modes Router configuration
Syntax distribute-list {<access-list-num>{in | out}| access-list <acc
ess-list-name>{in | out}| prefix <name of an IP prefix-list>{g
ateway <name of an IP prefix-list> in | out}| gateway <name
of 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 IP
prefix-list>{gateway <name of an IP prefix-list> in | out}|
gateway <name of an IP prefix-list> in | route-map <name of
a route-map> in}
Syntax
Description
<access-list-num> Numeric ACL the range is <1~199>and
extended range is <1000~1999>

<access-list-name> Name ACL the first character shouldn’t be


number and must be the current acl

<name of an IP Name of the template borrow from prefix-list


prefix-list>

<name of a Name of the template borrow from route-map


route-map>

in | out in represents that the specific template is


used to route filtering; out represents that
the specific template is used to supply for
redistribution

Defaults If this command is not used, that is to say, no route filtering and
externalLSA leading control.
Instructions � gate-way and route-map is only used in in command
� acl, gate-way, route-map are permit when template does
not exist, otherwise deny.
� The template denies all by default. If some routes are required
to deny, then the parameter permit all should be added to per-
mit other routes.

46 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

� When route-map used in in command, no set itemmatch item


only take effects on route prefix, metric ,next hop and type 5
and type 7 LSA’s tag.
� Take care when using in command to filter route. To OSPF
route 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 this
command.
Example This example describes how to set ACL template, deny 12.1.1.0
OSPF route, and permit other routes.
ZXR10(config)#acl standard name zxr10
ZXR10(config-std-acl)#deny 12.1.1.0
ZXR10(config-std-acl)#permit any
ZXR10(config)#router ospf 1
ZXR10(config-router)#distribute-list access-list zxr10 in

Related redistribute
Commands
filter
filter-list

domain-id
Purpose Use this command to specify a domain ID for some router.
Command Modes Router configuration
Syntax domain-id <A.B.C.D>
Syntax
Description
<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 ospf
instances. Instances of the same domain-id or the compatible
domain-id (The domain-id of one router is one of a domain-id
of 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 1
ZXR10(config-router)#distance ospf internal 100

Confidential and Proprietary Information of ZTE CORPORATION 47

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Related router ospf x


Commands

domain-tag
Purpose Use this command to specify OSPF domain tag.
Command Modes Router configuration
Syntax domain-tag <tag-value>
Syntax
Description
<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 BGP
is redistributed, the generated tag value of the external LSA is
the configured tag-value. When unnecessary route loop avoid-
ing filtering appears, this command can be used to modify the
tag 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 1
ZXR10(config-router)#domain-tag 1200

Related redistribute
Commands

enable area
Purpose Use this command to enable the specified area if it exists.
Command Modes Router configuration
Syntax enable area <area-id>
Syntax
Description
<area-id> Area identifier, a decimal value
(0~4294967295) or a dotted decimal
IP 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 1
ZXR10(config-router)#enable area 1

48 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Related disable area


Commands

enable interface
Purpose 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>
Syntax
Description
<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 1
ZXR10(config-router)#enable interface 10.1.0.0 0.0.255.255

Related disable interface


Commands

enable ip ospf
Purpose 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>
Syntax
Description
<process-id> OSPF process ID, namely, the configured
OSPF 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 49

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Related disable ip ospf


Commands

fast-reroute alternate-prote
ct-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
Syntax
Description
default One route backup mode meeting the basic link
protection type, that is, the distance between
the backup node and the source node plus
the distance between the source node and
the destination node must be smaller than
the distance between the backup node and
the destination node

down-stream-path A route backup mode meeting a stricter


type of Down-stream Path, that is, the
distance between the backup next hop and
the distance node must be smaller than the
distance between the source node and the
destination node

Instructions This command is supported after the platform version 4.8.20.


Example This example sets the route backup mode meeting the basic link
protection type.
ZXR10(config)#router ospf 1
ZXR10(config-router)#fast-reroute alternate-protect-type default

filter
Purpose Use this command to decide whether to introduce routes gener-
ated by external LSAs into the routing table and the introducing
priority. Delete the filter command configured with the no form of
this command.
Command Modes Router configuration
Syntax filter [exact]<ip-address><net-mask><prefence>
no filter <ip-address><net-mask>

50 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Syntax
Description
exact Exact match

<ip-address><net-mask> Range for filtering route , in the


form of dotted decimal. If there is
no keyword exact, all routes in the
range of <ip-address><net-mask>
will be filtered. Otherwise, the route
must 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 the
routing table.
Instructions � This command is supported after the platform version 4.6.02.
� When the route priority is 255, this command does not take
effect.
� This command does not add unmatched OSPF routes to the
forwarding table at the routing layer, while the area filter-l
ist command controls some LSA’s generation at the database
layer.
Example This example filters OSPF routes except 10.10.10.0/24 and set the
priority to 20.
ZXR10(config)#router ospf 1
ZXR10(config-router)#filter exact 10.10.10.0 255.255.255.0 20

grace-period
Purpose 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
Syntax
Description
<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 after
the value of grace-period. Otherwise nsf will exit because of
timeout 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 51

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Example This example sets the longest time of nsf to 300 seconds.
ZXR10(config)#router ospf 1
ZXR10(config-router)#grace-period 300

Related capability opaque


Commands
nsf

ip ospf authentication
Purpose Use this command to configure authentication mode for the inter-
face. Delete the configured interface authentication mode with the
no form of this command.
Command Modes Interface configuration
Syntax ip ospf authentication [null | message-digest]
no ip ospf authentication
Syntax
Description
message-digest Type 2 authentication, namely, the message
digest authentication

null Type 0 authentication, namely, no


authentication

Defaults No authentication mode is specified on the interface. If there is


authentication in the area some interface lies in, the interface will
inherit 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 are
configured with authentication, the authentication pivots that
of the interface.
Example This example sets message-digest as the authentication mode of
the interface.
XR10(config)#interface fei_5/1
ZXR10(config-if)#ip ospf authentication message-digest

ip ospf authentication-key
Purpose Use this command to set a password for the interface with simple
password authentication. Delete the configured OSPF password
with the no command.
Command Modes Interface configuration
Syntax ip ospf authentication-key <password>
no ip ospf authentication-key

52 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Syntax
Description
<password> Authentication password, 1~8 characters (not
including 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/1
ZXR10(config-if)#ip ospf authentication-key zxr10

ip ospf bfd
Purpose Use this command to enable OSPF BFD function on some interface,
and it must be an OSPF interface. Cancel this setting with the no
form 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 cannot
be configured at the same time, because they are mutually
exclusive. So when you configure one of the two commands,
if the other one has been configured yet, you must cancel the
other one with the no command.
� The command ip ospf bfd disable is the supplement of the
command bfd-all-interface. On the premise of bfd-all-in
terface, use ip ospf bfd disable command to make some
specified interface not support BFD function.
Example This example specifies an interface to support BFD function.
ZXR10(config)#interface fei_5/1
ZXR10(config-if)#ip ospf bfd

Related bfd-all-interface
Commands

ip ospf cost
Purpose 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 53

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Command Modes Interface configuration


Syntax ip ospf cost <cost>
no ip ospf cost
Syntax
Description
<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 enable
the auto-cost reference-bandwidth command to act, the
cost value configured by the ip ospf cost command previously
must be deleted first.
Example This example configures the interface cost to 10 explicitly.
ZXR10(config)#interface fei_5/1
ZXR10(config-if)#ip ospf cost 10

Related auto-cost reference-bandwidth


Commands

ip ospf dead-interval
Purpose 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
Syntax
Description
<seconds> Dead interval of neighbors on the interface,
unit: second, range: 1~65535, default: 40
seconds (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/1
ZXR10(config-if)#ip ospf dead-interval 80

54 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Related ip ospf hello-interval


Commands

ip ospf fast-reroute
Purpose 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
Syntax
Description
<interface-name> Interface name

backup-interface Backup of OSPF routes on an egress interface


of 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 interface
fei_1/1 and makes interface fei_1/2 execute it.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#no ip ospf fast-reroute
XR10(config)#interface fei_1/1
ZXR10(config-if)#ip ospf fast-reroute backup-interface fei_1/2

ip ospf hello-interval
Purpose Use this command to specify the time interval for an interface to
send the HELLO packets. Restore default with the no form of this
command.
Command Modes Interface configuration
Syntax ip ospf hello-interval <seconds>
no ip ospf hello-interval
Syntax
Description
<seconds> Time interval for sending Hello packets,
unit: second, range: 1~65535, default: 10
seconds (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 the
interface to 20 seconds.
ZXR10(config)#interface fei_5/1

Confidential and Proprietary Information of ZTE CORPORATION 55

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

ZXR10(config-if)#ip ospf hello-interval 20

Related ip ospf dead-interval <seconds>


Commands

ip ospf message-digest-key
Purpose 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>
Syntax
Description
<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 number
pair will not be used temporarily during the period of <time> to
send 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 the
password as zxr10 on the interface using message digest authen-
tication.
ZXR10(config)#interface fei_5/1
ZXR10(config-if)#ip ospf message-digest-key 2 md5 zxr10

ip ospf mtu-ignore
Purpose Use this command to ignore the check of MTU on the interface
when DD packets are exchanged. Restore default with the no
form of this command.
Command Modes Interface configuration

56 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


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 this
command.
� The check of MTU mainly examines whether the value in the
MTU field of the DD packet is less than or equal to the MRU of
local interface. If it is more than the MRU of local interface,
the DD message will be discarded. If it is sure that there is not
any problem of MTU’s configuration when packets are received
or sent, this command can be used to ignore the check.
Example This example configures the interface to ignore the check of MTU
when DD packets are exchanged.
ZXR10(config)#interface fei_5/1
ZXR10(config-if)#ip ospf mtu-ignore

ip ospf network
Purpose 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-p
oint | point-to-multipoint [non-broadcast]]
Syntax
Description
broadcast Broadcast type

point-to-point Point-to-point type

non-broadcast Non-broadcast type (it needs to work with the


neighbor command)

point-to-multipoint Point-to-multipoint type

point-to-multipoint Point-to-multipoint non-broadcast type (it


[non-broadcast] needs to work with the neighbor command)

Defaults It depends on the network type; the point-to-multipoint type


needs 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/1
ZXR10(config-if)#ip ospf network point-to-point

Confidential and Proprietary Information of ZTE CORPORATION 57

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

ip ospf priority
Purpose 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
Syntax
Description
<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 is
0.
Example This example describes sets the interface priority as 10.
ZXR10(config)#interface fei_5/1
ZXR10(config-if)#ip ospf priority 10

ip ospf resync-timer
Purpose Use this command to set the dead delay time on the GR (Graceful
Restart) restarter. Cancel the configuration with the no form of
this command.
Command Modes Interface configuration
Syntax ip ospf resync-timer < seconds >
no ip ospf resync-timer
Syntax
Description
<seconds> When an Active/Standby Changeover takes
place, the GR helper sets this time to
guarantee 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 the
dead-interval the GR restarter and the GR helper appoints ex-
pires, the restarter will waits for a time set by the resync-timer
again to guarantee GR can accomplish in certain time. This is
comparatively applicable for the rack with lower behavior.
Example This example sets the corresponding waiting time of GR as 120
seconds.
ZXR10(config)#interface fei_5/1
ZXR10(config-if)#ip ospf resync-timer 120

58 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Related nsf
Commands

ip ospf retransmit-interval
Purpose 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
Syntax
Description
<seconds> Time interval for some interface to retransmit
LSA, 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 retransmit
LSA as 10 seconds.
ZXR10(config)#interface fei_5/1
ZXR10(config-if)#ip ospf retransmit-interval 10

ip ospf transmit-delay
Purpose Use this command to specify the delay for some interface to trans-
mit a link status update packet. Restore default with the no form
of this command.
Command Modes Interface configuration
Syntax ip ospf transmit-delay <seconds>
no ip ospf transmit-delay
Syntax
Description
<seconds> Delay for some interface to transmit a link
status 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 link
status update packet as 2 seconds.
ZXR10(config)#interface fei_5/1
ZXR10(config-if)#ip ospf retransmit-delay 2

Confidential and Proprietary Information of ZTE CORPORATION 59

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

maximum-paths
Purpose Use this command to set the maximum number of routes the load
balance of OSPF protocol supports. Restore default with the no
form of this command.
Command Modes Router configuration
Syntax maximum-paths <number>
no maximum-paths [<number>]
Syntax
Description
<number> Maximum number of routes the load balance
of 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 ready
to create its routing table for forwarding data stream. The
default overhead metric is based on the bandwidth of network
medium. To calculate the minimum overhead arriving at the
destination, at most 8 route entries of overhead are saved in
the routing table for load balance. This can be configured by
the maximum-paths command.
� The router generally selects the path with the minimum metric
value. If multiple paths with the same maximum metric val-
ues appear at the same time, load balance will be enabled on
these paths. The maximum-paths command can be used to
support 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 to
manually interfere, but is needs to wait for a certain time.
Example This example sets the maximum number of routes load balance of
OSPF protocol supports as 4.
ZXR10(config)#router ospf 1
ZXR10(config-router)#maximum-paths 4

max-metric router-lsa
Purpose 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-star
tup <seconds>]
no max-metric router-lsa [on-startup wait-for-bgp][on-sta
rtup <seconds>]

60 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Syntax
Description
<seconds> Time for continually preventing black hole of
routes 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-lsa
will be set as 65535.
� If the option on-startup is configured, it will take effect only
after the restart of rack or OSPF.
� The configuration of on-startup wait-for-bgp shows that, if
60 seconds after BGP’s converge or the default wait time (600
seconds) expires, LSA will restore normalness and no more be
set as 65535.
� The configuration of on-startup <5~86400> shows that, LSA
restores normalness and is no more set as 65535 after the
expiration of the wait time.
Example This example specifies the wait time after the restart to prevent
black hole of routes as 50 seconds.
ZXR10(config)#router ospf 1
ZXR10(config-router)#max-metric router-lsa on-startup 50

mpls traffic-eng area


Purpose 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>
Syntax
Description
<area-id> Area identifier, a decimal value
(0~4294967295) or a dotted decimal
IP 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 1
ZXR10(config-router)#mpls traffic-eng area 1

Confidential and Proprietary Information of ZTE CORPORATION 61

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

mpls traffic-eng router-id


Purpose 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>]
Syntax
Description
<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 a
traffic engineering identifier and the tunnel destination be set
as the identifier of some traffic engineering router.
� If some router needs to support traffic engineering, this com-
mand must be configured. It is recommended that the parame-
ter use a loopback interface with an address configured. If this
interface does not exist, it will cause a failure of configuration.
And if there is no address of this interface, the configuration
will not take effect.
� This router-id is irrelevant to the router-id of the router. It is
recommended that they be set as the same.
Example This example sets the OSPF traffic engineering router identifier as
the IP address of loopback1.
ZXR10(config)#router ospf 1
ZXR10(config-router)#mpls traffic-eng router-id loopback1

neighbor
Purpose Use this command to configure the neighbor router of the non-
broadcast network. All the interfaces need traversing. If the IP
address of the neighbor and that of the interface are in the same
network, 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>][p
oll-interval <seconds>]
Syntax
Description
<ip-address> IP address of the neighbor, in the form of
dotted decimal

cost <cost> Cost of the arrival at the neighbor, invalid for


NBMA neighbors, range: 1~65535

62 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

priority <priority> Priority of the neighbor, invalid for the


point-to-multipoint neighbor, range: 0~255

poll-interval Polling interval of the neighbor, invalid for


<seconds> the 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; the
default 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 the
point-to-multipoint and NBMA networks.
� The no neighbor <ip-address> cost command restores the
cost of the arrival at the neighbor to the default value.
� The no neighbor <ip-address> priority command restores
the 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 a
specified neighbor. Similar to the command of configuring a
neighbor, 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.D
cost, the command ip ospf cost x or the default value will
be used. Even if the command neighbor A.B.C.D cost has
already been configured, the interface which has built links is
also configured with the command ip ospf cost x, and the
previous command acts.
� Neighbor priority designates the priority of some neighbor, and
it is used to elect DR and BDR in the early stage. If the priority
of this neighbor is 0, it will not take part in the election of
DR and BDR. After the real building of links, the advertised
priority value of the neighbor’s hello packers will prevail. It
is recommended that this value be configured with the same
value as that of the actual neighbor.
Example In this example, the router has an interface address of 10.1.1.0
network and the neighbor router of non-broadcast network is con-
figured.
ZXR10(config)#router ospf 1
ZXR10(config-router)#neighbor 10.1.1.3

network
Purpose Use this command to define interfaces running OSPF protocol and
area IDs of these interfaces. If the area does not exist, it will be
created automatically.

Confidential and Proprietary Information of ZTE CORPORATION 63

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 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>
Syntax
Description
<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 decimal
IP 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, this
command will be called to be valid for this interface IP address.
If multiple network commands are valid for the same interface
IP address, the OSPF interface corresponding to the interface
IP address will be created and appended to the area specified
by the network command with the minimum <wildcard-mas
k>.
If there is network command valid for the interface newly con-
figured with IP address, the OSPF interface corresponding to
this interface IP address will be automatically created, and it
will be added to the area specified by the network command
with the minimum <wildcard-mask> valid for the interface IP
address.
If the interface IP address is deleted, the OSPF interface will
be automatically deleted.
4. The no command is just the reverse operation of the configured
network command. If the corresponding network command
does not exist, the no command will be invalid.
If there is corresponding network valid for ospf interfaces of
an ospf area, these OSPF interfaces will be removed from this
area.
If there is still other network command valid for the IP address
of OSPF interfaces, these ospf interfaces will be appended to
the 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 by
the network command with the minimum <wildcard-mask>
If there is no network command valid for the interface, the
OSPF interface will be deleted.
Example This example sets the interface 10.10.1.1 as an OSPF interface
and places it in area 0.
ZXR10(config)#interface fei_5/1
ZXR10(config-if)#ip address 10.10.1.1 255.255.255.0
ZXR10(config-if)#exit
ZXR10(config)#router ospf 1

64 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

ZXR10(config-router)#network 10.10.1.0 0.0.0.255 area 0

no area
Purpose Use this command to delete the specified area.
Command Modes Router configuration
Syntax no area <area-id>
Syntax
Description
<area-id> Area identifier, a decimal value
(0~4294967295) or a dotted decimal
IP address

Instructions � This command is supported after the platform version 4.6.02.


� If there is any configured network command related to this
area in the configuration database, the network command will
be deleted simultaneously . If the specified area does not exist,
this command will be invalid.
� If the area is configured with virtual link, the command fails
and returns.
Example In this example, area 1 is deleted.
ZXR10(config)#router ospf 1
ZXR10(config-router)#no area 1

Related disable area


Commands
enable area

notify default route


Purpose When local router obtains a default route 0/0 through the other
protocol or the mode of configuration of a static route, this default
route needs advertising. If there is no default route, the specific
reachable 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>][me
tric-type <type>][route-map <map-tag>]

Confidential and Proprietary Information of ZTE CORPORATION 65

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Syntax
Description
always The specification of always shows that the
default route will be advertised no matter
whether it exists. If there is no specification
of always, the advertisement of the default
route depends on whether the default route
exists in the routing table. If the default route
exists, it will be advertised, vise versa

metric <metric-val Metric of the default route, range:


ue> 0~16777214,default: 1

metric-type <type> Type of the default route, ext-1 or ext-2,


default: ext-2

route-map Name of the route map generating the default


<map-tag> route, 1~16 characters

Defaults There is no default route obtained from other route protocol or


static 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 will
an advertisement of a default route. The cost of the default route
is 20. The type of the default route is ext-1. The used route-map
is map.
ZXR10(config)#router ospf 1
ZXR10(config-router)#notify default route always metric 20
metric-type ext-1 route-map map

nsf
Purpose Use this command to configure the function of Non-stop Forward-
ing.The use of the no form of this command indicates that the
function 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 before
the use of this command.

Example In this example, local device has the function of non-stop forward-
ing.
ZXR10(config)#router ospf 1
ZXR10(config-router)#nsf

66 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Related capability opaque


Commands
grace-period <num>

passive-interface
Purpose Use this command to configure an interface as a passive interface.
After that, the interface cannot send Hello packets, receive any
packet or establish adjacent relationship with other routers.
Command Modes Router configuration
Syntax passive-interface {default |<interface-name>}
Syntax
Description
default All the interfaces are configured as passive
interfaces

<interface-name> Interface name

Defaults All the interfaces are ordinary interfaces that can receive/send
OSPF packets and establish neighbor .
Instructions � This command is supported after the platform version 4.6.02.
� The use of passive-interface default command indicates
that all the interfaces are configured as passive interfaces by
default.
� 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 has
been an passive-interface command, a configuration of the
passive-interface command means this command will be still
valid. If there is not any pervious command, a configuration of
the passive-interface means this command will take effect.
� If there has been a previous passive-interface command, a
configuration of the no passive-interface command means
the cancellation of this passive-interface command. If there
has been a previous no passive-interface command, a con-
figuration of the no passive-interface command means this
command will still be valid.
Example This example configures the interface fei_1/1 as a passive inter-
face.
ZXR10(config)#router ospf 1
ZXR10(config-router)#passive-interface fei_1/1

redistribute
Purpose 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 67

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Syntax redistribute <protocol>[as <as-number>][peer <peer-address


>][tag <tag-value>][metric <metric-value>][metric-type <typ
e>][route-map <map-tag>
no redistribute <protocol>[as <as-number>][peer <peer-addr
ess>][tag][metric][metric-type][route-map]
Syntax
Description
<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 two


additional conditions: <as-number> and
<peer-address>. <as-number> is the AS
number of the peer, rang: 1~65535

peer <peer-address> If the protocol is BGP-ext, there can be two


additional conditions: <as-number> and
<peer-address>. <peer-address> is the IP
address of the peer

tag <tag-value> Tag of lsa after redistribution, range:


0~4294967295

metric <metric-val Metric of LSA after redistribution. range:


ue> 0~16777214, default: the default metric of
the system

metric-type <type> Metric-type of LSA after redistribution, value:


ext-1 or ext-2, default: ext-2

route-map Name of the route map for redistributed by


<map-tag> the 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 of
this protocol.
4. The no redistribute <protocol> metric command restores
the default value of the metric of the type 5 LSA redistributed
by 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 LSA
redistributed by routes of this protocol.
6. The no redistribute <protocol> route-map command can-
cels the control over the route map of the redistribution of
routes of this protocol.
7. During the process of the redistribution of isis, if there has
already been a redistribution of isis-1–2, then the redistribution
of isis-1 or isis-2 will take no effect. It is not recommended to
use the command redistribute isis-1–2 unless all the option
values 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

68 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


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 LSA
which will set the down bit. The policy control of redistribute
route-map over the type 3 LSA redistribute BGP generates
will not take effect. The filtering needs to use the area x
filter-list out command.
Example This example redistributes BGP internal routes, sets the tag value
of route entries after redistribution as 1, sets the route-map as
map, and cancels the route map control during the process of re-
distribution.
ZXR10(config)#router ospf 1
ZXR10(config-router)#redistribute bgp-int tag 1 route-map map
... ...
ZXR10(config-router)#no redistribute bgp-int route-map map

router ospf
Purpose Use this command to start the OSPF protocol if it is not started,
and then enter the OSPF protocol configuration mode. Cancel the
OSPF protocol process with the specified process number with the
no command.
Command Modes Global configuration
Syntax router ospf <process-id>[vrf <vrf-name>]
no router ospf <process-id>
Syntax
Description
<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 insta
nce first and the device will return to the global configuration
mode. If OSPF protocol is started and it is valid, the device will
directly enter the OSPF protocol configuration mode.
� The global OSPF and that of each VRF use different process
numbers.

Tip:
When the OSPF is started, it is required to distribute the router-id
from local IP addresses. If there is no local address, the start will
fail.

Example This example configures a OSPF process with the process ID 2 and
the VRF name vpn1.
ZXR10(config)#router ospf 2 vrf vpn1

Confidential and Proprietary Information of ZTE CORPORATION 69

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

router-id
Purpose Use this command to specify the router identifier of an OSPF
process. Delete the specified router identifier with the no form of
this command.
Command Modes Router configuration
Syntax router-id <ip-address>
no router-id
Syntax
Description
<ip-address> OSPF router identifier, in the form of IP
address

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 process
use the OSPF router identifier in the form of a specified IP ad-
dress. The no command of this command makes the OSPF
process use the OSPF router ID selected automatically.
� This configuration takes effect after the restart of the router or
the manual restart of the OSPF process. The OSPF is manually
restarted 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 1
ZXR10(config-router)#router-id 5.5.5.5
ZXR10(config-router)#end
ZXR10#clear ip ospf process 1

show ip ospf
Purpose 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>]
Syntax
Description
<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 the
following information of system prompt.
ZXR10#show ip ospf
There is no OSPF instance

70 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

� If the OSPF protocol has already been started, the displayed


information is as follows:
ZXR10#show ip ospf
OSPF Router ID 200.1.1.1 enable/disable
Number of areas 2. Normal 2, Stub 0, Transit 1
Number of interfaces 5
Number of neighbors 5
Number of virtual links 8
Total number of entries in LSDB 20
Number of ASEs in LSDB 10. Checksum Sum 0x0
Number of new LSAs received 10
Number 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 5
Area has no authentication/Area has simple password authentication
Times spf has been run 5
Number of interfaces 1. Up 1
Number of ASBR local to this area 2
Number of ABR local to this area 2
Total number of intra/inter entries in LSDB 20. Checksum Sum 0x0
Area ranges count 2
100.1.1.0 255.255.255.0
110.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 interfaces Number of OSPF interfaces


Number

Number of neighbors Number of OSPF neighbors

Number of virtual links Number of OSPF virtual links

Total number of entries in Total number of LSAs


LSDB

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 LSAs Number of new LSAs received


received

Number of self originated Number of LSA local router generates


LSAs

Confidential and Proprietary Information of ZTE CORPORATION 71

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Field Description

Hold time between Time interval of SPF dispatch


consecutive SPF

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 send


the summary route information to the
stub area

It is a stub area, no (Effective in the stub area) ABR cannot


summary LSA send summary route information to the
stub area

Metric for default route (Effective in the stub area) Cost of the
default route advertised to the stub area

Area has no authentication No authentication in the area

area has simple password Simple password authentication is used


authentication in 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 area


in the Up status

Number of ASBR local to Number of ASBRs in the area


this area

Number of ABR local to Number of ABRs in the area


this area

Total number of intra/inter Number of LSAs in and between areas


entries in LSDB

Checksum Sum Sum of the checksums of LSAs between


and in areas

Area ranges count Number of ranges of configured summary


address in the area

100.1.1.0 255.255.255.0 IP addresses and masks of each summary


address range are listed in order

show ip ospf border-lfas


Purpose Use this command to show routes of the backup router of the pri-
mary router.
Command Modes All modes

72 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Syntax show ip ospf border-lfas [process <process-id>]


Syntax
Description
process <process- OSPF process ID, 1~65535
id>

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-routers


Purpose 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>]
Syntax
Description process <process- OSPF process ID, range: 1~65535
id>

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 Table
Destination Next Hop Cost Type RteType Area
160.89.97.53 144.144.1.53 10 ABR INTRA 0.0.0.3
160.89.103.51 160.89.96.51 10 ABR INTRA 0.0.0.3
160.89.103.52 160.89.96.51 20 ASBR INTER 0.0.0.3
160.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 an


internal or external area

Area Area ID obtaining the path

Confidential and Proprietary Information of ZTE CORPORATION 73

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

show ip ospf database


Purpose Use this command to display a relevant information list of the OSPF
database of the specified router . Different forms of this command
are 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 <proces
s-id>]
show ip ospf database summary [<link-state-id>][adv-router
<router-id>| self-originate][area <area-id>][process <proces
s-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-rou
ter <router-id>| self-originate][area <area-id>][process <pro
cess-id>]
show ip ospf database opaque-area [<link-state-id>][adv-r
outer <router-id>| self-originate][area <area-id>][process
<process-id>]
Syntax
Description
database-summary Displays the total number of advertisements
of the link status of the whole database, and
the number of advertisements of each link
status of each area

adv-router Shows the link status advertisement


<router-id> generated by the OSPF router

router Shows advertisements of the router link


status only

network Shows advertisements of the network link


status only

summary Shows advertisements of the summary link


status of network only

asbr-summary Shows advertisements of the summary link


status of the ASBR only

74 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

nssa Shows advertisements of external link status


of type 7 only

external Shows advertisements of external link status


of type-5 only

opaque-link Shows advertisements of local opaque link


status only

opaque-area Shows advertisements of opaque link status


of areas only

<link-state-id> Part of link status advertisements including


the network environment. The meaning of its
value is related with link status type. When
the link status advertisement describes a
network, the <link-state-id>may be one of
the following two forms:
1. Network address
2. A detailed address obtained from the
network address (The result of the
“AND”of this address and the network
mask equals to the network address)
When the link status advertisement describes
a router, <link-state-id> is always the Router
ID of this router.
When external link status advertisements of
an autonomous system describes a hop of
default route, its <link-state-id> is 0.0.0.0

area <area-id> Area identifier specified in the network


command, related with the address range

self-originate Shows a variety of link status advertisements


generated by itself only

process <process- OSPF process ID, range: 1~65535


id>

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 count
110.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# Checksum
112.1.1.0 110.1.1.1 6 0x80000001 0xd99f
168.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# Checksum
168.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 count
110.1.1.1 110.1.1.1 3 0x80000025 0xf8f8 1
168.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# Checksum
168.1.1.1 110.1.1.1 1183 0x80000002 0x9787

Confidential and Proprietary Information of ZTE CORPORATION 75

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Type-5 AS External Link States


Link ID ADV Router Age Seq# Checksum Tag
113.1.0.0 168.1.1.3 48 0x80000001 0xa0dd 0
111.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 whole


link status

Link count Count of connections of links included in


advertisements of router link status

� This example uses the show ip ospf database asbr-summ


ary command.
ZXR10#show ip ospf database asbr-summary
OSPF Router with ID (110.1.1.1) (Process ID 1)
Summary ASB Link States (Area 0.0.0.0)
LS age: 68
Options: (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.1
LS Seq Number: 0x80000001
Checksum: 0xc875
Length: 28
Network Mask: /0
TOS: 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 whole


link status

76 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Field Description

Length Length of advertisements of the link


status

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 external
OSPF Router with ID (110.1.1.1) (Process ID 1)
Type-5 AS External Link States
LS age: 18
Options: (No TOS-capability, No DC)
LS Type: AS External Link
Link State ID: 111.1.0.0 (External Network Number)
Advertising Router: 110.1.1.1
LS Seq Number: 0x80000001
Checksum: 0x4ae3
Length: 36
Network Mask: /16
Metric Type: 2 (Larger than any link state path)
TOS: 0
Metric: 20
Forward Address: 110.1.1.111
External 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 link


status

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 77

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Field Description

Metric Cost of link status

Forward Address Forwarding address. If it is 0.0.0.0, the


advertisement router will be used for the
forwarding.

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 network
OSPF Router with ID (110.1.1.1) (Process ID 1)
Net Link States (Area 0.0.0.1)
Routing Bit Set on this LSA
LS age: 789
Options: (No TOS-capability, No DC)
LS Type: Network Links
Link State ID: 168.1.1.1 (Address of Designated Router)
Advertising Router: 110.1.1.1
LS Seq Number: 0x80000002
Checksum: 0x9787
Length: 32
Network Mask: /16
Attached Router: 110.1.1.1
Attached 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 whole


link status

Length Length of the link status advertisement

Network Mask Network mask

Attached Router Address list of OSPF routers connected


with 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)

78 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Routing Bit Set on this LSA


LS age: 1700
Options: (No TOS-capability, No DC)
LS Type: Router Links
Link State ID: 110.1.1.1
Advertising Router: 110.1.1.1
LS Seq Number: 0x8000001f
Checksum: 0xf9e7
Length: 36
Number of Links: 1
Link connected to: a Stub Network
(Link ID) Network/subnet number: 110.1.0.0
(Link Data) Network Mask: 255.255.0.0
Number of TOS metrics: 0
TOS 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 whole


link 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 meanings


according to different links

Metric Type External type

TOS Type of service (always 0)

� This example uses the show ip ospf database summary


command.
ZXR10#show ip ospf database summary
OSPF Router with ID (110.1.1.1) (Process ID 1)
Summary Net Link States (Area 0.0.0.0)
LS age: 129
Options: (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 79

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Advertising Router: 110.1.1.1


LS Seq Number: 0x80000001
Checksum: 0xd99f
Length: 28
Network Mask: /24
TOS: 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 whole


link 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-link


command.
ZXR10 T64-200#sho ip ospf database opaque-link
OSPF Router with ID (5.5.5.45) (Process ID 45)
Type-9 Opaque Link-local Link States (Area 0.0.0.0)
LS age: 1269
Options: (No TOS-capability,No DC)
LS Type: Opaque Link-local
Link State ID: 3.0.0.0
Opaque Type: 3
Opaque ID: 0
Advertising Router: 5.5.5.46
LS Seq Number: 80000001
Checksum: 0x6b4c
Length: 44
Fragment number: 0
Grace period: 1000
NSF reason: switch to redundant control processor
Interface ip addr: 201.46.45.0

The displayed information is described below.

Field Description

OSPF Router with id Router ID

80 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Field Description

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

Opaque Type Number of type of the advertisement of


opaque link status

Opaque ID Identifier of the advertisement of opaque


link status

Advertising Router Advertisement router ID

LS Seq Number The link status serial number

Checksum Checksum of advertisements of the whole


link 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 this


LSA

� This example uses the show ip ospf database opaque-area


self-originate command.
ZXR10 T64-200#show ip ospf d opaque-area self-originate
OSPF Router with ID (10.10.10.10) (Process ID 200)
Type-10 Opaque Link Area Link States (Area 0.0.0.0)
LS age: 1509
Options: (No TOS-capability,No DC)
LS Type: Opaque Area Link
Link State ID: 1.0.0.0
Opaque Type: 1
Opaque ID: 0
Advertising Router: 10.10.10.10
LS Seq Number: 0x80000003
Checksum: 0x5aa5
Length: 28
Fragment number : 0
MPLS TE router ID : 10.10.10.10
Number of Links : 0
LS age: 185
Options: (No TOS-capability,No DC)
LS Type: Opaque Area Link
Link State ID: 1.0.0.3
Opaque Type: 1
Opaque ID: 3
Advertising Router: 10.10.10.10
LS Seq Number: 0x80000001
Checksum: 0xfe8d
Length: 124

Confidential and Proprietary Information of ZTE CORPORATION 81

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Fragment number : 3
Link connected to Broadcast network
Link ID : 179.1.1.200
Interface Address : 179.1.1.200
Neighbor Interface Address : 0.0.0.0
Admin Metric : 1
Maximum bandwidth : 125000000
Maximum reservable bandwidth : 93750000
Number of Priority : 8
Priority 0 : 93750000 Priority 1 : 93750000
Priority 2 : 93750000 Priority 3 : 93750000
Priority 4 : 93750000 Priority 5 : 93750000
Priority 6 : 93750000 Priority 7 : 93750000
Affinity 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 of


opaque link status

Opaque ID Identifier of advertisements of opaque


link status

Advertising Router Advertisement router ID

LS Seq Number Link status serial number

Checksum Checksum of advertisements of the whole


link status

Length Length of the link status advertisement

Fragment number The same as Opaque ID

MPLS TE router ID Router identifier of OSPF traffic


engineering

Number of Links Number of links of TLV of advertisements


of this link status

Link connected to Type of TLV links (point-to-point or


broadcast)

Link ID TLV identifier

Interface Addressuitits Its own address in the link the TLV link
describes

Neighbor Interface Address of neighbors in the link the TLV


Address link describes

Admin Metric Distance of traffic engineering

Maximum bandwidth Maximum physical bandwidth, unit: bps

82 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Field Description

Maximum reservable Maximum reservable bandwidth unit: bps


bandwidth

Number of Priority Number of priority queues, unit: bps

Priority 0 (or any number Reservable bandwidth for this priority


from 0 to 8) unit: bps

Affinity Bit Affinity bit, namely, color attribute

� This example describes uses the show ip ospf database data


base-summary command.
ZXR10#show ip ospf database database-summary
OSPF Router with ID (110.1.1.1) (Process ID 1)
Area 0.0.0.0 database summary
LSA Type Count
Router 1
Network 0
Summary Net 2
Summary ASBR 1
Type-7 Ext 0
Opaque Link 0
Opaque Area 0
Subtotal 4
Area 0.0.0.1 database summary
LSA Type Count
Router 2
Network 1
Summary Net 1
Summary ASBR 0
Type-7 Ext 0
Opaque Link 0
Opaque Area 0
Subtotal 4
Process 1 database summary
LSA Type Count
Router 3
Network 1
Summary Net 3
Summary ASBR 1
Type-7 Ext 0
Opaque Link 0
Opaque Area 0
Type-5 Ext 2
Opaque AS 0
Total 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 the


area

LSA Type Link status type

Count Count

Confidential and Proprietary Information of ZTE CORPORATION 83

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Field Description

Router Advertisements of router link


status

Network Advertisement of network link


status

Summary Net Advertisements of summary link


status of network

Summary ASBR Advertisements of summary link


status of ASBR

Type-7 Ext Advertisements of external link


status of type 7

Opaque Link Advertisements of local opaque link


status in the process of nsf

Opaque Area Advertisements of opaque link


status of the area supporting TE

Subtotal Total number of LSAs in the area

Type-5 Ext Advertisement of external link


status of type 5

Opaque AS Always 0

Total Total number of LSAs

show ip ospf interface


Purpose Use this command to show information of the OSPF interface.
Command Mode All modes
Syntax show ip ospf interface [<interface-name>][process <process-
id>]
Syntax
Description
<interface-name> Interface Name

process <process- OSPF process ID, range: 1~65535


id>

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 up
Internet Address 110.1.1.100 255.255.255.0 enable
Up for 00:01:07
In the area 0.0.0.1 BDR
Cost 1, Priority 1, Network Type broadcast

84 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Transmit Delay(sec) 1, Authentication Type null


Timer intervals(sec) : Hello 10, Dead 40, Retransmit 5
Designated Router (ID) 110.1.1.10, Interface address 110.1.1.10
Backup Designated router (ID) 1.2.3.4, Interface address 110.1.1.100
Number of Neighbors 1, Number of Adjacent neighbors 1
110.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 status


of “enable”

In the area Area of ospf interfaces

DR/BDR (Effective when the interface is DR or


BDR) 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 a


update packet of link status

Authentication Type Authentication type the interface uses

Timer intervals (sec) Time interval of each timer of the


interface listed after it respectively

Hello Time interval of the interface’s sending


HELLO packets

Dead Dead time of the neighbor on the interface

Retransmit Time interval of the interface’s


retransmitting LSAs

Designated Router (ID) Router ID of DR

Interface address Interface IP address of DR

Backup Designated router Router ID of BDR


(ID)

Interface address Interface IP address of BDR

Number of Neighbors Number of neighbors of local interface

Confidential and Proprietary Information of ZTE CORPORATION 85

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Field Description

Number of Adjacent Number of adjacent neighbors of local


neighbors interface

Adjacent with neighbor Lists router ID of adjacent neighbors of


local interface in sequence

show ip ospf mpls traffic-eng


link
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>]
Syntax
Description
area <area-id> Area identifier specified in the network
command and related with the address range

process <process- OSPF process ID, range: 1~65535


id>

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 4


Link connected to Broadcast network
Link ID : 134.1.1.200
Interface Address : 134.1.1.200
Neighbor Interface Address : 0.0.0.0
Admin Metric te: 1 igp: 1
Maximum bandwidth : 125000000
Maximum reservable bandwidth : 93750000
Number of Priority : 8
Priority 0 : 93750000 Priority 1 : 93750000
Priority 2 : 93750000 Priority 3 : 93750000
Priority 4 : 93750000 Priority 5 : 93750000
Priority 6 : 93750000 Priority 7 : 93750000
Affinity Bit : 0x0

Link is associated with fragment 3


Link connected to Broadcast network
Link ID : 179.1.1.200
Interface Address : 179.1.1.200
Neighbor Interface Address : 0.0.0.0
Admin Metric te: 1 igp: 1
Maximum bandwidth : 125000000
Maximum reservable bandwidth : 93750000
Number of Priority : 8
Priority 0 : 93750000 Priority 1 : 93750000
Priority 2 : 93750000 Priority 3 : 93750000
Priority 4 : 93750000 Priority 5 : 93750000
Priority 6 : 93750000 Priority 7 : 93750000
Affinity Bit : 0x0

86 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


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 MPLS Number of MPLS TE links included in the


TE links. area

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 or


broadcast

Link ID Identifier of a TLV link

Interface Address Its own address in the link the TLV link
describes

Neighbor Interface Address of neighbors in the link the TLV


Address link describes

Admin Metric Distance of traffic engineering

igp Distance of internal gateway protocol

Maximum bandwidth Maximum physical bandwidth, unit: bps

Maximum reservable Maximum reservable bandwidth, unit:


bandwidth bps

Number of Priority Number of priority queues, unit: bps

Priority 0 (or any number Reservable bandwidth of the use of this


from 0 to 8) priority, unit: bps

show ip ospf neighbor


Purpose 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>][n
eighbor-id <neighbor>][process <process-id>]
Syntax
Description
detail Shows the detailed information

interface <interface- Interface Name


name>

Confidential and Proprietary Information of ZTE CORPORATION 87

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

neighbor-id Neighbor ID, in the form of dotted decimal


<neighbor>

process <process- OSPF process ID, range: 1~65535


id>

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 Interface


35.35.35.35 1 FULL/BDR 00:00:28 20.0.0.35 fei_1/2
15.15.15.15 1 FULL/BDR 00:00:33 10.0.0.15 fei_1/1
ZXR10#
ZXR10#show ip ospf neighbor detail

OSPF Router with ID (10.10.10.10) (Process ID 200)

Neighbor 134.1.1.201
In the area 0.0.0.0
via interface gei_7/1 134.1.1.201
Neighbor is DROTHER
State FULL, priority 0, Cost 1
Queue count : Retransmit 0, DD 0, LS Req 0
Dead time : 00:00:38 Options : 0x42
In 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 the


interface 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 the


neighbor 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 neighbor


enter the status of “down”

Options Neighbor options

In Full State Time since the full state

88 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

show ip ospf nsf


Purpose 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 be
obtained after the use of this command on the restarter.
� The detailed information of the nsf run by the helper will be
obtained after the use of this command on the helper.
Example � This example shows the print information of the restarter or
the 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 when


nsf is run.
ZXR10#show ip ospf nsf

OSPF Router with ID (134.1.1.200) (Process ID 200)

OSPF instance is graceful restarting


Restart reason is switch to redundant control processor
Grace period 240
Start time 00:00:00
Time to leave 223 s
Helper 134.1.1.201
In the area 0.0.0.0
via interface gei_7/1 134.1.1.201
Neighbor is DR
State 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 the


interface of the helper

State Status of the helper

� This example shows the print information of the helper when


nsf is run.

Confidential and Proprietary Information of ZTE CORPORATION 89

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

ZXR10#show ip ospf nsf

OSPF Router with ID (134.1.1.201) (Process ID 200)

This router is a helper of graceful restart


Restarting router ID 134.1.1.200
In the area 0.0.0.0
via interface gei_7/1 134.1.1.200
Neighbor is BDR
State EXCH
Max grace period 240
Start time 00:23:42
Time 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 of


the 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-list


Purpose 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><inte
rface-neighbor>][process <process-id>]
Syntax
Description
<neighbor> Shows all advertisements of link status LSR
packets waits to request from this neighbor

<interface-name> Shows all advertisements of link status LSR


packets waits to request on this interface

<interface-neighbor> Shows all advertisements of link status


LSR packets waits to request from the this
neighbor on this interface

process <process- OSPF process ID, range: 1~65535


id>

Instructions This command is supported after the platform version 4.6.02.

90 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Example This example shows advertisements of the link status the LSR
packet waits to request on the interface fei_1/1.
ZXR10#show ip ospf request-list fei_1/1
OSPF Router with ID (200.1.1.11) (Process ID 1)
Neighbor 200.1.1.12, interface fei_1/1 address 144.1.1.12
Type LS ID ADV RTR Seq NO Age Checksum
1 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-nam
e><interface-neighbor>][process <process-id>]
Syntax
Description
<neighbor> Shows all advertisements of link status LSR
packets waits to retransmit for this neighbor

<interface-name> Shows all advertisements of link status LSR


packets waits to retransmit on this interface

<interface-neighbor> Shows all advertisements of link status LSR


packets waits to retransmit for this neighbor
on this interface

process <process- OSPF process ID, range: 1~65535


id>

Instructions This command is supported after the platform version 4.6.02.


Example This example shows advertisements of the link status the LSR
packet waits to retransmit on the interface fei_1/1.
ZXR10#show ip ospf retransmission-list fei_1/1
OSPF Router with ID (200.1.1.12) (Process ID 1)
Neighbor 200.1.1.11, interface fei_1/1 address 144.1.1.11
Link state retransmission due in 2 sec, Queue length 2
Type LS ID ADV RTR Seq NO Age Checksum
1 200.1.1.12 200.1.1.12 0x80000210 0 0xB196

show ip ospf virtual-links


Purpose Use this command to show the information of OSPF virtual links.
Command Modes All modes
Syntax show ip ospf virtual-links [process <process-id>]

Confidential and Proprietary Information of ZTE CORPORATION 91

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Syntax
Description
process <process- OSPF process ID, range: 1~65535
id>

Instructions This command is supported after the platform version 4.6.02.


Example � When there is no OSPF virtual link, the following information
will be displayed.
ZXR10#show ip ospf virtual-links

� When there are OSPF virtual links, the following information


will be displayed.
ZXR10#show ip ospf virtual-links
Virtual Link to router 180.1.1.1
Transit area 0.0.0.1
via interface fei_1/1 200.1.1.2
State DOWN, Transmit Delay (sec) 1, Cost 5
Timer 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 the


interface that forms the virtual link

State Current status of the virtual link

Transmit Delay (sec) Delay of sending a packet of link status


update on the virtual link

Cost Cost of the virtual link

Timer intervals (sec) Time interval of the various timer of the


virtual link

Hello Time interval of the virtual link’s sending


HELLO packets

Dead Dead time of the neighbor on the virtual


link

Retransmit Time interval of the virtual link’s


retransmitting LSA

summary-address
Purpose Use this command to establish the summary address, and sum-
marize other routing protocol paths that are being redistributed to
OSPF. 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>

92 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 3 OSPF Protocol

Syntax
Description
<ip-address> IP address, in the form of dotted decimal

<net-mask> IP subnet mask for the summary path, in the


form 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 a
specified level and routes obtained from other routing proto-
cols. The measurement metric for advertising summary paths
is the minimum one among all of the more detailed paths. This
command 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 to
OSPF.
ZXR10(config)#router ospf 1
ZXR10(config-router)#summary-address 10.1.0.0 255.255.0.0

timers lsa-group-pacing
Purpose 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
Syntax
Description
<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 1
ZXR10(config-router)#timer lsa-group-pacing 2

timers spf
Purpose Use this command to specify the minimum time interval between
two continual SPF computations. Use the no form of this command
to make it restore the default value.
Command Modes Router configuration
Syntax timers spf <spf-holdtime>

Confidential and Proprietary Information of ZTE CORPORATION 93

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

no timers spf
Syntax
Description
<spf-holdtime> Minimum time interval between two continual
SPF 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 1
ZXR10(config-router)#timer spf 2

94 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4

IS-IS Protocol

Table of Contents
area ................................................................................96
authentication...................................................................96
authentication-type ...........................................................97
default-information originate...............................................97
disable .............................................................................98
disable-snp-authentication..................................................99
distance ...........................................................................99
enable .............................................................................99
enable-snp-authentication ................................................ 100
fast-reroute .................................................................... 100
hello padding .................................................................. 101
hostname ....................................................................... 101
ignore-lsp-errors ............................................................. 102
ip router isis ................................................................... 102
isis authentication ........................................................... 103
isis authentication-type .................................................... 103
isis bfd-enable ................................................................ 104
isis circuit-type................................................................ 104
isis csnp-interval ............................................................. 105
isis hello-interval ............................................................. 105
isis hello-multiplier .......................................................... 106
isis ignore-mtu................................................................ 106
isis lsp-interval................................................................ 107
isis ipv6 metric................................................................ 107
isis max-burst ................................................................. 108
isis mtu.......................................................................... 108
isis mesh-group .............................................................. 109
isis metric ...................................................................... 109
isis priority ..................................................................... 110
isis psnp-interval ............................................................. 110
isis restart ...................................................................... 111
is-type ........................................................................... 111
i-spf .............................................................................. 112
lsp-refresh-time .............................................................. 112
lsp-mtu .......................................................................... 113
max-lsp-lifetime .............................................................. 113
maximum-paths .............................................................. 114
metric-style .................................................................... 114
mpls traffic-eng............................................................... 115
passive-interface ............................................................. 115
redistribute..................................................................... 116
restart ........................................................................... 116
router isis....................................................................... 117
router-leak ..................................................................... 118
set-overload-bit .............................................................. 118
show isis adjacency ......................................................... 119

Confidential and Proprietary Information of ZTE CORPORATION 95

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

show isis circuits ............................................................. 121


show isis database........................................................... 122
show isis fast-reroute-topology ......................................... 124
show isis hostname ......................................................... 124
show isis mesh-groups ..................................................... 125
show isis nsf ................................................................... 125
show isis topology ........................................................... 126
spf-interval ..................................................................... 127
summary-address............................................................ 127
system-id ....................................................................... 128

area
Purpose 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>
Syntax
Description
<area-address> Area address, a hexadecimal string of 1~13
bytes

Instructions At most 3 area addresses can be configured.


Example This example sets the area address of IS-IS.
ZXR10(config)#router isis
ZXR10(config-router)#area 11
ZXR10(config-router)#area 11.1111.1111

authentication
Purpose 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]
Syntax
Description
<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 both


level-1 and level-2 at the same time.

96 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

Instructions After the configuration of this command, the same authentication


password are set to snp packets at the same time. By default,
snp packets are also authenticated at the same time. Disable snp
packets’ authentication with the command disable-snp-authent
ication.
Example This example configures LSP authentication of IS-IS.
ZXR10(config)#router isis
ZXR10(config-router)#authentication zte
ZXR10(config-router)#authentication zte level-1
ZXR10(config-router)#authentication zte level-2

Related enable-snp-authentication
Commands
disable-snp-authentication

authentication-type
Purpose Use this command to configure the authentication mode of LSP
packets of IS-IS. Delete the configuration with the no form of this
command.
Command Modes Router configuration
Syntax authentication-type {MD5 | TEXT}[level-1 | level-2]
no authentication [level-1 | level-2]
Syntax
Description
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 both


level-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 isis
ZXR10(config-router)#authentication-type MD5
ZXR10(config-router)#authentication-type MD5 level-1
ZXR10(config-router)#authentication-type MD5 level-2
ZXR10(config-router)#authentication-type TEXT
ZXR10(config-router)#authentication-type TEXT level-1
ZXR10(config-router)#authentication-type TEXT level-2

default-information originate
Purpose Use this command to configure the advertisement policy of the
default route. Delete the configured policy with the no form of
this command.

Confidential and Proprietary Information of ZTE CORPORATION 97

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 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
Syntax
Description
always No matter whether there is a default route in
the redistribution route entries, the system
will always generates a entry of default route
advertisement. If this parameter is not
configured, there will be an advertisement of
default routes only when redistribution routes
has default routes.

metric <metric-val Metric value, range: 0~4261412864


ue>

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-va
lue> is 0~63. If it is the metric-style wide mode, the range of
<metric-value> is 0~426142864.

disable
Purpose Use this command to disable the running of IS-IS instances and
clear IS-IS running data. Use the enable command to restart
IS-IS instances.
Command Modes Router configuration
Syntax disable
Instructions When IS-IS instances are running, the use of this command can
disable the running of IS-IS instances and clear current running
data. The use of the enable command can restart IS-IS instances.
Example This example disables the running of IS-IS instances and clears
running data.
ZXR10(config)#router isis
ZXR10(config-router)#disable

98 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

Related enable
Commands

disable-snp-authentication
Purpose Use this command to clear the authentication of SNP packets. The
enable-snp-authentication command is used to configure the
authentication of SNP packets.
Command Modes Router configuration
Syntax disable-snp-authentication
Defaults By default, after the configuration of the authentication of LSP
packets, the authentication of SNP packets will be automatically
set.
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 isis
ZXR10(config-router)#disable-snp-authentication

Related enable-snp-authentication
Commands
History Command The command no set-snp-authentication is adopted before the
platform version 4.6.02.

distance
Purpose 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
Syntax
Description
<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 isis
ZXR10(config-router)#distance 120

enable
Purpose Use this command to restart IS-IS instances.

Confidential and Proprietary Information of ZTE CORPORATION 99

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 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 on
runnning.
Example This example makes IS-IS instances go on running.
ZXR10(config)#router isis
ZXR10(config-router)#enable

Related disable
Commands
History Command Before the platform version 4.6.02, the command no disable is
adopted.

enable-snp-authentication
Purpose 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 clear
the authentication of SNP packets
Example This example enables the authentication of SNP packets.
ZXR10(config)#router isis
ZXR10(config-router)#enable-snp-authentication

Related disable-snp-authentication
Commands
History Command Before the platform version 4.6.02 the command set-snp-authe
ntication is adopted.

fast-reroute
Purpose 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}

100 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

Syntax
Description
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 interfaces
by 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 isis
ZXR10(config-router)#fast-reroute enable
ZXR10(config-router)#fast-reroute alternate-type down-stream-path

Related fast-reroute enable


Commands
no fast-reroute enable

hello padding
Purpose 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
Syntax
Description
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 isis
ZXR10(config-router)#hello padding point-to-point

hostname
Purpose 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 101

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Syntax
Description
dynamic The hostname of system is obtained
dynamically

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 isis
ZXR10(config-router)#hostname dynamic

Related hostname dynamic


Commands
no hostname dynamic

ignore-lsp-errors
Purpose To allow the router to ignore IS-IS link-state packets received with
internal checksum errors by way of directly dropping link-state
packets, use the ignore-lsp-errors command. To disable the
function, 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 with
checksum errors, and then restores default with the no form of
this command.
ZXR10(config)#router isis
ZXR10(config-router)#ignore-lsp-errors
ZXR10(config-router)#no ignore-lsp-errors

ip router isis
Purpose Use this command to add this interface into the IS-IS instance.
Delete the interface from the IS-IS instance with the no form of
this 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/1
ZXR10(config-intf)#ip router isis

102 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

isis authentication
Purpose 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]
Syntax
Description
<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-1


and level-2 at the same time.
Example This example configures the authentication of hello PDUs.
ZXR10(config)#interface fei_1/1
ZXR10(config-intf)#isis authentication zte
ZXR10(config-intf)#isis authentication zte level-1
ZXR10(config-intf)#isis authentication zte level-2

isis authentication-type
Purpose Use this command to set the authentication type of IS-IS hello
PDUs. To delete the configuration of the corresponding level, use
the no form of this command. TEXT authentication is enabled by
default.
Command Modes Interface configuration
Syntax isis authentication-type {MD5 | TEXT}[level-1 | level-2]
no isis authentication-type [level-1 | level-2]
Syntax
Description
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-1
and level-2 at the same time.
Example This example sets the authentication type of IS-IS hello PDUs.
ZXR10(config)#interface fei_1/1
ZXR10(config-intf)#isis authentication-type MD5

Confidential and Proprietary Information of ZTE CORPORATION 103

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

ZXR10(config-intf)#isis authentication-type MD5 level-1


ZXR10(config-intf)#isis authentication-type MD5 level-2
ZXR10(config-intf)#isis authentication-type TEXT level-1
ZXR10(config-intf)#isis authentication-type TEXT level-2

isis bfd-enable
Purpose 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/1
ZXR10(config-if)#isis bfd-enable

Related isis bfd-enable


Commands
no isis bfd-enable

isis circuit-type
Purpose Use this command to configure the type of the adjacency rela-
tionship established by this interface. Restore default with the no
form of this command.
Command Modes Interface configuration
Syntax isis circuit-type {level-1 | level-1-2 | level-2-only}
no isis circuit-type
Syntax
Description
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/1
ZXR10(config-intf)#isis circuit-type level-1
ZXR10(config-intf)#isis circuit-type level-1-2
ZXR10(config-intf)#isis circuit-type level-2

104 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

isis csnp-interval
Purpose Use this command to set the time interval of sending complete
serial number packets. Restore default with the no form of this
command.
Command Modes Interface configuration
Syntax isis csnp-interval <interval>[level-1 | level-2]
no isis csnp-interval [level-1 | level-2]
Syntax
Description
<interval> Time interval. unit: second, range: 1~65535,
default: 10 seconds; 3600 seconds on the
point-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-1


and level-2 at the same time.
Example This example sets the time interval of transmitting complete serial
number packets.
ZXR10(config)#interface fei_1/1
ZXR10(config-intf)#isis csnp-interval 5
ZXR10(config-intf)#isis csnp-interval 5 level-1
ZXR10(config-intf)#isis csnp-interval 5 level-2

isis hello-interval
Purpose Use this command to specify the time interval of sending IS-IS
hello PDUs of the interface. Restore default with the no form of
this command.
Command Modes Interface configuration
Syntax isis hello-interval <interval>[level-1 | level-2]
no isis hello-interval [level-1 | level-2]
Syntax
Description
<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 both
level-1 and level-2 at the same time.
Instructions � If the router is a DIS, it sends hello packets every 3 seconds
regardless of the configuration.
� There is the parameter level on the point-to-point link.

Confidential and Proprietary Information of ZTE CORPORATION 105

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Example This example describes sets the time interval of sending Hello
packets.
ZXR10(config)#interface fei_1/1
ZXR10(config-intf)#isis hello-interval 5
ZXR10(config-intf)#isis hello-interval 5 level-1
ZXR10(config-intf)#isis hello-interval 5 level-2

isis hello-multiplier
Purpose Use this command to configure the hello multiplier value of the in-
terface. This value is the number of successive IS-IS Hello packets
a neighbor must miss before the networking device should declare
the IS-IS adjacency as down.
Therefore, the “holding time” of the adjacency relationship is the
hello-interval multiplied by the hello-multiplier. Restore default
with 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]
Syntax
Description
<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 both


level-1 and level-2 at the same time.
Instructions There is no parameter level on the point-to-point link.
Example This example configures the hello-multiplier.
ZXR10(config)#interface fei_1/1
ZXR10(config-intf)#isis hello-multiplier 2
ZXR10(config-intf)#isis hello-multiplier 2 level-1
ZXR10(config-intf)#isis hello-multiplier 2 level-2

isis ignore-mtu
Purpose 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 be
ignored as long as the packets could be received.
Command Modes Interface configuration
Syntax isis ignore-mtu
no isis ignore-mtu
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 the
length of packets will still be checked.

106 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

Example This example sets the interface to ignore the check of length of
packets.
ZXR10(config)#interface fei_1/1
ZXR10(config-intf)#isis ignore-mtu

isis lsp-interval
Purpose 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]
Syntax
Description
<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 both


level-1 and level-2 at the same time.
Example This example sets the time interval of sending LSP packets to 1
second.
ZXR10(config)#interface fei_1/1
ZXR10(config-intf)#isis lsp-interval 1
ZXR10(config-intf)#isis lsp-interval 1 level-1
ZXR10(config-intf)#isis lsp-interval 1 level-2

isis ipv6 metric


Purpose 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]
Syntax
Description
<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

Example This example sets the IPv6 metric value of interface fei_1/1 as 66.
ZXR10(config)#interface fei_1/1

Confidential and Proprietary Information of ZTE CORPORATION 107

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

ZXR10(config-intf)#isis ipv6 metric 66


ZXR10(config-intf)#isis ipv6 metric 66 level-1
ZXR10(config-intf)#isis ipv6 metric 66 level-2

isis max-burst
Purpose Use this command to specify the largest amount of LSP packets
that can be sent once at most. Restore default with the no form
of this command.
Command Modes Interface configuration
Syntax isis max-burst <number>
no isis max-burst
Syntax
Description
<number> Largest amount of LSP packets that can be
sent once at most, range: 1~65535, default:
20

Example This example sets the largest amount of LSP packets that can be
sent once at most as 50.
ZXR10(config)#interface fei_1/1
ZXR10(config-intf)#isis max-burst 50

isis mtu
Purpose Use this command to set the maximum length of hello packets of
the IS-IS interface. Delete the configuration with no form of this
command.
Command Modes Interface configuration
Syntax isis mtu <512~4096>
no isis mtu
Syntax
Description
<512~4096> Maximum length of hello packets of the IS-IS
interface, in bytes

Instructions This command is supported after the platform version 4.8.21.


Example This example configures the maximum length of hello packets of
the IS-IS interface as 1500 bytes.
ZXR10(config-if)#isis mtu 1500

108 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

isis mesh-group
Purpose 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}
Syntax
Description
<mesh group Mesh-group the interface belongs to
number>

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/1
ZXR10(config-if)#isis mesh-group ?
<1-4294967295> Mesh group number
blocked Block LSPs on this interface

Related isis mesh-group


Commands
no isis mesh-grou

isis metric
Purpose 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]
Syntax
Description
<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 both


level-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/1
ZXR10(config-intf)#isis metric 20
ZXR10(config-intf)#isis metric 20 level-1
ZXR10(config-intf)#isis metric 20 level-2

Confidential and Proprietary Information of ZTE CORPORATION 109

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

isis priority
Purpose 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]
Syntax
Description
<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 both


level-1 and level-2 at the same time.
Instructions This command only appears on a broadcast link.
Example This example describes configures the priority of DIS election of
the interface.
ZXR10(config)#interface fei_1/1
ZXR10(config-intf)#isis priority 20
ZXR10(config-intf)#isis priority 20 level-1
ZXR10(config-intf)#isis priority 20 level-2

isis psnp-interval
Purpose Use this command to configure the time interval of sending partial
serial number packets. Restore default with the no form of this
command.
Command Modes Interface configuration
Syntax isis psnp-interval <interval>[level-1 | level-2]
no isis psnp-interval [level-1 | level-2]
Syntax
Description
<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 both


level-1 and level-2 at the same time.
Example This example sets the time interval of sending partial serial number
packets as 2 seconds.
ZXR10(config)#interface fei_1/1
ZXR10(config-intf)#isis psnp-interval 2
ZXR10(config-intf)#isis psnp-interval 2 level-1

110 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

ZXR10(config-intf)#isis psnp-interval 2 level-2

isis restart
Purpose 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-t
imer <interval>[level-1 | level-2]}
no isis restart {t1-retry [level-1 | level-2]}|{t1-timer [leve
l-1 | level-2]}
Syntax
Description
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

Defaults If level-1 or level-2 is not specified, this command acts at both


level-1 and level-2 at the same time.
Instructions � On broadcast multi-access networks, if local router is elected
as the DIS and this command is configured on the interface,
it is recommended to aptly add the hello-multiplier value of
the interface by the configuration of the isis hello-multiplie
command.
� 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 of
t1 timer respectively as 20, 50 seconds. Cancel the configuration
with no form of the command.
ZXR10(config)#isis restart t1-retry 20
ZXR10(config-intf)#no isis restart t1-retry
ZXR10(config-intf)#isis restart t1-timer 50 level-1
ZXR10(config-intf)#no isis restart t1-timer level-1

is-type
Purpose Use this command to configure the level IS-IS instances supports.
Restore default with the no form of this command.
Command Modes Router configuration

Confidential and Proprietary Information of ZTE CORPORATION 111

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Syntax is-type {level-1 | level-1-2 | level-2-only}


no is-type
Syntax
Description
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 isis
ZXR10(config-router)#is-type level-1
ZXR10(config-router)#is-type level-2
ZXR10(config-router)#is-type level-1-2

i-spf
Purpose Use this command to configure the incremental SPF calculation
IS-IS instances support. Delete the configuration with the no form
of this command.
Command Modes Router configuration
Syntax i-spf
no i-spf
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 isis
ZXR10(config-router)#i-spf
ZXR10(config-router)#no i-spf

lsp-refresh-time
Purpose 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
Syntax
Description
<time> Refresh time, in seconds range
:1~65535default: 900 seconds

112 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

Instructions If the value of max-lsp-lifetime is smaller than or equal to the value


of 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 isis
ZXR10(config-router)#lsp-refresh-time 300

lsp-mtu
Purpose Use this command to set the size of LSP packets.
Command Modes Router configuration
Syntax lsp-mtu <size>
no lsp-mtu <size>
Syntax
Description
<size> Size of lsp packets, in bytes, range:
512~7680

Defaults On multicast links, the size of the LSP packet is 1497 bytes by
default. This command can make the size of LSP packets in the
range 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 isis
ZXR10(config-router)#lsp-mtu 512

max-lsp-lifetime
Purpose Use this command to set the maximum time that link-state packets
persist without being refreshed. Restore the default time with the
no form of this command.
Command Modes Router configuration
Syntax lsp-refresh-time <time>
no lsp-refresh-time
Syntax
Description
<time> Maximum time that link-state packets persist
without being refreshed, in seconds, range:
1~65535, default: 900 seconds

Example This example sets lsp-refresh-time as 300 seconds.


ZXR10(config)#router isis
ZXR10(config-router)#lsp-refresh-time 300

Confidential and Proprietary Information of ZTE CORPORATION 113

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

maximum-paths
Purpose Use this command to configure the maximum equivalence route
entries IS-IS supports.
Command Modes Router configuration
Syntax maximum-paths <number>
no maximum-paths
Syntax
Description
<number> Maximum equivalence route entries IS-IS
supports, 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-IS
supports as 2.
ZXR10(config)#router isis
ZXR10(config-router)#maximum-paths 2

metric-style
Purpose 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
Syntax
Description narrow Metric style is narrow

wide Metric style is wide

Defaults If level-1 or level-2 is not specified, this command acts at both


level-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 time
and the metric style changes, the redistribution policy, SUMMARY
policy and the default metric route of the interface will be deleted.
Example This example sets the IS-IS metric style.
ZXR10(config)#router isis
ZXR10(config-router)#metric-style narrow
ZXR10(config-router)#metric-style wide

114 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

mpls traffic-eng
Purpose 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.>}}
no mpls traffic-eng {level-1 | level-2 |{router-id <Int No.>}}
no metric-style
Syntax
Description
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 traffic


engineering

<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 engineering
and sets the router-id.
ZXR10(config)#router isis
ZXR10(config-router)#mpls traffic-eng level-1
ZXR10(config-router)#mpls traffic-eng router-id loopback1

passive-interface
Purpose Use this command to configure an interface as a passive interface.
After that, the interface cannot send Hello packets, receive any
IS-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>}
Syntax
Description
default Configures all the interfaces as passive
interfaces

<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 can
be configured as passive-interface mode.
Example This example prevents routes from updating on interface fei_1/1.
ZXR10(config)#router isis
ZXR10(config-router)#passive-interface fei_1/1

Confidential and Proprietary Information of ZTE CORPORATION 115

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

redistribute
Purpose Use this command to configure the filtering policy for other proto-
col advertising routes to IS-IS. Cancel the redistribution with the
no 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>
Syntax
Description
<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-val Metric value of redistributed routes, range:


ue> 0~4261412864.

metric-type <type> Metric type of redistributed routes, external


or internal, default: internal

route-map Name of route map redistributed by current


<map-tag> protocol1~16 characters

Defaults If level-1 or level-2 is not specified, routes will be redistributed to


the 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 isis
ZXR10(config-router)#redistribute bgp
ZXR10(config-router)#redistribute bgp level-1
ZXR10(config-router)#redistribute bgp level-2
ZXR10(config-router)#redistribute bgp level-1 metric 20
ZXR10(config-router)#redistribute bgp level-1 metric 20
metric-type internal
ZXR10(config-router)#redistribute ospf level-1 metric 20

restart
Purpose 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]}}

116 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

no restart {enable |{t2-timer [level-1 | level-2]}|{t3-timer


[level-1 | level-2]}}
Syntax
Description
enable Graceful-restart function IS-IS supports

t2-timer Timer of the database synchronization of


graceful-restart

t3-timer Timer of the finish time of graceful-restart

adjacency Graceful-restart finish time depends on


holding time set in the hello packets of
advertisements of the neighbor

manual graceful-restart finish time depends on the


manual 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 t3


timer is 65535 seconds. After that the two values will be adjusted
according to the holding time carried in a received hello packet the
neighbor 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.
ZXR10(config)#router isis
ZXR10(config-router)#restart enable
ZXR10(config-router)#restart t2-timer 60
ZXR10(config-router)#restart t3-timer manual 40

router isis
Purpose Use this command to configure the IS-IS route protocol process.
Close the IS-IS route protocol process with the no form of this
command.
Command Modes Global configuration
Syntax router isis [vrf <vrf-name>]
no router isis [vrf <vrf-name>]
Syntax
Description
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 instance
will be started.

Confidential and Proprietary Information of ZTE CORPORATION 117

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Example This example describes how to configure the IS-IS route protocol
process.
ZXR10(config)#router isis

router-leak
Purpose 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
Syntax
Description
route-map Configures the route map
<map-tag>

Example This example describes how to configure the router-leak of level-2


into level-1.
ZXR10(config)#router isis
ZXR10(config-router)#level-2 into level-1 metric 66 route-map 66
ZXR10(config-router)#level-2 into level-1 metric-type
internal route-map 66

set-overload-bit
Purpose 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-b
gp]| suppress]{all | external | interlevel}
no set-overload-bit
Syntax
Description
on-start-up Sets the overload bit upon the system starting
up

<5-86400> When the on-start-up keyword is configured,


causes the overload bit to be set upon system
startup and remain set for the specified
number of seconds. The range is from 5 to
86400 seconds

auto When the on-start-up keyword is configured,


causes the overload bit to be set upon
system startup and remain set for the time of
synchronization of lsp data

118 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

wait-for-bgp When the on-start-up keyword is configured,


causes the overload bit to be set upon
system startup and remain set until BGP has
converged

suppress Causes the type of prefix identified by the


subsequent keyword or keywords to be
suppressed

all When the suppress keyword is configured,


prevents the IP prefixes learned from another
IS-IS level or other protocols from being
advertised

external When the suppress keyword is configured,


prevents the IP prefixes learned from other
protocols from being advertised

interlevel When the suppress keyword is configured,


prevents the IP prefixes learned from another
IS-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 the
current setting of the overload bit.
Example This example describes how to set the IS-IS overload bit.
ZXR10(config)#router isis
ZXR10(config-router)#set-overload-bit

show isis adjacency


Purpose 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>]
Syntax
Description
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-IS


vpn instance will be displayed.
� If the up_time is configured, either level-1 or level-2 after
up_time should be configured.
Example � This example describes how to show the current neighbor in-
formation.

Confidential and Proprietary Information of ZTE CORPORATION 119

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

ZXR10#show isis adjacency


Interface SystemID State Level Holds
NPA Priority
fei_1/1 0000.0a0a.0a0a UP L1 9 802.2
00:e0:63:06:05:c0 64
fei_1/2 0000.0a0a.0303 UP/UP L1L2 8/8 802.2
00:e0:63:0b:44:c0 64/64
fei_1/3 0000.0a0a.0505 UP/UP L1L2 7/7 802.2
00: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 the


xxxx.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.xx
format.

Priority Election DIS priority

� This example shows how to show the up_time for current


neighbor.
ZXR10 (config)#show isis adjacency up-time level-1
Interface System id State Lev Holds Pri MT Time
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.xxxx


format.

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

120 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

show isis circuits


Purpose 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>]
Syntax
Description
detail Detailed information

vrf <vrf-name> VRF name, 1~16 characters

Instructions If the VRF is configured, information about the circuit of IS-IS vpn
instances will be displayed.
Example This example describes how to display information about current
interfaces of IS-IS.
ZXR10#show isis circuits
IS-IS interface database:
Interface Status Level Circ Level 1 DR Level 2 DR
L1/L2 Priority
fei_1/1 Up L1L2 1 Disabled Disabled
10/10
fei_1/2 Up L1L2 2 1234.5678.9122.11 1234.5678.9122.11-11
64/64
pos_1/1 Up L1L2 0 Point to point Point to point
0/0
ZXR10#show isis circuits detail
Interface: fei_2/3
Encapsulation:SAP
Circuit Type:Level-1-2
Level-1 Metric:10 Priority:64 LAN ID: 12A4.5678.9122.01-01
Number of active adjacencies:1
Next hello in 9 seconds
Level-2 Metric:10 Priority:64 Circuit ID: 1200.2222.2222.02-02
Number of active adjacencies:1
Next hello in 7 seconds
Interface: pos_1/1
Encapsulation:PPP
Circuit Type:Level-1-2
Level-1 Metric:10 Level-2 Metric:10 Circuit ID:
0000.400a.0a05.02-02
active Adj state:level-1-2
Next 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 is


started, 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

Confidential and Proprietary Information of ZTE CORPORATION 121

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Field Description

Level1 DR Router specified by Level 1 of the


interface, it can be one of these formats:
“xxxx.xxxx.xxxx.xx”, “No found”,
“Disabled”, “Dis is me”, and “Point to
point”

Level2 DR Router specified by Level 1 of the


interface, it can be one of these
formats:“xxxx.xxxx.xxxx.xx” “No found”
“Disabled”, “Dis is me” and “Point to
point”

L1/L2 priority Priority of the L1/L2 specified by the


inerface

Encapsulsation Type of the encapsulation of packets

Circuit Type Type of the interface, it can be one


of these kinds: Level-1, Level-2 and
Level-1-2

show isis database


Purpose 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-nam
e>]
Syntax
Description
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

Instructions If the VRF is configured, information about the lsp database of


IS-IS vpn instances will be displayed.
Example � This example describes how to display information about cur-
rent database of IS-IS .
ZXR10#show isis database
IS-IS level 1 link-state database:
LSP ID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
1921.6800.5080-00-00 0x00000025 0x34E3 1078 0/0/0
1921.6800.5081-00-00 0x00000020 0Xd301 1103 1/0/0
IS-IS level 2 link-state database:
LSP ID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
1921.6800.5080-00-00 0x00000022 0x34E3 1078 0/0/0
1921.6800.5081-00-00 0x00000022 0Xd2A1 1103 1/0/0

The displayed information is described below.

122 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

Field Description

LSP ID LSP identifier in the


xxxx.xxxx.xxxx.xx-xx format

LSP Seq Num LSP sequence number in the


0xdddddddd format

LSP Checksum LSP checksum in the 0xdddd format

LSP Holdtime Amount of time that the LSP remains


valid (in seconds)

ATT/P/OL Attach bit/p bit/overload bit


Attach bit: This bit indicates that the
router is also a Level 2 router, and it
can reach other areas.
P bit: This bit detects if the IS can
repair area partitions.
overload bit: This bit determines if the
IS is congested. If the overload bit
is set, other routers do not use this
system as a transit router when they
calculate routes.

� This example shows detail information about current database


of IS-IS .
ZXR10#show isis database detail
IS-IS level 1 link-state database:
LSP ID LSP Seq Num LSP Checksum LSP Holdtime
ATT/P/OL
1921.6800.5080-00-00 0x00000022 0x34E3 1078 0/0/0
NLPID:0xcc
Area Address:00.0001
Metric 10 IS neighbor 1223.2232.1111-01
Metric 10 IS neighbor 1001.AC32.11D1-02
3421.68AC.0010-00-00 0x00000022 0x34E3 1078 0/0/0
NLPID:0xcc
Area Address:00.0001
Metric 10 IS neighbor 1223.0755.1111-01
Metric 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/OL
1921.6800.5080-00-00 0x00000022 0x34E3 1078 0/0/0
NLPID:0xcc
Area Address:00.0001
Metric 10 IS neighbor 1223.2232.1111-01
Metric 10 IS neighbor 1001.AC32.11D1-02
3421.68AC.0010-00-00 0x00000022 0x34E3 1078 0/0/0
NLPID:0xcc
Area Address:00.0001
Metric 10 IS neighbor 1223.0755.1111-01
Metric 10 IS neighbor 1001.AC32.0063-02

The displayed information is described below.

Field Description

IS neighbor IS neighbor

IP-Internal/IP- Reachable IP address


External

Confidential and Proprietary Information of ZTE CORPORATION 123

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Field Description

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-topo


logy
Purpose Use this command to display information about the topology of
fast reroute.
Command Modes All modes
Syntax show isis fast-reroute-topology {[level-1][level-2]}[vrf <vrf
-name>]
Syntax
Description
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 topology
of fast reroute.
gar15#show isis fast-reroute-topology level-1
IS-IS ipfrr paths to Level-1 routers
System id Interface Ipfrr interface Ipfrr type metric
0001.0000.0001 interface fei_1/1 interface fei_1/1
down-stream-path 10

show isis hostname


Purpose 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

124 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

Syntax show isis hostname [vrf <vrf-name>]


Syntax
Description
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 hostname
Level System id Hostname Dynamic
L1 0001.0000.0001 R1
L2 0001.0000.0001 R1

show isis mesh-groups


Purpose Use this command to display IS-IS mesh group information.
Command Modes All modes
Syntax show isis mesh-groups {blocked | group}[vrf <vrf-name>]
Syntax
Description
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 group
IS-IS mesh group 2
fei_1/1
ZXR10(config-if)#show isis mesh-groups blocked
IS-IS mesh group [blocked]:fei_1/1

show isis nsf


Purpose 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>
Syntax
Description
vrf <vrf-name> VRF name, 1~16 characters

Instructions When routers are gracefully restarting, this command can be used
to look over parameters of relevant status.
Example This example describes how to display parameters of status related
with current graceful restart of IS-IS.
ZXR10#show isis nsf

Confidential and Proprietary Information of ZTE CORPORATION 125

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

IS-IS NSF information:


NSF is ENABLE
NSF mode is Normal
NSF L1 active interface: 1
NSF L2 active interface: 1
NSF L1 T2 remaining: 20 seconds
NSF L2 T2 remaining: 20 seconds
NSF T3 using Adjacency
NSF T3 remaining: 10 seconds

Interface:fei_1/1
NSF L1 restart state: restart
NSF L1 helper in restart state: Other
NSF L1 T1 remaining: 5 seconds
NSF L1 T1 retransmissions: 1
NSF L2 restart state: restart
NSF L2 helper in restart state: Other
NSF L2 T1 remaining: 5 seconds
NSF L2 T1 retransmissions: 1

show isis topology


Purpose Use this command to display current IS-IS topology.
Command Modes All modes
Syntax show isis topology [level-1 | level-2][vrf <vrf-name>]
Syntax
Description
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 topology
IS-IS paths to level-1 routers
System Id Metric Next-Hop Interface SNPA
0000.0000.0002 10 0000.0000.0002 fei_1/2 0000.0c03.6bc5
0000.0000.0005 --
0000.0000.0053 10 0000.0000.0053 fei_1/2 0060.3e58.ccde

The displayed information is described below.

Field Description

System Id System identifier of the destination IS

Metric Metric of arriving at the destination IS “—”


indicates itself “**” indicates routes of the IS
cannot be calculated

Next-Hop Next-hop IS to the destination IS; “no next


hop” indicates that next-hop IS cannot be
found

126 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

Field Description

Interface Interface of routes forwarding

SNPA Securing Networks with PIX and ASA (SNPA)


address of next-hop; P-P interface tag:
“*ppp*”

spf-interval
Purpose 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]
Syntax
Description
<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 both


level-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 isis
ZXR10(config-router)#spf-interval 10
ZXR10(config-router)#spf-interval 10 level-1
ZXR10(config-router)#spf-interval 10 level-2

summary-address
Purpose Use this command to specify the summary address of IS-IS. Delete
the summary address of the specified level with the no form of this
command.
Command Modes Router configuration
Syntax summary-address <ip-address><net-mask><metric-value>[l
evel-1 | level-1-2 | level-2]
no summary-address <ip-address><net-mask>

Confidential and Proprietary Information of ZTE CORPORATION 127

Downloaded from www.Manualslib.com manuals search engine


ZXR10 Command Manual (IPv4 Routing Volume I)

Syntax
Description
<ip-address> Summary address allocated to a certain range
of addresses, in the dotted decimal format

<net-mask> IP subnet mask for summarizing route, in the


dotted decimal format

<metric-value> Metric value, range: 0~4261412864

level-1 Indicates that the redistribution information


into Level 1 is summarized to Level 1
according to the summary address

level-1-2 Indicates that the redistribution information


into Level 1 is summarized to Level 1
according to the summary address, and the
redistribution information into Level 2 and
routing information that Level 1 advertises to
Level 2 are summarized to Level 2 according
to the summary address

level-2 Indicates that the redistribution information


into Level 2 and routing information that
Level 1 advertises to Level 2 are summarized
to Level 2 according to the summary address

Instructions The interface address enter the summary address of Level 1 other
than that of Level 2.
If it is the metric-style narrow mode, the range of the <metric-v
alue> will be 0~63. When it is the metric-style wide mode, the
range of the <metric-value> will be 0~426142864.
Example This example describes how to configure the IS-IS address sum-
mary.
ZXR10(config)#router isis
ZXR10(config-router)#summary-address 192.168.0.0 255.255.0.0
ZXR10(config-router)#summary-address 192.168.0.0 255.255.0.0 10
ZXR10(config-router)#summary-address 192.168.0.0 255.255.0.0 10
level-1
ZXR10(config-router)#summary-address 192.168.0.0 255.255.0.0 10
level-2

system-id
Purpose 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

128 Confidential and Proprietary Information of ZTE CORPORATION

Downloaded from www.Manualslib.com manuals search engine


Chapter 4 IS-IS Protocol

Syntax
Description
<system-id> System identifier of the instance in 6-byte
hex strings, in the xxxx.xxxx.xxxx format

range <range-numb Expandable range of the system identifier,


er> range: 0~32, default: 0. The instance
will 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 isis
ZXR10(config-router)#system-id 1111.1111.1111
ZXR10(config-router)#system-id 1111.1111.1111 range 32

Confidential and Proprietary Information of ZTE CORPORATION 129

Downloaded from www.Manualslib.com manuals search engine