Professional Documents
Culture Documents
Version: V1.2.1
ZTE CORPORATION
NO. 55, Hi-tech Road South, ShenZhen, P.R.China
Postcode: 518057
Tel: +86-755-26771900
Fax: +86-755-26770801
URL: http://ensupport.zte.com.cn
E-mail: support@zte.com.cn
LEGAL INFORMATION
Copyright © 2011 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 CORPORATION 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 disclaimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose,
title or non-infringement. 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
R1.1 2010-12-30 Update information about GCSA, GCSAS and EIGMP cards
I
2.21 network.......................................................................................................... 2-18
2.22 offset-list ........................................................................................................ 2-19
2.23 output-delay ................................................................................................... 2-20
2.24 redistribute..................................................................................................... 2-21
2.25 show ip rip ..................................................................................................... 2-22
2.26 show ip rip database....................................................................................... 2-23
2.27 show ip rip interface........................................................................................ 2-24
2.28 show ip rip networks ....................................................................................... 2-24
2.29 timers basic ................................................................................................... 2-25
2.30 validate-update-source ................................................................................... 2-26
2.31 version........................................................................................................... 2-27
II
3.26 ip ospf authentication-key ............................................................................... 3-24
3.27 ip ospf cost .................................................................................................... 3-25
3.28 ip ospf dead-interval ....................................................................................... 3-25
3.29 ip ospf hello-interval........................................................................................ 3-26
3.30 ip ospf message-digest-key............................................................................. 3-27
3.31 ip ospf mtu-ignore........................................................................................... 3-28
3.32 ip ospf network ............................................................................................... 3-29
3.33 ip ospf priority................................................................................................. 3-30
3.34 ip ospf retransmit-interval ................................................................................ 3-31
3.35 ip ospf transmit-delay...................................................................................... 3-31
3.36 maximum-paths(OSPF) .................................................................................. 3-32
3.37 neighbor(OSPF) ............................................................................................. 3-33
3.38 network(OSPF) .............................................................................................. 3-34
3.39 no area .......................................................................................................... 3-35
3.40 notify default route .......................................................................................... 3-36
3.41 nsf................................................................................................................. 3-37
3.42 passive-interface ............................................................................................ 3-38
3.43 redistribute(OSPF) ......................................................................................... 3-38
3.44 router-id ......................................................................................................... 3-40
3.45 show ip ospf................................................................................................... 3-41
3.46 show ip ospf border-routers............................................................................. 3-44
3.47 show ip ospf database .................................................................................... 3-45
3.48 show ip ospf interface ..................................................................................... 3-54
3.49 show ip ospf neighbor ..................................................................................... 3-56
3.50 show ip ospf nsf ............................................................................................. 3-57
3.51 show ip ospf request-list.................................................................................. 3-59
3.52 show ip ospf retransmission-list ....................................................................... 3-60
3.53 show ip ospf virtual-links ................................................................................. 3-61
3.54 summary-address........................................................................................... 3-62
3.55 timers lsa-group-pacing .................................................................................. 3-63
3.56 timers spf....................................................................................................... 3-64
III
4.6 bgp client-to-client reflection................................................................................ 4-7
4.7 bgp cluster-id ..................................................................................................... 4-8
4.8 bgp confederation identifier ................................................................................. 4-9
4.9 bgp confederation peers ..................................................................................... 4-9
4.10 bgp dampening .............................................................................................. 4-10
4.11 bgp default ipv4-unicast ...................................................................................4-11
4.12 bgp default local-preference ............................................................................ 4-12
4.13 bgp default route-targer filter ........................................................................... 4-13
4.14 bgp fast-external-fallover................................................................................. 4-14
4.15 bgp graceful-restart ........................................................................................ 4-15
4.16 bgp router-id .................................................................................................. 4-16
4.17 bgp update-delay............................................................................................ 4-16
4.18 clear ip bgp dampening................................................................................... 4-17
4.19 clear ip bgp flap-statistics ................................................................................ 4-18
4.20 default-information originate ............................................................................ 4-19
4.21 default-metric ................................................................................................. 4-20
4.22 disable ip bgp................................................................................................. 4-21
4.23 distance bgp .................................................................................................. 4-21
4.24 enable ip bgp ................................................................................................. 4-22
4.25 exit-address-family ......................................................................................... 4-23
4.26 ip as-path access-list ...................................................................................... 4-24
4.27 ip community-list ............................................................................................ 4-25
4.28 ip prefix-list .................................................................................................... 4-26
4.29 maximum-paths.............................................................................................. 4-27
4.30 neighbor originate-interval............................................................................... 4-28
4.31 neighbor active............................................................................................... 4-29
4.32 neighbor advertisement-interval....................................................................... 4-30
4.33 neighbor allowas-in......................................................................................... 4-31
4.34 neighbor default-originate ............................................................................... 4-32
4.35 neighbor description ....................................................................................... 4-33
4.36 neighbor ebgp-multihop .................................................................................. 4-34
4.37 neighbor maximum-prefix................................................................................ 4-35
4.38 neighbor next-hop-self .................................................................................... 4-36
4.39 neighbor password ......................................................................................... 4-37
4.40 neighbor prefix-list .......................................................................................... 4-38
4.41 neighbor remote-as ........................................................................................ 4-39
4.42 neighbor remove-private-as............................................................................. 4-40
IV
4.43 neighbor route-map ........................................................................................ 4-41
4.44 neighbor route-reflector-client.......................................................................... 4-43
4.45 neighbor send-community ............................................................................... 4-44
4.46 neighbor send-med......................................................................................... 4-45
4.47 neighbor shut-down ........................................................................................ 4-46
4.48 neighbor soft-reconfiguration ........................................................................... 4-47
4.49 neighbor timers .............................................................................................. 4-48
4.50 neighbor update-source .................................................................................. 4-49
4.51 network.......................................................................................................... 4-50
4.52 redistribute..................................................................................................... 4-51
4.53 reset ip bgp .................................................................................................... 4-52
4.54 synchronization .............................................................................................. 4-53
4.55 show bgp all neighbor ..................................................................................... 4-53
4.56 show bgp all protocol ...................................................................................... 4-55
4.57 show bgp all summary .................................................................................... 4-56
4.58 show bgp ipv4 multicast .................................................................................. 4-57
4.59 show bgp ipv4 multicast neighbor .................................................................... 4-58
4.60 show bgp ipv4 unicast .................................................................................... 4-60
4.61 show bgp ipv4 unicast dampening dampened-paths ......................................... 4-62
4.62 show bgp ipv4 unicast dampening flap-statistics ............................................... 4-63
4.63 show bgp ipv4 unicast neighbor....................................................................... 4-63
4.64 show bgp ipv4 unicast summary ...................................................................... 4-67
4.65 show ip as-path-access-list ............................................................................. 4-68
4.66 show ip bgp dampened-paths.......................................................................... 4-69
4.67 show ip bgp flap-statistics ............................................................................... 4-69
4.68 show ip bgp neighbor...................................................................................... 4-70
4.69 show ip bgp protocol....................................................................................... 4-73
4.70 show ip bgp route ........................................................................................... 4-74
4.71 show ip bgp summary ..................................................................................... 4-75
4.72 show ip community-list.................................................................................... 4-76
4.73 show ip prefix-list............................................................................................ 4-77
4.74 timers bgp...................................................................................................... 4-78
V
5.5 authentication-type ............................................................................................. 5-5
5.6 default-information originate................................................................................ 5-6
5.7 disable............................................................................................................... 5-7
5.8 disable-snp-authentication .................................................................................. 5-8
5.9 distance............................................................................................................. 5-8
5.10 enable ............................................................................................................. 5-9
5.11 enable-snp-authentication ............................................................................... 5-10
5.12 hello padding ................................................................................................. 5-10
5.13 ignore-lsp-errors..............................................................................................5-11
5.14 is-type ........................................................................................................... 5-12
5.15 lsp-mtu .......................................................................................................... 5-13
5.16 lsp-refresh-time .............................................................................................. 5-13
5.17 max-lsp-lifetime .............................................................................................. 5-14
5.18 maximum-paths.............................................................................................. 5-15
5.19 metric-style .................................................................................................... 5-16
5.20 redistribute..................................................................................................... 5-17
5.21 restart............................................................................................................ 5-18
5.22 set-overload-bit .............................................................................................. 5-19
5.23 show isis adjacency........................................................................................ 5-20
5.24 show isis circuits ............................................................................................ 5-21
5.25 show isis database ......................................................................................... 5-23
5.26 show isis nsf .................................................................................................. 5-25
5.27 show isis topology .......................................................................................... 5-26
5.28 spf-interval ..................................................................................................... 5-27
5.29 summary-address........................................................................................... 5-28
5.30 system-id ....................................................................................................... 5-30
Glossary .......................................................................................................... I
VI
About This Manual
Purpose
The ZXA10 C220 xPON Optical Access Convergence Equipment (ZXA10 C220 for short)
is a full-service optical access platform. It supports the video, data, voice, TDM, and CATV
services. The ZXA10 C220 can be connected with ONUs of medium or larger capacity
through various networking technologies.
The ZXA10 C220 device consists of the main control and switching card, xPON subscriber
cards, CES uplink card, and Ethernet uplink card. It provides large-capacity controllable
multicast and high QoS control.
This manual provides the command information on the ZXA10 C220 xPON Optical Access
Convergence Equipment.
Intended Audience
This document is intended for:
l Installation and debugging engineer
l Network monitoring engineer
l System maintenance engineer
l Data configuration engineer
Chapter Summary
Chapter 1, PIM Snooping Commands Describes the commands related to PIM Snooping.
Chapter 2, RIP Protocol Commands Describes the commands related to RIP protocol.
Chapter 3, OSPF Protocol Commands Describes the commands related to OSPF Protocol.
Chapter 4, BGP Protocol Commands Describes the commands related to BGP Protocol.
Chapter 5, IS-IS Protocol Commands Describes the commands related to IS-IS protocol.
I
Related Documentation
The following documentation is related to this manual:
l ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Documentation
Guide
l ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Feature Guide
l ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Product
Description
l ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Hardware
Description
l ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Cabinet
Installation Guide
l ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Configuration
Manual (CLI)
l ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Configuration
Manual (NetNumen) Volume I
l ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Configuration
Manual (NetNumen) Volume II
l ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Maintenance
Manual
l ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Alarm and
Notification Message Reference
l ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Command
Reference (Volume I)
l ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Command
Reference (Volume II)
l ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Command
Reference (Volume III)
l ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Command
Reference (Volume IV)
Conventions
ZTE documents employ the following typographical conventions.
Typeface Meaning
Bold Menus, menu options, function names, input fields, radio button names, check
boxes, drop-down lists, dialog box names, window names.
CAPS Keys on the keyboard and buttons on screens and company name.
II
Typeface Meaning
Typeface Meaning
Click Refers to clicking the primary mouse button (usually the left mouse button) once.
Double-click Refers to quickly clicking the primary mouse button (usually the left mouse button)
twice.
Right-click Refers to clicking the secondary mouse button (usually the right mouse button)
once.
III
IV
Declaration of RoHS
Compliance
To minimize the environmental impact and take more responsibility to the earth we live,
this document shall serve as formal declaration that the ZXA10 C220 manufactured by
ZTE CORPORATION is in compliance with the Directive 2002/95/EC of the European
Parliament - RoHS (Restriction of Hazardous Substances) with respect to the following
substances:
l Lead (Pb)
l Mercury (Hg)
l Cadmium (Cd)
l Hexavalent Chromium (Cr (VI))
l PolyBrominated Biphenyls (PBB’s)
l PolyBrominated Diphenyl Ethers (PBDE’s)
The ZXA10 C220 manufactured by ZTE CORPORATION meets the requirements of EU 2002/95/EC;
however, some assemblies are customized to client specifications. Addition of specialized,
customer-specified materials or processes which do not meet the requirements of EU 2002/95/EC
may negate RoHS compliance of the assembly. To guarantee compliance of the assembly, the
need for compliant product must be communicated to ZTE CORPORATION in written form. This
declaration is issued based on our current level of knowledge. Since conditions of use are outside
our control, ZTE CORPORATION makes no warranties, express or implied, and assumes no liability
in connection with the use of this information.
I
II
Chapter 1
PIM Snooping Commands
Table of Contents
ip pim snooping ..........................................................................................................1-1
pim snooping..............................................................................................................1-2
show ip pim snooping all-statistic................................................................................1-2
show ip pim snooping all-statistic clear .......................................................................1-3
show ip pim snooping entry ........................................................................................1-4
show ip pim snooping neighbor-info ...........................................................................1-5
show ip pim snooping port-info ...................................................................................1-5
show ip pim snooping port-statistic clear interface ......................................................1-6
show ip pim snooping port-statistic interface...............................................................1-7
Purpose
To enable PIM snooping
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enable PIM snooping:
ZXAN(config)#ip pim snooping
ZXAN(config)#
Related Commands
None
1-1
Purpose
To configure PIM snooping for VLAN
Usage Guidelines
None
Mode
ZXAN(config-vlan)#
Example
The following example displays how to configure PIM snooping for the VLAN:
ZXAN(config)#ip pim snooping
ZXAN(config)#vlan 2
ZXAN(config-vlan)#pim snooping
ZXAN(config-vlan)#
Related Commands
ip pim snooping
Related Information
This command takes effect only when snooping is globally enabled.
Purpose
To display all (accumulated) statistics of PIM packets
Usage Guidelines
None
1-2
Mode
All modes except user mode
Example
The following example displays all (accumulated) statistics of PIM packets:
ZXAN#show ip pim snooping all-statistic
RxHello = 0; RxJoinPrune = 0;
TxHello = 0; TxJoinPrune = 0;
DropRxTotal = 0;
RxTotal = 0; TxTotal = 0;
Related Commands
show ip pim snooping all-statistic clear
show ip pim snooping port-statistic clear interface
show ip pim snooping port-statistic interface
Purpose
To display statistics of all the received PIM packets
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example displays statistics of all the received PIM packets:
ZXAN#show ip pim snooping all-statistic clear
RxHello = 0; RxJoinPrune = 0;
TxHello = 0; TxJoinPrune = 0;
DropRxTotal = 0;
RxTotal = 0; TxTotal = 0;
1-3
Related Commands
show ip pim snooping all-statistic
show ip pim snooping port-statistic clear interface
show ip pim snooping port-statistic interface
Purpose
To display all VLAN entries for PIM snooping
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays all VLAN entries
ZXAN#show ip pim snooping entry
Related Commands
show ip pim snooping port-info
1-4
Purpose
To display the information about neighboring routers
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example displays the information about neighboring routers:
ZXAN#show ip pim snooping neighbor-info
Related Commands
show ip pim snooping port-info
show ip pim snooping entry
Purpose
To display the VLAN port information
Usage Guidelines
The following table provides parameter description:
1-5
Mode
All modes except user mode
Example
This example displays the VLAN port information:
ZXAN#show ip pim snooping port-info 2
Related Commands
show ip pim snooping port-info
show ip pim snooping entry
Purpose
To display statistics for all the received PIM packets
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the statistics of all the PIM packets received by gei_0/5/1:
ZXAN#show ip pim snooping port-statistic clear interface gei_0/5/1
RxHello = 0; RxJoinPrune = 0;
TxHello = 0; TxJoinPrune = 0;
1-6
DropRxTotal = 0;
RxTotal = 0; TxTotal = 0;
Related Commands
show ip pim snooping all-statistic clear
show ip pim snooping port-statistic interface
Purpose
To display the port statistics
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the statistics of all the PIM packets received by gei_0/5/1
(accumulated):
ZXAN#show ip pim snooping port-statistic interface gei_0/5/1
RxHello = 0; RxJoinPrune = 0;
TxHello = 0; TxJoinPrune = 0;
DropRxTotal = 0;
RxTotal = 0; TxTotal = 0;
Related Commands
show ip pim snooping all-statistic clear
1-7
1-8
2-1
Purpose
To enter the RIP configuration mode
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enter the RIP configuration mode:
ZXAN(config)#router rip
ZXAN(config-router)#
Related Commands
None
2.2 auto-summary
Syntax
auto-summary
no auto-summary
Purpose
To send only the convergence routing information about the classical network and super
network
Usage Guidelines
None
Mode
ZXAN(config-router)#
2-2
Example
The following example displays how to send only the convergence routing information
about the classical network and super network:
ZXAN(config)#router rip
ZXAN(config-router)#auto-summary
Related Commands
None
Related Information
Super netwotk is the network which has multi-network segment IP addresses and is
allocated to subscriber by ISP.
2.3 default-metric
Syntax
default-metric metric-value
no default-metric
Purpose
To configure re-distribution of other protocol generated routes as the default metric for the
RIP route
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure re-distribution of other protocol generated
routes as the default metric for the RIP route:
ZXAN(config)#router rip
ZXAN(config-router)#default-metric 2
ZXAN(config-router)#
2-3
Related Commands
redistribute
Related Information
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.
Purpose
To disable the RIP on an interface
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the RIP on an interface:
ZXAN(config)#router rip
ZXAN(config-router)#disable interface 10.20.1.20
Related Commands
enable interface
2.5 distance
Syntax
distance distance
2-4
no distance
Purpose
To configure the RIP route management distance
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the RIP route management distance:
ZXAN(config)#router rip
ZXAN(config-router)#distance 122
ZXAN(config-router)#
Related Commands
None
Related Information
The RIP route management distance is defined to change the selection for the optimal
route by the global routing table.
Purpose
To enable the RIP on an interface
Usage Guidelines
The following table provides parameter description:
2-5
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the RIP on an interface:
ZXAN(config)#router rip
ZXAN(config-router)#enable interface 10.20.1.20
ZXAN(config-router)#
Related Commands
disable interface
2.7 flash-update-threshold
Syntax
flash-update-threshold threshold
no flash-update-threshold
Purpose
To suppress regularly scheduled flash updates
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to suppress regularly scheduled flash updates:
ZXAN(config)#router rip
ZXAN(config-router)#flash-update-threshold 10
2-6
ZXAN(config-router)#
Related Commands
None
Related Information
By default, this command is disabled.
This command suppresses flash updates when the arrival of a regularly scheduled update
matches the number of seconds that is configured with the threshold parameter.
If the number of seconds matches the number of seconds or is less than the number
seconds that is configured with the threshold parameter, the flash update is suppressed. If
the number of seconds until the flash update arrives exceeds the number of seconds that
is configured with the threshold parameter, the flash update is not suppressed.
2.8 ip poison-reverse
Syntax
ip poison-reverse
no ip poison-reverse
Purpose
To enable the poison reverse mechanism
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the poison reverse mechanism:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip poison-reverse
ZXAN(config-if)#
Related Commands
None
2-7
Related Information
When the poison reversion mechanism is enabled, the metric must be configured as infinite
(Metric = 16), so that the route information is returned to the router that originally advertises
the route and the loop is broken in time. However, this may cause increase in the traffic
on the network. When the network load is greater, the poison reverse should be disabled.
Purpose
To configure the key for the simple text authentication for the RIP interface
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the key for the simple text authentication
for the RIP interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip authentication key zxan
ZXAN(config-if)#
Related Commands
ip rip authentication mode
Related Information
If the key is not configured using the key command, the authentication is not performed on
the interface.
2-8
Purpose
To configure the key-chain for the MD5 authentication
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the key-chain for the MD5 authentication:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip authentication key-chain 1 abcd
ZXAN(config-if)#no ip rip authentication key-chain 1
ZXAN(config-if)#
Related Commands
ip rip authentication mode
Related Information
ip rip authentication mode md5 and ip rip authentication key-chain commands are
configured at the same time.
2-9
Purpose
To configure the authentication type for the RIP version 2 message packet
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the authentication type for the RIP version
2 message packet:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip authentication mode md5
ZXAN(config-if)#
Related Commands
ip rip authentication key
ip rip authentication key-chain
Related Information
By default, there is no authentication mode.
Purpose
To configure the method to send/receive route information on an interface
Usage Guidelines
The following table provides parameter description:
2-10
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the method to send/receive route
information on an interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip interface passive
ZXAN(config-if)#
Related Commands
None
Related Information
This command can also be used to reduce the bandwidth occupation of the network.
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.
Purpose
To configure an interface to enter into the RIP neighbor restriction mode
2-11
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to configure an interface to enter into the RIP neighbor
restriction mode:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip neighbor-restrict
ZXAN(config-if)#
Related Commands
neighbor
Related Information
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 is sent. The packets can be received from either
the configured or the found neighbor.
Purpose
To configure an interface to advertise default router when the default route exists on this
router
Usage Guidelines
The following table provides parameter description:
2-12
Mode
ZXAN(config-if)#
Example
The following example displays how to configure an interface to advertise default router
when the default route exists on this router:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip notify default route
ZXAN(config-if)#
Related Commands
ip rip originate default route
Purpose
To configure an interface to advertise only the interface-related network subnet information
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to configure an interface to advertise only the
interface-related network subnet information:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip only-send-subnet
ZXAN(config-if)#
Related Commands
None
2-13
Related Information
When this command is used, the interface sends only the route information of the interface
in the same subnet, while the route information not in the same subnet is shielded. When
the lower-level router advertises route information to the upper-level router, only its subnet
information needs to be advertised. This command can be used to reduce the route
information volume.
Purpose
To configure a default route on the interface and force advertisement
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-if)#
Example
The following example displays how to configure a default route on the interface and force
advertisement:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip originate default route
ZXAN(config-if)#
Related Commands
ip rip notify default route
2-14
Purpose
To configure the RIP version to be received on the interface
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the RIP version to be received on the
interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip rip receive version 1
ZXAN(config-if)#
Related Commands
None
Related Information
This command can be used to ignore the RIP default status specified by the version
command, but this only applies for the configured interfaces.
2.18 ip split-horizon
Syntax
ip split-horizon
no ip split-horizon
2-15
Purpose
To enable the split horizon function
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to enable the split horizon function:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#no ip split-horizon
ZXAN(config-if)#
Related Commands
None
Related Information
By default, split horizon is enabled.
This command enables split horizon, preventing the RIP router from advertising routes
from the interface originating the route, reducing the possibility of routing loops. The no
version disables split horizon.
It is generally not recommended to change the default status of the split horizon, unless
it is used for advertising routes. The default status must be changed in the application
system. If the split horizon is disabled on the serial interface (and the interface is
connected with the packet switching network), it must be disabled for all the routers and
access servers in the related multicast groups on the network.
2.19 maximum-paths
Syntax
maximum-paths number
no maximum-paths
Purpose
To configure the maximum routes supported in load balance
2-16
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the maximum routes supported in load
balance:
ZXAN(config)#router rip
ZXAN(config-router)#maximum-paths 2
ZXAN(config-router)#
Related Commands
None
Related Information
The same effective routes received through the RIP are adjusted according to the
requirements of the load balance.
2.20 neighbor
Syntax
neighbor ip-address
no neighbor ip-address
Purpose
To define a neighboring router with which to exchange routing information
Usage Guidelines
The following table provides parameter description:
2-17
Mode
ZXAN(config-router)#
Example
The following example displays how to define a neighboring router with which to exchange
routing information:
ZXAN(config)#router rip
ZXAN(config-router)#neighbor 10.10.10.2
ZXAN(config-router)#
Related Commands
ip rip interface
Related Information
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 of that interface exchanges the RIP route information in the broadcast (multicast)
mode. At most 255 neighbors can be found or configured at the same time.
2.21 network
Syntax
network ip-address net-mask
no network ip-address net-mask
Purpose
To specify the network table for RIP routing
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
2-18
Example
The following example displays how to specify the network table for RIP routing:
ZXAN(config)#router rip
ZXAN(config-router)#network 202.102.3.0 0.0.0.255
ZXAN(config-router)#
Related Commands
router rip
Related Information
The RIP route update information can be sent/received only through these network
interfaces. The RIP sends the update information to the specified network interface. If an
interface network is not specified, the RIP update advertisement cannot be obtained.
2.22 offset-list
Syntax
offset-list access-list-number { in | out} offset [ interface interface-name]
Purpose
To configure the specified received/sent route metric offset
Usage Guidelines
The following table provides parameter description:
in Inbound packets -
Mode
ZXAN(config-router)#
2-19
Example
The following example displays how to configure the specified received/sent route metric
offset:
ZXAN(config)#router rip
ZXAN(config-router)#offset-list 3 in 2
ZXAN(config-router)#
Related Commands
None
Related Information
If an interface name is specified, the offset value is effective only for the specified interface.
2.23 output-delay
Syntax
output-delay packets delay
no output-delay
Purpose
To configure the delay between the RIP update messages
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the delay between the RIP update
messages:
ZXAN(config)#router rip
ZXAN(config-router)#output-delay 580 10
ZXAN(config-router)#
2-20
Related Commands
None
Related Information
If packets are sent from a high-speed router to a low-speed router in high speed, the
low-speed router cannot receive the packets in high speed. Here, this command can be
used to prevent the loss of information in the routing table.
2.24 redistribute
Syntax
redistribute protocol [ metric metric-value] [ route-map map-tag]
no redistribute protocol [ metric] [ route-map]
Purpose
To re-distribute routes from one route domain to the RIP route domain
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to re-distribute routes from one route domain to the
RIP route domain:
ZXAN(config)#router rip
ZXAN(config-router)#redistribute ospf-ext
ZXAN(config-router)#
2-21
Related Commands
default-metric
Purpose
To display the basic information of the RIP operation
Usage Guidelines
None
Mode
All modes except exec mode
Example
The following example displays the basic information of the RIP operation:
ZXAN#show ip rip
router rip
auto-summary
default-metric 1
distance 120
validate-update-source
version 2
flash-update-threshold 5
maximum-paths 2
output-delay 580 10
timers basic 30 180 180 240
neighbor
10.10.10.2
network
202.102.3.0 0.0.0.255
ZXAN#
Related Commands
None
2-22
Related Information
According to the output information of this command, the user knows whether the
configuration is correct and conducts IP fault diagnosis.
Purpose
To display the route entries generated by the RIP protocol
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the route entries generated by the RIP protocol:
ZXAN#show ip rip databae
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
ZXAN#
Related Commands
None
2-23
Related Information
According to the output information of this command, the user can judge whether the
current RIP routing table is correct or not.
Purpose
To display the RIP interface information
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the RIP interface information:
ZXAN#show ip rip interface gei_1/9/1
ZXAN#
Related Commands
None
Purpose
To display the RIP networks configured by the user
2-24
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example displays the RIP networks configured by the user:
ZXAN#show ip rip networks
networks wildmask
202.102.3.0 0.0.0.255
ZXAN#
Related Commands
network
Purpose
To adjust the RIP network timer
Usage Guidelines
The following table provides parameter description:
2-25
Mode
ZXAN(config-router)#
Example
The following example displays how to adjust the RIP network timer:
ZXAN(config)#router rip
ZXAN(config-router)#timers basic 5 15 15 30
ZXAN(config-router)#
Related Commands
None
Related Information
The RIP basic timer is adjustable. Since the RIP executes the asynchronous routing
algorithm, it is very important to keep consistent timers for all routers and access servers.
Note:
If the update period is too short, it may cause congestion in the low-speed serial line, while it does
not cause big problem in the high-speed serial line of the fast Ethernet. In addition, if there are many
routes to be updated, it may take much time for the router to handle the update.
2.30 validate-update-source
Syntax
validate-update-source
no validate-update-source
Purpose
To enable or disable the source IP address that enters the route update
Usage Guidelines
None
Mode
ZXAN(config-router)#
2-26
Example
The following example displays how to disable the source IP address that enters the route
update:
ZXAN(config)#router rip
ZXAN(config-router)#no validate-update-source
ZXAN(config-router)#
Related Commands
None
Related Information
The software ensures that the source IP addresses that enter the route update are
defined as the addresses of the receiving interface. These addresses are in the same IP
network. When the split horizon is enabled for the entry interface, the system executes
the consistency check.
2.31 version
Syntax
version { 1 | 2}
Syntax
no version
Purpose
To configure the RIP version used by a specified router
Usage Guidelines
The following table provides parameter description:
1 Version number 1 -
2 Version number 2 -
Mode
ZXAN(config-router)#
2-27
Example
The following example displays how to configure the RIP router version used by a specified
router:
ZXAN(config)#router rip
ZXAN(config-router)#version 2
ZXAN(config-router)#
Related Commands
ip rip receive version
2-28
3-1
network(OSPF) ........................................................................................................3-34
no area.....................................................................................................................3-35
notify default route....................................................................................................3-36
nsf............................................................................................................................3-37
passive-interface ......................................................................................................3-38
redistribute(OSPF) ...................................................................................................3-38
router-id ...................................................................................................................3-40
show ip ospf .............................................................................................................3-41
show ip ospf border-routers ......................................................................................3-44
show ip ospf database..............................................................................................3-45
show ip ospf interface...............................................................................................3-54
show ip ospf neighbor ..............................................................................................3-56
show ip ospf nsf .......................................................................................................3-57
show ip ospf request-list ...........................................................................................3-59
show ip ospf retransmission-list ................................................................................3-60
show ip ospf virtual-links...........................................................................................3-61
summary-address ....................................................................................................3-62
timers lsa-group-pacing ............................................................................................3-63
timers spf .................................................................................................................3-64
Purpose
To enter the OSPF protocol configuration mode
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config)#
Example
The following example displays how to enter the OSPF protocol configuration mode:
ZXAN(config)#router ospf 1
ZXAN(config-router)#
3-2
Related Commands
None
Related Information
If the OSPF protocol is started but is disabled, the system prompts “Please enable
the OSPF instance first” and returns to the global configuration mode. If the OSPF
protocol is started and it is enabled, it directly enters the OSPF protocol configuration mode.
The global OSPF and the OSPF under the VRFs use different process numbers.
Purpose
To enable the authentication for the OSPF area
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the authentication for the OSPF area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 authentication message-digest
ZXAN(config-router)#
Related Commands
None
3-3
Related Information
If no parameter is attached, it is the type 1 authentication, that is, the simple password
authentication. If the parameter is attached, it is the type 2 authentication, that is, the
message-digest authentication. If the area does not exist, it is created automatically.
Purpose
To filter network routing information between OSPF area
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to filter network routing information between OSPF
area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#network 20.20.20.0 0.0.0.255 area 1
ZXAN(config-router)#exit
ZXAN(config)#ip prefix-list ZXAN deny 20.20.20.0 24
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 0.0.0.1 filter-list prefix ZXAN out
ZXAN(config-router)#
3-4
Related Commands
None
Related Information
If the area does not exist, it is created automatically. By default, there is no OSPF area
network route filtering information.
Purpose
To configure an area as the NSSA area
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure an area as the NSSA area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 nssa default-information-originate
ZXAN(config-router)#
3-5
Related Commands
None
Related Information
If the area does not exist, it is created automatically. By default, NSSA area network is not
defined. If default type-7 LSA for this area is defined, the cost of the default value 1 must
be type ext-2.
Purpose
To configure the address range of the summary route in an area
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the address range of the summary route
in an area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#network 10.1.1.0 0.0.0.255 area 1
ZXAN(config-router)#network 10.1.2.0 0.0.0.255 area 1
ZXAN(config-router)#network 10.1.3.0 0.0.0.255 area 1
3-6
Related Commands
None
Purpose
To configure an area as a stub area
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure an area as a stub area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 stub no-summary efault-cost 10
ZXAN(config)#router ospf 1
ZXAN(config-router)#no area 1 stub no-summary
ZXAN(config-router)#no area 1 stub default-cost
ZXAN(config-router)#
3-7
Related Commands
None
Related Information
The area is created automatically if it does not exist. It can also be specified whether
to prohibit the ABR to send the summary network route information to the stub area and
whether to advertise the default route cost to the stub area.
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 restore the default route cost advertise to
the stub area as the default 1.
The no area area-id stub command is used to change the specified area from a stub area
to a non-stub area.
Purpose
To add the host route advertised by the router in an area
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to add the host route advertised by the router in an
area:
3-8
ZXAN(config)#router ospf 1
ZXAN(config-router)#area 1 stub-host 10.1.1.1 cost 10
ZXAN(config-router)#
Related Commands
None
Related Information
The no area area-id stub-host ip-address command deletes the host route advertised by the
router in an area.
Purpose
To configure an OSPF virtual link
Usage Guidelines
The following table provides parameter description:
3-9
Mode
ZXAN(config-router)#
Example
The following example displays how to configure an OSPF virtual link:
ZXAN_01(config)#router ospf 1
ZXAN_01(config-router)#area 1 virtual-link 15.15.15.15
ZXAN_02(config)#router ospf 1
ZXAN_02(config-router)#area 1 virtual-link 16.16.16.16
ZXAN_02(config-router)#
Related Commands
None
Related Information
If the area does not exist, it is created automatically.
3-10
3.9 auto-cost
Syntax
auto-cost reference-bandwidth ref-bw
no auto-cost reference-bandwidth
Purpose
To modify the reference bandwidth of the OSPF process
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to modify the reference bandwidth of the OSPF
process:
ZXAN(config)#router ospf 1
ZXAN(config-router)#auto-cost reference-bandwidth 10000
ZXAN(config-router)#
Related Commands
ip ospf cost
Related Information
If the OSPF process interface has not been configured using the ip ospf cost command,
the cost of the OSPF interface is the reference bandwidth divided by the interface
bandwidth. Otherwise, the cost of the OSPF interface is the value configured in the ip
ospf cost command for the interface. This command takes effect immediately after the
configuration.
3-11
Purpose
To enable or disable a route to support Opaque LSA
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to disable a route to support Opaque LSA:
ZXAN(config)#router ospf 1
ZXAN(config-router)#no capability opaque
ZXAN(config-router)#
Related Commands
show ip ospf database
Related Information
By default, opaque LSAs are allowed.
During the exchange of link state database, opaque LSAs are included in the database
summary list and transmitted to the neighbor routers that also support opaque LSAs.
Before a router floods opaque LSAs to neighbor routers, it first checks whether the neighbor
routers support opaque LSAs. Opaque LSAs are transmitted only to the neighbor routers
that support the function, and they are added to the link state retransmit list of neighbor
routers. When LSU packets are multicasted, the neighbor routers that do not support the
function receive the LSAs passively and simply discard them.
3-12
Purpose
To restart the OSPF process
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN#
Example
The following example displays how to restart the OSPF process:
ZXAN(config)#router ospf 1
ZXAN(config-router)#end
ZXAN#clear ip ospf process 1
ZXAN#
Related Commands
None
Purpose
To clear OSPF route redistribution
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN#
3-13
Example
The following example displays how to clear OSPF route redistribution:
ZXAN#clear ip ospf redistribution 1
ZXAN#
Related Commands
None
Purpose
To restore the method used to calculate summary route costs per RFC 1583
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to restore the method used to calculate summary
route costs per RFC 1583:
ZXAN(config)#router ospf 1
ZXAN(config-router)#compatible rfc1583
ZXAN(config-router)#
Related Commands
None
Related Information
To minimize the chance of routing loops, all OSPF routers in an OSPF routing domain
should have RFC compatibility set identically.
3-14
Use the no compatible rfc1583 command to enable the calculation method used per RFC
2328.
3.14 debug
Syntax
debug
no debug
Purpose
To enable the debug information for an OSPF process
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the debug information for an OSPF process:
ZXAN(config)#router ospf 1
ZXAN(config-router)#debug
ZXAN(config-router)#
Related Commands
None
Related Information
Since the OSPF may have many processes, to enable the debug information may cause
mutual interference, and this command can be used to solve the problem.
This configuration is not written into database and not displayed in the show running-config
command.
3.15 default-metric(OSPF)
Syntax
default-metric metric-value
no default-metric
3-15
Purpose
To configure the default metric after the redistribution
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the default metric after the redistribution:
ZXAN(config)#router ospf 1
ZXAN(config-router)#default-metric 10
ZXAN(config-router)#
Related Commands
None
Related Information
This command takes effect only when the user has not configured the cost value of the
external routes.
This command does not affect redistribution. The metric value for OSPF redistribution can
be changed by only the redistribute command.
Purpose
To disable the specified area if it exists
Usage Guidelines
The following table provides parameter description:
3-16
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the specified area if it exists:
ZXAN(config)#router ospf 1
ZXAN(config-router)#disable area 1
ZXAN(config-router)#
Related Commands
enable area
Purpose
To disable the OSPF interfaces in the specified range
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the interfaces in the specified range:
ZXAN(config)#router ospf 1
ZXAN(config-router)#disable interface 10.1.0.0 0.0.255.255
ZXAN(config-router)#
3-17
Related Commands
enable interface
Purpose
To disable the OSPF protocol
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the OSPF protocol:
ZXAN(config)#disable ip ospf 1
ZXAN(config)#
Related Commands
enable ip ospf
Purpose
To configure the OSPF route administrative distances based on route type
3-18
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the OSPF route administrative distances
based on route type:
ZXAN(config)#router ospf 1
ZXAN(config-router)#distance ospf internal 100
ZXAN(config-router)#
Related Commands
None
Related Information
When the routing priority is 255, this route in not valid.
This command performs the same function as the distance command used with an access
list. However, the distance ospf command allows the user to set a distance for an entire
group of routes, rather than a specific route that passes an access list.
Purpose
To enable the specified area
3-19
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the specified area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#enable area 1
ZXAN(config-router)#
Related Commands
enable area
Purpose
To enable the OSPF interfaces in the specified range
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the interfaces in the specified range:
ZXAN(config)#router ospf 1
3-20
Related Commands
disable interface
Purpose
To enable the OSPF protocol
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the OSPF protocol:
ZXAN(config)#enable ip ospf 1
ZXAN(config)#
Related Commands
disable ip ospf
3.23 filter
Syntax
filter [ exact] ip-address net-mask preference
3-21
Purpose
To control whether to introduce the routing table for the routes generated by external LSAs
and the introducing priority
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to control whether to introduce the routing table for
the routes generated by external LSAs and the introducing priority:
ZXAN(config)#router ospf 1
ZXAN(config-router)#filter exact 10.10.10.0 55.255.255.0 20
ZXAN(config-router)#
Related Commands
None
3.24 grace-period
Syntax
grace-period num
no grace-period
Purpose
To configure the NSF grace period
Usage Guidelines
The following table provides parameter description:
3-22
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the NSF grace period:
ZXAN(config)#router ospf 1
ZXAN(config-router)#grace-period 300
ZXAN(config-router)#
Related Commands
capacity opaque
nsf
Purpose
To configure the authentication mode for the interface
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the authentication mode for the interface:
3-23
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf authentication message-digest
ZXAN(config-if)#
Related Commands
None
Purpose
To configure the simple password authentication for the interface
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the simple password authentication for
the interface:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf authentication-key ZXAN
ZXAN(config-if)#
Related Commands
None
Related Information
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ
`*- =~!@#$%^&()_+[]{}|;':,./<> \ are the characters allowed in a password.
3-24
Purpose
To configure the explicit interface cost
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the explicit interface cost:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf cost 10
ZXAN(config-if)#
Related Commands
auto-cost
Related Information
If ip ospf cost command is configured on an interface, the auto-cost reference-bandwidth
command is not effective. To enable the auto-cost reference-bandwidth command to take
effect, first delete the cost value configured by the ip ospf cost command.
no ip ospf dead-interval
3-25
Purpose
To configure the dead time of the specified interface neighbor
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the dead time of the specified interface
neighbor:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf dead-interval 80
ZXAN(config-if)#
Related Commands
ip ospf hello-interval
Related Information
The dead-interval is generally configured to four times the hello-interval.
no ip ospf hello-interval
Purpose
To configure the time interval for the interface to send the Hello messages
Usage Guidelines
The following table provides parameter description:
3-26
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the time interval for the interface to send
the hello messages:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf hello-interval 20
ZXAN(config-if)#
Related Commands
ip ospf dead-interval
Related Information
The Hello-interval is generally configured to be 1/4 of the dead-interval.
Purpose
To configure the password serial number pair for the interface with message digest
authentication
Usage Guidelines
The following table provides parameter description:
delay time Time delay before the key takes Range: 0 - 100000 min
effect
3-27
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the password serial number pair for the
interface with message digest authentication:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf message-digest-key 2 md5 ZXAN
ZXAN(config-if)#
Related Commands
None
Related Information
If the delay time parameter is used, the protocol data packets are not sent temporarily for
the specified time, but the interface can receive messages.
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ`*-
=~!@#$%^&()_+[]{}|;’:,./<>\ characters can be used for password.
Purpose
To disable OSPF MTU mismatch detection on receiving DBD packets
Usage Guidelines
None
Mode
ZXAN(config-if)#
Example
The following example displays how to disable OSPF MTU mismatch detection on
receiving DBD packets:
ZXAN(config)#interface vlan 2
3-28
Related Commands
None
Related Information
OSPF checks whether neighbors are using the same MTU on a common interface. This
check is performed when neighbors exchange Database Descriptor (DBD) packets. If the
receiving MTU in the DBD packet is higher than the IP MTU configured on the incoming
interface, OSPF adjacency is not established.
Purpose
To configure the interface type
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the interface type:
3-29
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf network point-to-point
ZXAN(config-if)#
Related Commands
None
Related Information
The default interface type depends on network types. Point-to-multipoint type needs
configuration.
Purpose
To configure the interface priority
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the interface priority:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf priority 10
ZXAN(config-if)#
Related Commands
None
3-30
Related Information
Interface priority is configured to 0 when the router cannot be used as DR and BDR.
Purpose
To configure the interface LSA retransmission time interval
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the interface LSA retransmission time
interval:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf retransmit-interval 10
ZXAN(config-if)#
Related Commands
None
3-31
Purpose
To configure the delay for the interface to transmit a link status update packet
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-if)#
Example
The following example displays how to configure the delay for the interface to transmit a
link status update packet:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf transmit-delay 2
ZXAN(config-if)#
Related Commands
None
3.36 maximum-paths(OSPF)
Syntax
maximum-paths number
no maximum-paths [ number]
Purpose
To configure the maximum routes supported in load balance
Usage Guidelines
The following table provides parameter description:
3-32
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the maximum routes supported in load
balance:
ZXAN(config)#router ospf 1
ZXAN(config-router)#maximum-paths 4
ZXAN(config-router)#
Related Commands
None
Related Information
When the router has a complete link state database, it is ready to create its routing table
for stream forwarding. The default overhead metric is the bandwidth based on network
medium. To calculate the minimum overhead to the destination, the routing table stores at
most eight entries with the same overhead for load balancing. This can be configured by
the maximum-paths command.
The router generally selects the path with the minimum metric value. If there are multiple
paths with the minimum and identical metric value, load balancing is enabled on these
paths. The maximum-paths command can be used to support up to eight paths with the
same metric value.
This command is valid immediately but it takes some time for system to process this
command.
3.37 neighbor(OSPF)
Syntax
neighbor ip-address [ cost cost] [ priority priority] [ poll-interval seconds]
Purpose
To configure the neighbor router on the non-broadcast network
Usage Guidelines
The following table provides parameter description:
3-33
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the neighbor router on the non-broadcast
network:
ZXAN(config)#router ospf 1
ZXAN(config-router)#neighbor 10.1.1.0
ZXAN(config-router)#
Related Commands
None
Related Information
The no neighbor ip-address cost command restores default neighbor cost.
The no neighbor ip-address priority command restores default neighbor priority.
The no neighbor ip-address poll-interval command restores default neighbor polling
interval.
The no neighbor ip-address command is used to delete a specified neighbor. Similar to the
configuring a neighbor, this command also enables interface traversal to find the interface
neighbor and delete the neighbor.
3.38 network(OSPF)
Syntax
network ip-address wildcard-mask [ area area-id]
no network ip-address wildcard-mask [ area area-id]
Purpose
To configure the interfaces where the OSPF protocol runs, and define the area ID for these
interfaces
3-34
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the interfaces where the OSPF protocol
runs, and define the area ID for these interfaces:
ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip address 10.10.1.1 255.255.255.0
ZXAN(config-if)#exit
ZXAN(config)#router ospf 1
ZXAN(config-router)#network 10.10.1.0 0.0.0.255 area 0
ZXAN(config-router)#
Related Commands
None
3.39 no area
Syntax
no area area-id
Purpose
To delete the specified area
Usage Guidelines
The following table provides parameter description:
3-35
Mode
ZXAN(config-router)#
Example
The following example displays how to delete the specified area:
ZXAN(config)#router ospf 1
ZXAN(config-router)#no area 1
ZXAN(config-router)#
Related Commands
disable area
enable area
Related Information
If there is any network command related to this area in the configuration database, the
configuration is simultaneously deleted. If the specified area does not exist, this command
becomes ineffective.
If the area is configured with virtual link, the command returns failure.
Purpose
To notify the default route
Usage Guidelines
The following table provides parameter description:
3-36
Mode
ZXAN(config-router)#
Example
The following example displays how to notify the default route:
ZXAN(config)#router ospf 1
ZXAN(config-router)#notify default route always metric 20 metric-type
ext-1 route-map map
ZXAN(config-router)#
Related Commands
None
3.41 nsf
Syntax
nsf
no nsf
Purpose
To configure the forward uninterrupted (NSF) capacity
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the forward uninterrupted (NSF) capacity:
ZXAN(config)#router ospf 1
ZXAN(config-router)#nsf
ZXAN(config-router)#
Related Commands
capacity opaque
grace-period
3-37
3.42 passive-interface
Syntax
passive-interface { default | interface}
Purpose
To configure an interface as a passive interface so that the interface cannot send any Hello
packet, receive any packet and establish neighbor-ship and adjacency with other routers
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure an interface as a passive interface so that
the interface cannot send any Hello packet, receive any packet and establish neighbor-ship
and adjacency with other routers:
ZXAN(config)#router ospf 1
ZXAN(config-router)#passive-interface vlan 2
ZXAN(config-router)#
Related Commands
None
3.43 redistribute(OSPF)
Syntax
redistribute protocol [ as as-number] [ peer peer-address] [ tag tag-value] [ metric metric-value]
[ metric-type type] [ route-map map-tag]
3-38
Purpose
To redistribute the other protocol routes into the OSPF autonomous system
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to redistribute the other protocol routes into the OSPF
autonomous system:
ZXAN(config)#router ospf 1
ZXAN(config-router)#redistribute bgp-int tag 1 route-map map
ZXAN(config-router)#no redistribute bgp-int route-map
ZXAN(config-router)#
Related Commands
None
Related Information
no redistribute protocol command is used to remove the redistribution of routes.
no redistribute protocol tag command is used to restore the protocol routing redistribution
Type 5 LSA value to default.
no redistribute protocol metric command is used to restore the Type 5 LSA's metric value
to default.
3-39
no redistribute protocol metric type command is used to restore routing redistribution Type
5 LSA's metric type to default.
If no redistribute protocol route-map command is used, no filtering occurs and all routes
are redistributed..
3.44 router-id
Syntax
router-id ip-address
no router-id
Purpose
To specify the router ID for an OSPF process
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to specify the router ID for an OSPF process:
ZXAN(config)#router ospf 1
ZXAN(config-router)#router-id 5.5.5.5
ZXAN(config-router)#
Related Commands
None
Related Information
This configuration takes effect after the router restarts or the OSPF process is restarted
manually. The OSPF is manually restarted with the clear ip ospf process command.
3-40
Purpose
To display the OSPF protocol and OSPF areas summary information
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the OSPF protocol and OSPF areas summary information:
l show ip ospf (OSPF protocol is not activated)
ZXAN#show ip ospf
There is no OSPF instance
ZXAN#
3-41
ZXAN#
3-42
Information Description
Number of self originated LSAs Number of the LSAs generated by the router
Hold time between consecutive SPF Hold time interval between consecutive SPF
Last NSF restart ago Time interval from the last nsf restart
Times spf has been run Number of times the SPF algorithm is executed
Number of ASBR local to this area The number of the ASBRs in the area
Number of ABR local to this area Number of the ABRs in the area
Total number of intra/inter entries in LSDB Number of the LSAs between and in the areas
3-43
Information Description
Related Commands
None
Purpose
To display the ABR and ASBR internal OSPF routing information
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the ABR and ASBR internal OSPF routing information:
ZXAN#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
ZXAN#
3-44
Information Description
Related Commands
None
Purpose
To display the specified router OSPF database information
Usage Guidelines
The following table provides parameter description:
3-45
Mode
All modes except user mode
Example
The following example displays the specified router OSPF database information:
l show ip ospf database
ZXAN#show ip ospf database
3-46
ZXAN#
Information Description
LS age: 98
Options: (No TOS-capability, No DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 0.0.0.0 (Summary Network Number)
Advertising Router: 192.168.2.1
LS Seq Number: 0x80000002
Checksum: 0x717f
Length: 28
Network Mask: /0
TOS: 0 Metric: 1
ZXAN#
3-47
Information Description
ZXAN#
3-48
Information Description
3-49
ZXAN#
Information Description
3-50
ZXAN#
Information Description
3-51
Information Description
link ID Link ID
3-52
Type-7 Ext 1
Opaque Link 0
Opaque Area 0
Subtotal 2
ZXAN#
Information Description
Count Quantity
3-53
Information Description
Opaque AS Always 0
Related Commands
None
Purpose
To display the OSPF interface information
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the OSPF interface information:
ZXAN#show ip ospf interface vlan 2 process 1
vlan2 is down
Internet Address 10.10.1.1 255.255.255.0 disable
3-54
Up for 00:00:00
In the area 0.0.0.0
Cost 10, Priority 10, Network Type point-to-point
Transmit Delay(sec) 10, Authentication Type message-digest
Timer intervals(sec) : Hello 20, Dead 80, Retransmit 10
Number of Neighbors 0, Number of Adjacent neighbors 0
ZXAN#
Information Description
Transmit Delay (sec) Delay for the interface to transmit a link status
update data packet
Timer intervals (sec) List the intervals of the timers of the interface
Adjacent with neighbor List the IDs of the routers adjacent with the
interface
3-55
Related Commands
None
Purpose
To display the OSPF neighbor information
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the OSPF neighbor information:
ZXAN#show ip ospf neighbor
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_1/9 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
ZXAN#
3-56
Information Description
Neighbor Neighbor ID
DR Router ID of the DR
Related Commands
None
Purpose
To display the OSPF NSF information
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example displays the OSPF NSF information:
l show ip ospf nsf: NSF helper interface and restart interface.
3-57
ZXAN#
ZXAN#
Information Description
3-58
ZXAN#
Information Description
Max grace period Longest time period for the non-stop forward
transmission
Related Commands
None
Purpose
To display all the link status advertisement lists requested by the router
Usage Guidelines
The following table provides parameter description:
neighbor Neighbor -
3-59
Mode
All modes except user mode
Example
The following example displays all the link status advertisement lists requested by the
router:
ZXAN#show ip ospf request-list
OSPF Router with ID (200.1.1.11) (Process ID 1)
Neighbor 200.1.1.12, interface vlan2 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
ZXAN#
Related Commands
None
Purpose
To display the link status advertisement list resent by the router
Usage Guidelines
The following table provides parameter description:
neighbor Neighbor -
3-60
Mode
All modes except user mode
Example
The following example displays the link status advertisement list resent by the router:
ZXAN#show ip ospf retransmission-list
OSPF Router with ID (192.168.2.1) (Process ID 1)
ZXAN#
Related Commands
None
Purpose
To display the information about OSPF virtual links
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the information about OSPF virtual links
l show ip ospf virtual-links
ZXAN#show ip ospf virtual-links
ZXAN#
3-61
ZXAN#
Information Description
Related Commands
None
3.54 summary-address
Syntax
summary-address ip-address net-mask
Purpose
To create aggregate addresses for OSPF
Usage Guidelines
The following table provides parameter description:
3-62
Mode
ZXAN(config-router)#
Example
The following example displays how to create aggregate addresses for OSPF:
ZXAN(config)#router ospf 1
ZXAN(config-router)#summary-address 10.1.0.0 255.255.0.0
ZXAN(config-router)#
Related Commands
None
Related Information
By default, this command is disabled.
Multiple groups of addresses can be summarized for a given level. Routes learned from
other routing protocols can also be summarized. The metric used to advertise the summary
is the smallest metric of all the more specific routes. This command helps reduce the size
of the routing table.
Using this command for OSPF causes an OSPF ASBR to advertise one external route as
an aggregate for all redistributed routes that are covered by the address. For OSPF, this
command summarizes only routes from other routing protocols that are being redistributed
into OSPF.
OSPF does not support the summary-address 0.0.0.0 0.0.0.0 command.
no timers lsa-group-pacing
3-63
Purpose
To change the interval at which OSPF LSAs are collected into a group and refreshed,
checksummed, or aged
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to change the interval at which OSPF LSAs are
collected into a group and refreshed, checksummed, or aged:
ZXAN(config)#router ospf 1
ZXAN(config-router)#timers lsa-group-pacing 2
ZXAN(config-router)#
Related Commands
None
Related Information
By default, OSPF LSA group pacing is enabled.
Purpose
To configure the minimum time interval between two continuous SPF computations
Usage Guidelines
The following table provides parameter description:
3-64
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the minimum time interval between two
continuous SPF computations:
ZXAN(config)#router ospf 1
ZXAN(config-router)#timers spf 2
ZXAN(config-router)#
Related Commands
None
3-65
3-66
4-1
neighbor next-hop-self..............................................................................................4-36
neighbor password ...................................................................................................4-37
neighbor prefix-list ....................................................................................................4-38
neighbor remote-as ..................................................................................................4-39
neighbor remove-private-as......................................................................................4-40
neighbor route-map ..................................................................................................4-41
neighbor route-reflector-client...................................................................................4-43
neighbor send-community ........................................................................................4-44
neighbor send-med ..................................................................................................4-45
neighbor shut-down..................................................................................................4-46
neighbor soft-reconfiguration ....................................................................................4-47
neighbor timers ........................................................................................................4-48
neighbor update-source............................................................................................4-49
network ....................................................................................................................4-50
redistribute ...............................................................................................................4-51
reset ip bgp ..............................................................................................................4-52
synchronization ........................................................................................................4-53
show bgp all neighbor ..............................................................................................4-53
show bgp all protocol................................................................................................4-55
show bgp all summary..............................................................................................4-56
show bgp ipv4 multicast ...........................................................................................4-57
show bgp ipv4 multicast neighbor.............................................................................4-58
show bgp ipv4 unicast ..............................................................................................4-60
show bgp ipv4 unicast dampening dampened-paths.................................................4-62
show bgp ipv4 unicast dampening flap-statistics.......................................................4-63
show bgp ipv4 unicast neighbor ...............................................................................4-63
show bgp ipv4 unicast summary...............................................................................4-67
show ip as-path-access-list ......................................................................................4-68
show ip bgp dampened-paths...................................................................................4-69
show ip bgp flap-statistics.........................................................................................4-69
show ip bgp neighbor ...............................................................................................4-70
show ip bgp protocol ................................................................................................4-73
show ip bgp route .....................................................................................................4-74
show ip bgp summary ..............................................................................................4-75
show ip community-list .............................................................................................4-76
show ip prefix-list......................................................................................................4-77
timers bgp ................................................................................................................4-78
4-2
Purpose
To configure the BGP router module
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config)#
Example
The following example displays how to configure the BGP router module:
ZXAN(config)#router bgp 1
ZXAN(config-router)#
Related Commands
None
Purpose
To enter the BGP IPv4 multicast address-family mode
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to enter the BGP IPv4 multicast address-family mode:
ZXAN(config)#router bgp 1
ZXAN(config-router)#address-family ipv4 multicast
ZXAN(config-router-af)#
4-3
Related Commands
None
Related Information
Routing information for address family IPv4 is advertised by default when the user
configures a BGP routing session.
4.3 aggregate-adress
Syntax
aggregate-address ip-address net-mask [ count count] [ as-set] [ summary-only] [ strict]
no aggregate-address ip-address net-mask
aggregate-address ip-address net-mask subnet subnet-address subnet-mask
no aggregate-address ip-address net-mask subnet subnet-address subnet-mask
Purpose
To create an aggregate policy in the BGP routing table
Usage Guidelines
The following table provides parameter description:
4-4
Mode
ZXAN(config-router)#
Example
The following example displays how to create an aggregate policy in the BGP routing table:
l aggregate-address 10.0.0.0 255.0.0.0 count 0
ZXAN(config)#router bgp 1
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 count 0
ZXAN(config-router)#
Related Commands
None
4-5
Purpose
To allow the comparison of the MEDs for paths from neighbors in different ASs
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to allow the comparison of the MEDs for paths from
neighbors in different autonomous systems:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp always-compare-med
ZXAN(config-router)#
Related Commands
reset ip bgp
Related Information
The MED is one of the parameters that is considered when selecting the best path among
many alternative paths. The path with a lower MED is preferred over a path with a higher
MED.
By default, during the best-path selection process, MED comparison is done only among
paths from the same autonomous system. This command changes the default behavior
by allowing comparison of MEDs among paths regardless of the autonomous system from
which the paths are received.
4.5 bgp as
Syntax
bgp as as-number as-weight
no bgp as as-number
Purpose
To configure the AS route path weight policy
Usage Guidelines
The following table provides parameter description:
4-6
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the AS route path weight policy:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp as 2 200
ZXAN(config-router)#
Related Commands
None
Purpose
To restore the route reflection from a BGP route reflector to clients
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the client to client reflection:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp client-to-client reflection
ZXAN(config-router)3
4-7
Related Commands
neighbor route-reflector-client
Related Information
By default, BGP reflects routes received from any route reflector client to all other route
reflector clients.
Purpose
To configure the reflector cluster routing ID
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the reflector cluster routing ID:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp cluster-id 10.1.1.1
ZXAN(config-router)#
Related Commands
neighbor route-reflector-client
Related Information
By default, group ID is the router ID.
4-8
When an autonomous system has multiple routing reflectors, in order to prevent routing
loop, the messages are send with group ID.
Purpose
To configure the confederation ID
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the confederation ID:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp confederation identifier 3
ZXAN(config-router)#
Related Commands
bgp confederation peers
Purpose
To configure the autonomous systems that belong to the confederation
4-9
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the autonomous systems that belong to
the confederation:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp confederation peers 65500
ZXAN(config-router)#
Related Commands
bgp confederation identifier
Related Information
The autonomous systems specified in this command are visible internally to a
confederation. Each autonomous system is fully meshed within itself. The bgp
confederation identifier command specifies the confederation to which the autonomous
systems belong.
Purpose
To enable the BGP route dampening or modify the BGP route dampening factors
Usage Guidelines
The following table provides parameter description:
4-10
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the BGP route dampening:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp dampening
ZXAN(config-router)#
Related Commands
None
Related Information
By default, BGP dampening is disabled.
The parameters half-life reuse, suppress and max-suppress-time are dependent on each other.
Therefore, if one is used, the other three must be specified and suppress must be greater
than reuse.
Once the route has been assigned a penalty, the penalty is decreased by half after the
half-life period.
4-11
Purpose
To enable BGP to support the IPv4 address capacity
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the IPv4 unicast address family on all
neighbors:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp default ipv4-unicast
ZXAN(config-router)#
Related Commands
None
Related Information
The IPv4 capability is inherited from the original BGP configuration when the neighbor is
created. After the creation, the modification of the BGP configuration does not affect this
neighbor. The IPv4 capability is controlled with the neighbor activate command.
Purpose
To configure the local priority of the routes advertised by the BGP
Usage Guidelines
The following table provides parameter description:
4-12
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the local priority of the routes advertised
by the BGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp default local-preference 500
ZXAN(config-router)#
Related Commands
None
Related Information
When the routes are advertised to the peers, this command is used to configure the
local-preference value of the route, to affect the route decision of the peers. If the other
peers obtain the advertised routes and the local-preference value exists, this value does
not overwrite the existing value.
Purpose
To enable the automatic BGP route-target community filtering
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the BGP route-target community filtering:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp default route-target filter
ZXAN(config-router)#
4-13
Related Commands
None
Related Information
By default, the route-target filter is enabled.
Use the bgp default route-target filter command to control the distribution of VPN routing
information through the list of VPN route-target communities.
If the router for BGP route-target community filtering is configured, all received EBGP
VPN-IPv4 routes are discarded when those routes do not contain a route-target community
value that matches the import list of any configured VRFs.
no bgp fast-external-fallover
Purpose
To enable or disable the re-establishment of the BGP session upon connection fault
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the re-establishment of the BGP session
upon connection fault:
ZXAN(config)#router bgp 1
ZXAN(config-router)#no bgp fast-external-fallover
ZXAN(config-router)#
Related Commands
None
4-14
Related Information
By default, the BGP session is recreated automatically when the link fails. According to
RFC1771, when the BGP connection becomes idle due to error conversion, it needs the
Start event to access the Connect state. If this condition happens automatically, it may
cause interruption. To avoid this condition, double the reconnection attempt time.
When the router is in the Idle state, it tries to reconnect. If reconnection fails, the time for
next reconnection attempt is doubled. After using this command, the user does not have to
wait for the doubled reconnection time, but the doubled time is recorded. If the command
fails, the router tries to use the recorded doubled time for reconnection.
Purpose
To configure the BGP graceful restart time
Usage Guidelines
The following table provides parameter description:
stalepath-time seconds Used to set the maximum time Range: 1 - 3600 sec
to hold on to the stale paths of a
gracefully restarted peer
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the BGP graceful restart time:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp graceful-restart
ZXAN(config-router)#
4-15
Related Commands
None
Related Information
All stale paths are deleted after the expiration of stalepath-time seconds timer.
Purpose
To configure the BGP router ID
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the BGP router ID:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp router-id 1.2.1.3
ZXAN(config-router)
Related Commands
None
4-16
Purpose
To configure the BGP update delay time
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the BGP update delay time:
ZXAN(config)#router bgp 1
ZXAN(config-router)#bgp update-delay 300
ZXAN(config-router)#
Related Commands
None
Purpose
To clear BGP route dampening information and unsuppress the suppressed routes
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN#
4-17
Example
The following example displays how to clear the BGP route dampening information and
unsuppress the suppressed routes:
ZXAN#clear ip bgp dampening
ZXAN#
Related Commands
None
Purpose
To clear BGP flap statistics
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN#
Example
The following example displays how to clear BGP flap statistics:
ZXAN#clear ip bgp 1.1.1.1 flap-statistics
ZXAN#clear ip bgp flap-statistics
ZXAN#
Related Commands
None
4-18
Related Information
If no parameters are specified, the router clears BGP flap statistics for all routes. The
flap statistics for a route are also cleared when a BGP peer is reset. Although the
reset withdraws the route, no penalty is applied in this instance even though route flap
dampening is enabled.
Purpose
To control the redistribution of a protocol or network into the BGP
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to control the redistribution of a protocol or network
into the BGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#default-information originate
ZXAN(config-router)#
Related Commands
redistribute
Related Information
By default, this command is disabled.
The default-information originate command should be used if the network operator needs
to control the redistribution of default routes. Using the default-information originate
command in BGP is similar to using the network command. However, to achieve the same
result as configuring the network command with the route 0.0.0.0, the default-information
originate command requires an explicit redistribution of the route 0.0.0.0. The network
command requires only that route 0.0.0.0 is specified in the IGP routing table. For this
4-19
reason, the network command is preferred for redistributing default routes and protocols
into BGP.
4.21 default-metric
Syntax
default-metric metric-value
no default-metric
Purpose
To configure a default metric for routes redistributed into BGP
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure a default metric for routes redistributed
into BGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#default-metric 500
ZXAN(config-router)#
Related Commands
None
Related Information
A default metric can be configured to solve the problem of redistributing routes with
incompatible metrics. Assigning the default metric allows redistribution to occur.
This value is the MED that is evaluated by BGP during the best path selection process. The
MED is a non-transitive value that is processed only within the local autonomous system
and adjacent autonomous systems. The default metric is not set if the received route has
a MED value.
4-20
Note:
When enabled, the default-metric command applies a metric value of 0 to redistributed connected
routes. The default-metric command does not override metric values that are applied with the redistri
bute command.
Purpose
To disable the BGP session temporarily
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to disable the BGP session temporarily:
ZXAN(config)#disable ip bgp
ZXAN(config)#
Related Commands
enable ip bgp
reset ip bgp
Purpose
To change the priority of the routes advertised by the internal/external neighbors
4-21
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to change the priority of the routes advertised by the
internal/external neighbors:
ZXAN(config)#router bgp 1
ZXAN(config-router)#distance bgp external 100
ZXAN(config-router)#
Related Commands
None
Related Information
Use this command if another protocol is known to be able to provide a better route to a
node than was actually learned via external BGP (eBGP), or if some internal routes should
be preferred by BGP.
Purpose
To enable the BGP session
4-22
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enable the BGP session:
ZXAN(config)#enable ip bgp
ZXAN(config)#
Related Commands
None
4.25 exit-address-family
Syntax
exit-address-family
Purpose
To exit the BGP address family mode
Usage Guidelines
None
Mode
ZXAN(config-router-af)#
Example
The following example displays how to exit the BGP address family mode:
ZXAN(config-router-af)#exit-address-family
ZXAN(config-router)#
Related Commands
address-family
4-23
Purpose
To configure an access list based on AS path information
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config)#
Example
The following example displays how to configure an access list based on autonomous
system path information:
ZXAN(config)#ip as-path access-list 10 deny test
ZXAN(config)#
Related Commands
show ip as-path-access-list
Related Information
The access list filter can be defined on the incoming end or outgoing end BGP routes. In
addition, the weights can be allocated on the basis of a group of filters. Every filter is an
access list based on the regular expression.
4-24
If the regular expression matches the description of the route AS path and the route is
presented in ASCII format, the permit or deny condition can be used. AS path does not
include the local AS number.
4.27 ip community-list
Syntax
ip community-list community-list-number { permit | deny} [... community-number]
ip community-list community-list-number
Purpose
To create a numbered or named community list for BGP and to control access to it
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config)#
4-25
Example
The following example displays how to create a numbered or named community list for
BGP and to control access to it:
ZXAN(config)#ip community-list 1 deny 5 10
ZXAN(config)#ip community-list 1 deny 10 5
ZXAN(config)#ip community-list 1 permit
ZXAN(config)#
Related Commands
show ip community-list
Related Information
Once a permit value has been configured to match a given set of communities, the
community list defaults to an implicit deny for all other community values.
4.28 ip prefix-list
Syntax
ip prefix-list prefix-list-name [ seq seq] { permit | deny | description} { prefix length | descriptio
n-text} [ ge value] [ le value]
no ip prefix-list prefix-list-name [ seq seq] { permit | deny | description} { prefix length | descr
iption-text} [ ge value] [ le value]
Purpose
To configure the BGP prefix list and control the access to this list
Usage Guidelines
The following table provides parameter description:
permit Permit -
deny Deny -
prefix Prefix -
4-26
ge The greater-than-or-equal-to -
value of the mask length to be
applied to this prefix
Mode
ZXAN(config)#
Example
The following example displays how to configure the BGP prefix list and to control the
access to this list:
ZXAN(config)#ip prefix-list test seq 0 permit 100.1.1.1 24 ge 25
ZXAN(config)#ip prefix-list test description test
ZXAN(config)#
Related Commands
neighbor prefix-list
show ip profix-list
4.29 maximum-paths
Syntax
maximum-paths number
no maximum-paths
Purpose
To configure the maximum number of routes supported by BGP in load balancing
Usage Guidelines
The following table provides parameter description:
4-27
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the maximum number of routes supported
by BGP in load balancing:
ZXAN(config)#router bgp 1
ZXAN(config-router)#maximum-paths 5
ZXAN(config-router)#
Related Commands
None
Related Information
By default, BGP installs only one best path into the routing table.
Purpose
To configure the minimum interval during the sending of BGP routing updates
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
4-28
Example
The following example displays how to configure the minimum interval during the sending
of BGP routing updates:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 originate-interval 5
Related Commands
None
Purpose
To enable the address capability of the neighbor
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to enable the address capability of the neighbor:
ZXAN(config)#router bgp 1
ZXAN(config-router)#address-family ipv4 multicast
ZXAN(config-router-af)#neighbor 1.1.1.1 activate
ZXAN(config-router-af)#
4-29
Related Commands
None
Purpose
To configure the minimum interval between the sending of BGP routing updates
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the minimum interval between the
sending of BGP routing updates:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 advertisement-interval 20
ZXAN(config-router)#
Related Commands
None
4-30
Related Information
If the user specifies a BGP peer group by using the peer-group-name parameter, all the
members of the peer group inherit the characteristic configured with this command.
Purpose
To configure the number of times that the AS path of a received route may contain the
recipient BGP speaker's AS number and still be accepted
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the number of times that the AS path of a
received route may contain the recipient BGP speaker's AS number and still be accepted:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 allowas-in 4
ZXAN(config-router)#
Related Commands
None
4-31
Related Information
In a hub and spoke configuration, a PE router readvertises all prefixes containing duplicate
autonomous system numbers. Use the neighbor allowas-in command to configure two
VRFs on each PE router to receive and readvertise prefixes:
l One VRF receives prefixes with ASNs from all PE routers and then advertises them
to neighboring PE routers.
l The other VRF receives prefixes with ASNs from the CE router and readvertises them
to all PE routers in the hub and spoke configuration.
Purpose
To allow a BGP speaker (the local router) to send the default route 0.0.0.0 to a neighbor
for use as a default route
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to allow a BGP speaker (the local router) to send the
default route 0.0.0.0 to a neighbor for use as a default route:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 default-originate
ZXAN(config-router)#
4-32
Related Commands
None
Related Information
This command does not require the presence of 0.0.0.0 in the local router.
Purpose
To associate a description with a neighbor
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to associate a description with a neighbor:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 description ZTE
ZXAN(config-router)#
Related Commands
None
4-33
Related Information
By default, there is no description of the neighbor
Purpose
To accept and attempt BGP connections to external peers residing on networks that are
not directly connected
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to accept and attempt BGP connections to external
peers residing on networks that are not directly connected:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 ebgp-multihop ttl 200
ZXAN(config-router)#
Related Commands
None
Related Information
By default, only directly connected neighbors are allowed.
4-34
To prevent the creation of loops through oscillating routes, the multihop is not established
if the only route to the multihop peer is the default route (0.0.0.0).
Purpose
To configure the maximum number of the routes received from neighbors
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the maximum number of the routes
received from neighbors:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 maximum-prefix 20000
ZXAN(config-router)#
Related Commands
None
4-35
Related Information
By default, this command is disabled. Limitations on the number of prefixes that can be
configured are determined by the amount of available system resources that are configured
by the network operator. Peering sessions are disabled (by default) when the configured
maximum number of prefixes exceeds then the configured value.
Purpose
To configure the router as the next hop for a BGP-speaking neighbor or peer group
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the router as the next hop for a
BGP-speaking neighbor or peer group:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 next-hop-self
ZXAN(config-router)#
Related Commands
None
4-36
Related Information
This command is useful in nonmeshed networks (such as Frame Relay or X.25) where
BGP neighbors may not have direct access to all other neighbors on the same IP subnet.
If the user specifes a BGP peer group by using the peer-group-name parameter, all the
members of the peer group inherit the characteristic configured with this command.
Specifying the command with an IP address overrides the value inherited from the peer
group.
Purpose
To enable MD5 authentication on a TCP connection between two BGP peers
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to enable Message Digest 5 (MD5) authentication on
a TCP connection between two BGP peers:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 password 3FE&@1
ZXAN(config-router)#
4-37
Related Commands
None
Related Information
The first character of the password cannot be a number. The string can contain any
alphanumeric characters, including spaces.
The user can invoke authentication between two BGP peers, causing each segment sent
on the TCP connection between them to be verified. This feature must be configured
with the same password on both BGP peers; otherwise, the connection between them is
not made. The authentication feature uses the MD5 algorithm. Specifying this command
causes the generation and checking of the MD5 digest on every segment sent on the TCP
connection.
Configuring a password for a neighbor causes an existing session to be torn down and a
new one established.
Purpose
To prevent distribution of BGP neighbor information as specified in a prefix list
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
4-38
ZXAN(config-router-af)#
Example
The following example displays how to prevent distribution of BGP neighbor information
as specified in a prefix list:
ZXAN(config)#ip prefix-list test permit 100.1.1.1 24
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 prefix-list test out
ZXAN(config-router)#
Related Commands
None
Related Information
By default, all external and advertised address prefixes are distributed to BGP neighbors.
Purpose
To add an entry to the BGP neighbor
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
4-39
Example
The following example displays how to add an entry to the BGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 remote-as 8
ZXAN(config-router)#
Related Commands
None
Related Information
By default, there are no BGP neighbor peers.
Specifying a neighbor with an autonomous system number that matches the autonomous
system number specified in the router BGP global configuration command identifies
the neighbor as internal to the local autonomous system. Otherwise, the neighbor is
considered external.
If the user specifies a BGP peer group by using the peer-group-name parameter, all the
members of the peer group inherit the characteristic configured with this command.
By default, neighbors that are defined using the neighbor remote-as command in router
configuration mode exchange only unicast address prefixes. To exchange other address
prefix types, such as multicast and VPN Version 4, neighbors must also be activated using
the neighbor activate command in address family configuration mode.
Purpose
To remove private AS numbers from the autonomous system path, a list of autonomous
system numbers that a route passes through to reach a BGP peer, in outbound routing
updates
Usage Guidelines
The following table provides parameter description:
4-40
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to remove private autonomous system numbers from
the autonomous system path, a list of autonomous system numbers that a route passes
through to reach a BGP peer, in outbound routing updates:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 remove-private-as
ZXAN(config-router)#
Related Commands
None
Related Information
This command is available for external BGP (eBGP) neighbors only.
When an update is passed to the external neighbor, if the autonomous system path
includes private autonomous system numbers, the software drops the private autonomous
system numbers.
If the autonomous system path includes both private and public autonomous system
numbers, the software considers this to be a configuration error and does not remove the
private autonomous system numbers.
If the autonomous system path contains the autonomous system number of the eBGP
neighbor, the private autonomous system numbers are not removed.
If this command is used with confederation, it works as long as the private autonomous
system numbers follow the confederation portion of the autonomous path.
4-41
Purpose
To apply a route map to incoming or outgoing routes
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to apply a route map to incoming or outgoing routes:
ZXAN(config)#route-map setorigin
ZXAN(config-route-map)#set origin egp
ZXAN(config-route-map)#exit
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 route-map setorigin out
ZXAN(config-router)#
Related Commands
None
Related Information
When specified in address family configuration mode, this command applies a route map
to that particular address family only. When specified in router configuration mode, this
command applies a route map to IPv4 unicast routes only.
If an outbound route map is specified, it is proper behavior to only advertise routes that
match at least one section of the route map.
4-42
If the user specifes a BGP peer group by using the peer-group-name parameter, all the
members of the peer group inherit the characteristic configured with this command.
Specifying the command for a neighbor overrides the inbound policy that is inherited from
the peer group.
Purpose
To configure the router as a BGP route reflector and configure the specified neighbor as
its client
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the router as a BGP route reflector and
configure the specified neighbor as its client:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 router-reflector-client
ZXAN(config-router)#
Related Commands
bgp client-to-client reflection
bgp cluster-id
4-43
Related Information
By default, all internal BGP (iBGP) speakers in an autonomous system must be fully
meshed, and neighbors do not readvertise iBGP learned routes to neighbors, thus
preventing a routing information loop. When all the clients are disabled, the local router
is no longer a route reflector.
If route reflectors are configured, all iBGP speakers need not be fully meshed. In the route
reflector model, an Interior BGP peer is configured to be a route reflector responsible for
passing iBGP learned routes to iBGP neighbors. This scheme eliminates the need for
each router to talk to every other router.
Use the neighbor route-reflector-client command to configure the local router as the route
reflector and the specified neighbor as one of its clients. All the neighbors configured with
this command are the members of the client group and the remaining iBGP peers are the
members of the nonclient group for the local route reflector.
Purpose
To specify that a communities attribute should be sent to a BGP neighbor
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to send the community attributes when advertising
routes to the neighbor:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 send-community
4-44
ZXAN(config-router)#
Related Commands
None
Related Information
By default, community attribute is not sent.
Purpose
To send the MED attribute when advertising routes to the neighbor
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to send the MED attribute when advertising routes to
the neighbor:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 send-med
ZXAN(config-router)#
4-45
Related Commands
None
Related Information
By default, MED attribute is not sent.
Purpose
To disable a neighbor or peer group
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to disable a neighbor or peer group:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 shut-down
ZXAN(config-router)#
Related Commands
None
4-46
Related Information
The neighbor shutdown command terminates any active session for the specified neighbor
or peer group and removes all associated routing information. In the case of a peer group,
a large number of peering sessions could be terminated suddenly.
Purpose
To configure the neighbor to support soft reset
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the neighbor to support soft reset:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 soft-reconfiguration
ZXAN(config-router)#
Related Commands
None
Related Information
When the local BGP policy is adjusted, the routes that are denied before may be enabled.
If this command is not configured, the neighbor must be reset to resend the routes. When
4-47
this command is used, the routes that are denied before can be enabled again without
resetting the neighbor.
However, this command may cause the router to restore many denied routes. As a result,
it is recommended to use the command under the guide of network expert.
If the neighbor supports route refreshing capability, this command is unnecessary.
Purpose
To configure the timers for a specific BGP peer or peer group
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the timers for a specific BGP peer or peer
group:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 timers 60 180
4-48
ZXAN(config-router)#
Related Commands
None
Related Information
The timers configured for a specific neighbor or peer group override the timers configured
for all BGP neighbors using the timers bgp command.
Purpose
To configure the BGP session to use any TCP connection interface
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the BGP session to use any TCP
connection interface:
ZXAN(config)#router bgp 1
ZXAN(config-router)#neighbor 1.1.1.1 update-source loopback1
4-49
ZXAN(config-router)#
Related Commands
None
Related Information
If the user specifies a BGP peer group by using the peer-group-name argument, all the
members of the peer group inherit the characteristic configured with this command. The
neighbor update-source command must be used to enable IPv6 link-local peering for
internal or external BGP sessions.
4.51 network
Syntax
network ip-address net-mask [ route-map name]
no network ip-address net-mask
Purpose
To configure the network table for the BGP routing process
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to configure the network table for the BGP routing
process:
ZXAN(config)#router bgp 1
ZXAN(config-router)#network 2.2.2.2 255.255.255.255
4-50
ZXAN(config-router)#
Related Commands
None
4.52 redistribute
Syntax
redistribute protocol [ metric metric-value] [ route-map map-tag]
no redistribute protocol [ metric] [ route-map]
Purpose
To redistribute the routes obtained from other routing protocols into the BGP routing table
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to redistribute the routes obtained from other routing
protocols into the BGP routing table:
ZXAN(config)#router bgp 1
ZXAN(config-router)#redistribute rip
ZXAN(config-router)#
4-51
Related Commands
None
Related Information
By default, route redistribution is disabled.
Purpose
To reset BGP session
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
ZXAN(config-router-af)#
Example
The following example displays how to reset BGP session:
ZXAN(config)#reset ip bgp 1.1.1.1
ZXAN(config)#
Related Commands
None
Related Information
This command functions as the enable for the neighbors in the non-BGP session
termination status. It first executes the disable operation and then the enable operation
for the BGP sessions in the active status.
4-52
4.54 synchronization
Syntax
synchronization
no synchronization
Purpose
To synchronize BGP with IGP
Mode
ZXAN(config-router)#
Example
The following example displays how to synchronize BGP with IGP:
ZXAN(config)#router bgp 1
ZXAN(config-router)#synchronization
Related Commands
None
Related Information
Use no command to enable BGP to announce a network route without synchronizing with
IBP. By default, synchronization is enabled between BGP and IGP.
Purpose
To display information about the TCP and BGP connections to neighbors
Usage Guidelines
The following table provides parameter description:
4-53
Mode
All modes except user mode
Example
The following example displays the information about the TCP and BGP connections to
neighbors:
4-54
Connections established 0
No tcp connection
ZXAN#
Related Commands
None
Purpose
To display the BGP protocol configuration information
Usage Guidelines
None
Mode
All modes except user mode
4-55
Example
The following example displays the BGP protocol configuration information:
ZXAN#show bgp all protocol
BGP router ID is 172.168.0.1, Local as is 1
Hold time is 90 seconds, KeepAlive time is 30 seconds
Default local preference is 100
Default export metric is 0
IGP synchronization is enabled
Default information advertise is disabled
Always compare med is disabled
Fast fallover is enabled
Client-to-client reflection is enabled
Ipv4 unicast is activated
Router target is filtered
Route dampening is disabled
Distance : external 20 internal 200
ZXAN#
Related Commands
None
Purpose
To display the status of all BGP connections
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example displays the status of all BGP connections:
ZXAN#show bgp all summary
Neighbor Ver As MsgRcvd MsgSend Up/Down(s) State
1.1.1.1 4 8 0 0 00:00:00 Connect
4-56
ZXAN#
Information Description
AS Neighbor AS number
Related Commands
None
Purpose
To display the IPv4 multicast database-related information
Usage Guidelines
The following table provides parameter description:
4-57
Mode
All modes except user mode
Example
The following example displays the IPv4 multicast database-related information:
ZXAN#show bgp ipv4 multicast
Status codes: *valid, >best, i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete
Information Description
Related Commands
None
4-58
Purpose
To display the IPv4 multicast address family neighbor information
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the IPv4 multicast database-related information:
Information Description
4-59
Information Description
Related Commands
None
Purpose
To display the BGP IPv4 unicast address family modifier information
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the BGP IPv4 unicast address family modifier information:
l show bgp ipv4 unicast
ZXAN#show bgp ipv4 unicast
Routes of bgp:
status codes: *valid, >best,i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete
Dest NextHop Metric LocPrf RtPrf Path
*>i 111.1.1.2/32 2.2.2.1 0 12345678 150 200 ?
*>i 111.1.1.3/32 2.2.2.1 0 12345678 150 200 ?
ZXAN#
4-60
Information Description
4-61
ZXAN#
Information Description
Related Commands
None
Purpose
To display the BGP IPv4 unicast paths suppressed due to dampening
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example displays the BGP IPv4 unicast paths suppressed due to dampening:
ZXAN#show bgp ipv4 unicast dampening dampened-paths
4-62
ZXAN#
Related Commands
None
Purpose
To display the flap statistics of the BGP IPv4 unicast routes
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the flap statistics of the BGP IPv4 unicast routes:
ZXAN#show bgp ipv4 unicast dampening flap-statistics
ZXAN#
Related Commands
None
4-63
Purpose
To display the BGP IPv4 unicast neighbor information
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the BGP IPv4 unicast neighbor information:
l show bgp ipv4 unicast neighbor 168.1.70.111
ZXAN#show bgp ipv4 unicast neighbor 168.1.70.111
BGP neighbor is 168.1.70.111, remote AS 200, external link
BGP version 4, remote router ID 168.1.70.111
BGP state = Established, up for 1d20h
Last read update 1d20h, hold time is 90 seconds, keepalive
interval is 30 seco
nds
Neighbor capabilities:
Route refresh: advertised
Address family IPv4 Unicast: advertised
All received 5254 messages
1 updates, 0 errs
1 opens, 0 errs
5252 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs,
0 ipv6 refreshs,
0 errs
0 notifications, 0 other errs
After last established received 5252 messages
1 updates, 0 errs
0 opens, 0 errs
5251 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs,
0 ipv6 refreshs,
0 errs
4-64
ZXAN#
4-65
ZXAN#
Information Description
ZXAN#
Information Description
4-66
Information Description
Related Commands
None
Purpose
To display the BGP IPv4 unicast neighbor status
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example displays the BGP IPv4 unicast neighbor status:
ZXAN#show bgp ipv4 unicast summary
Neighbor Ver As MsgRcvd MsgSend Up/Down(s) State/PfxRcd
1.1.1.1 4 8 0 0 00:00:00 Connect
10.1.1.1 4 200 0 0 00:00:00 Connect
128.140.6.6 4 123 0 0 00:00:00 Connect
ZXAN#
Information Description
AS Neighbor AS number
4-67
Information Description
Related Commands
None
Purpose
To display the contents of all or specified regular expression access list(s)
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the contents of all or specified regular expression access
list(s):
ZXAN#show ip as-path-access-list 1
ZXAN#
4-68
Related Commands
ip as-path access-list
Purpose
To display the BGP damped oscillation routes
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example displays the BGP damped oscillation routes:
ZXAN#show ip bgp dampened-paths
ZXAN#
Related Commands
None
Purpose
To display the BGP flap statistics
Usage Guidelines
The following table provides parameter description:
4-69
Mode
All modes except user mode
Example
The following example displays the BGP flap statistics:
ZXAN#show ip bgp flap-statistics
ZXAN#
Related Commands
None
Related Information
If no parameters are specified, the router displays flap statistics for all routes.
Purpose
To display the BGP neighbor information
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
4-70
Example
The following example displays the BGP neighbor information:
l show ip bgp neighbor 1.1.1.1
ZXAN#show ip bgp neighbor 1.1.1.1
BGP neighbor is 1.1.1.1, remote AS 8, external link
BGP version 4, remote router ID 0.0.0.0
BGP state = Connect
hold time is 0 seconds, keepalive interval is 0 seconds
All received 0 messages
0 updates, 0 errs
0 opens, 0 errs
0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 errs
0 notifications, 0 other errs
After last established received 0 messages
0 updates, 0 errs
0 opens, 0 errs
0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 errs
0 notifications, 0 other errs
All sent 0 messages
0 updates, 0 opens, 0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 notifications
After last established sent 0 messages
0 updates, 0 opens, 0 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast
refreshs, 0 notifications
4-71
Connections established 0
No tcp connection
ZXAN#
ZXAN#
Information Description
4-72
ZXAN#
Information Description
Related Commands
None
Purpose
To display the BGP configuration information
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example displays the BGP configuration information:
4-73
Related Commands
None
Purpose
To display the entries in the BGP routing table
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the entries in the BGP routing table:
4-74
ZXAN#
Information Description
Related Commands
None
Purpose
To display the status of all BGP connections
Usage Guidelines
None
4-75
Mode
All modes except exec mode
Example
The following example displays the display the status of all BGP connections:
ZXAN#show ip bgp summary
Neighbor Ver As MsgRcvd MsgSend Up/Down(s) State/PfxRcd
1.1.1.1 4 8 0 0 00:00:00 Connect
10.1.1.1 4 200 0 0 00:00:00 Connect
128.140.6.6 4 123 0 0 00:00:00 Connect
ZXAN#
Information Description
AS Neighbor AS number
Related Commands
None
4-76
Purpose
To display the configured community lists
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the configured community lists:
ZXAN#show ip community-list
Community standard list 1
deny 5 10
permit
ZXAN#
Related Commands
ip community-list
Related Information
This command can be used without any parameters. If no parameters are specified, this
command display all community lists.
Purpose
To display the IP prefix list
Usage Guidelines
The following table provides parameter description:
4-77
Mode
All modes except user mode
Example
The following example displays the IP prefix list:
ZXAN#show ip prefix-list
Prefix-list with the last deletion/insertion: test
ip prefix-list ZXAN 2 entries
seq 5 deny 20.0.0.0/8
seq 10 deny 20.20.20.0/24
ip prefix-list test 1 entries
seq 5 permit 100.1.1.0/24
ZXAN#
Related Commands
ip prefix-list
Purpose
To adjust the BGP network timers
Usage Guidelines
The following table provides parameter description:
4-78
Mode
ZXAN(config-router)#
Example
The following example displays how to adjust the BGP network timers:
ZXAN(config)#router bgp 1
ZXAN(config-router)#timers bgp 60 180
ZXAN(config-router)#
Related Commands
None
4-79
4-80
5-1
no router isis
Purpose
To enable the IS-IS routing protocol
Usage Guidelines
None
Mode
ZXAN(config)#
Example
The following example displays how to enable the IS-IS routing protocol:
ZXAN(config)#router isis
ZXAN(config-router)#
Related Commands
None
5.2 address-family
Syntax
address-family ipv6
Purpose
To enter address family configuration mode for configuring IS-IS routing sessions to use
standard IPv6 address prefix
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
5-2
Example
The following example displays how to enter address family configuration mode for
configuring IS-IS routing sessions to use standard IP Version 6 (IPv6) address prefix:
ZXAN(config)#router isis
ZXAN(config-router)#address-family ipv6
ZXAN(config-router-af)#
Related Commands
None
5.3 area
Syntax
area area-address
no area area-address
Purpose
To configure IS-IS area address
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the IS-IS area address:
ZXAN(config)#router isis
ZXAN(config-router)#area 11
ZXAN(config-router)#area 11.1111.1111
ZXAN(config-router)#
Related Commands
None
5-3
Related Information
The maximum number of the area address is 3.
5.4 authentication
Syntax
authentication password [ level-1 | level-2]
no authentication password [ level-1 | level-2]
Purpose
To configure the IS-IS LSP authentication
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the IS-IS authentication:
ZXAN(config)#router isis
ZXAN(config-router)#authentication zte
ZXAN(config-router)#authentication zte level-1
ZXAN(config-router)#authentication zte level-2
ZXAN(config-router)#
Related Commands
enable-snp-authentication
disable-snp-authentication
Related Information
If the type is not specified, the authentication will be implemented on both level-1 and
level-2.
5-4
5.5 authentication-type
Syntax
authentication-type { MD5 | TEXT} [ level-1 | level-2]
no authentication [ level-1 | level-2]
Purpose
To specify the type of authentication used in IS-IS LSP packets
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to specify the type of authentication used in IS-IS
packets:
ZXAN(config)#router isis
ZXAN(config-router)#authentication-type MD5
ZXAN(config-router)#authentication-type MD5 level-1
ZXAN(config-router)#authentication-type MD5 level-2
ZXAN(config-router)#authentication-type TEXT
ZXAN(config-router)#authentication-type TEXT level-1
ZXAN(config-router)#authentication-type TEXT level-2
ZXAN(config-router)#
5-5
Related Commands
None
Related Information
If the type is not specified, the authentication will be implemented on both level-1 and
level-2.
The default type is simple password authentication.
Purpose
To configure the advertisement methods of a default route
Usage Guidelines
The following table provides parameter description:
metric-type type IS-IS exterior metric type for Keywords: external, internal
default route Default: internal
Mode
ZXAN(config-router)#
Example
The following example displays how to generate a default route into an IS-IS routing
domain:
ZXAN(config)#router isis
ZXAN(config-router)#default-information originate always
5-6
ZXAN(config-router)#
Related Commands
None
Related Information
The default route will not be advertised in redistribution without this command. The range
of metric-value is 0 to 63 under the narrow metric-style, while 0 to 426142864 under the
wide.
5.7 disable
Syntax
disable
Purpose
To disable IS-IS protocol and clear all runtime data
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to disable IS-IS protocol and clear all runtime data:
ZXAN(config)#router isis
ZXAN(config-router)#disable
ZXAN(config-router)#
Related Commands
enable
Related Information
If IS-IS instances are operating, this command disables IS-IS instances and clears the
current operation status. The user can re-enable IS-IS instances using the enable
command.
5-7
5.8 disable-snp-authentication
Syntax
disable-snp-authentication
Purpose
To disable the SNP authentication
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to disable the SNP authentication:
ZXAN(config)#router isis
ZXAN(config-router)#disable-snp-authentication
ZXAN(config-router)#
Related Commands
enable-snp-authentication
5.9 distance
Syntax
distance distance
no distance
Purpose
To define the administrative distance assigned to routes discovered by the IS-IS
Usage Guidelines
The following table provides parameter description:
5-8
Mode
ZXAN(config-router)#
Example
The following example displays how to define the administrative distance assigned to
routes discovered by the IS-IS:
ZXAN(config)#router isis
ZXAN(config-router)#distance 120
ZXAN(config-router)#
Related Commands
None
5.10 enable
Syntax
enable
Purpose
To enable IS-IS protocol
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to enable IS-IS protocol:
ZXAN(config)#router isis
ZXAN(config-router)#enable
ZXAN(config-router)#
Related Commands
disable
5-9
5.11 enable-snp-authentication
Syntax
enable-snp-authentication
Purpose
To enable the SNP authentication
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to enable the SNP authentication:
ZXAN(config)#router isis
ZXAN(config-router)#enable-snp-authentication
ZXAN(config-router)#
Related Commands
disable-snp-authentication
Purpose
To configure padding on IS-IS hello PDUs for all IS-IS interfaces on the networking device
Usage Guidelines
The following table provides parameter description:
5-10
Mode
ZXAN(config-router)#
Example
The following example displays how to configure padding on IS-IS hello PDUs for all IS-IS
interfaces on the networking device:
ZXAN(config)#router isis
ZXAN(config-router)#hello padding point-to-point
ZXAN(config-router)#
Related Commands
None
5.13 ignore-lsp-errors
Syntax
ignore-lsp-errors
no ignore-lsp-errors
Purpose
To override the networking device’s default setting to ignore IS-IS LSPs that are received
with internal checksum errors
Usage Guidelines
None
Mode
ZXAN(config-router)#
Example
The following example displays how to override the networking device’s default setting to
ignore IS-IS LSPs that are received with internal checksum errors:
ZXAN(config)#router isis
ZXAN(config-router)#ignore-lsp-errors
5-11
ZXAN(config-router)#
Related Commands
None
5.14 is-type
Syntax
is-type { level-1 | level-1-2 | level-2-only}
Purpose
To configure the routing level for an IS-IS area
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the routing level for an IS-IS area:
ZXAN(config)#router isis
ZXAN(config-router)#is-type level-1
ZXAN(config-router)#is-type level-1-2
ZXAN(config-router)#
Related Commands
None
5-12
Related Information
The default level is level-1–2
5.15 lsp-mtu
Syntax
lsp-mtu number
no lsp-mtu
Purpose
To configure the MTU size of IS-IS LSPs
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the MTU size of IS-IS LSPs:
ZXAN(config)#router isis
ZXAN(config-router)#lsp-mtu 1000
ZXAN(config-router)#
Related Commands
None
5.16 lsp-refresh-time
Syntax
lsp-refresh-time time
no lsp-refresh-time
Purpose
To configure the LSP refresh interval
5-13
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the LSP refresh interval:
ZXAN(config)#router isis
ZXAN(config-router)#lsp-refresh-time 300
ZXAN(config-router)#
Related Commands
None
Related Information
If lsp-refresh-time is more than or equal to max-lsp-lifetime, it will be automatically
configured as 70% of the latter.
5.17 max-lsp-lifetime
Syntax
max-lsp-lifetime time
no max-lsp-lifetime
Purpose
To configure the maximum LSP lifetime
Usage Guidelines
The following table provides parameter description:
5-14
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the maximum LSP lifetime:
ZXAN(config)#router isis
ZXAN(config-router)#max-lsp-lifetime 500
ZXAN(config-router)#
Related Commands
None
Related Information
Invalid time should be longer than refresh time.
5.18 maximum-paths
Syntax
maximum-paths parallel-routes
no maximum-paths
Purpose
To configure the maximum number of parallel-routes that IS-IS can install
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the initial lifetime given to a LSP originated
by the IS-IS process:
ZXAN(config)#router isis
5-15
ZXAN(config-router)#maximum-paths 2
ZXAN(config-router)#
Related Commands
None
5.19 metric-style
Syntax
metric-style { narrow | wide}
no metric-style
Purpose
To configure the IS-IS metric style
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the IS-IS metric style:
ZXAN(config)#router isis
ZXAN(config-router)#metric-style narrow
ZXAN(config-router)#metric-style wide
ZXAN(config-router)#
Related Commands
None
Related Information
The Default style is narrow
5-16
5.20 redistribute
Syntax
redistribute protocol [ level-1 | level-1-2 | level-2] [ metric metric-value] [ metric-type type] [
route-map map-tag]
no redistribute protocol
Purpose
To redistribute routes from one IS-IS instance into another instance
Usage Guidelines
The following table provides parameter description:
protocol Source routing protocol for route Keywords: bgp, connect, OSPF,
redistribution rip, static
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the filtering policy for other protocol
advertising route to IS-IS:
ZXAN(config)#router isis
ZXAN(config-router)#redistribute bgp
5-17
Related Commands
None
Related Information
If no level is specified, the redistribution takes place in Level 2.
5.21 restart
Syntax
restart { enable | t2-timer interval [ level-1 | level-2] | t3-timer { adjacency | manual interval} }
no restart { enable | t2-timer interval [ level-1 | level-2] | t3-timer}
Purpose
To configure the IS-IS graceful restart
Usage Guidelines
The following table provides parameter description:
t3-timer manual interval Set restart T3 interval from Range: 1 - 65535 sec
manual
Mode
ZXAN(config-router)#
5-18
Example
The following example displays how to configure the IS-IS restart:
ZXAN(config)#router isis
ZXAN(config-router)#restart enable
ZXAN(config-router)#restart T2-timer 60 level-1
ZXAN(config-router)#restart T2-timer 60 level-2
ZXAN(config-router)#restart T3-timer adjacency
ZXAN(config-router)#
Related Commands
None
5.22 set-overload-bit
Syntax
set-overload-bit [ on-start-up { time | auto [ time] | wait-for-bgp [ time] } ] [ suppress { all |
external | interlevel} ]
no set-overload-bit
Purpose
To set IS-IS overload bit.
Usage Guidelines
The following table provides parameter description:
wait-for-bgp time Sets the overload bit on startup Range: 5 - 86400 sec
until the BGP signals converge,
or time out
5-19
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the router to signal other routers not to
use it as an intermediate hop in their shortest path first (SPF) calculations:
ZXAN(config)#router isis
ZXAN(config-router)#set-overload-bit
ZXAN(config-router)#
Related Commands
None
Related Information
This command forces the router to set the overload bit in its nonpseudonode LSPs.
Normally the setting of the overload bit is allowed only when a router experiences
problems. For example, when a router is experiencing a memory shortage, the reason
might be that the LSDB is not complete, resulting in an incomplete or inaccurate routing
table. If the overload bit is set in the LSPs of the unreliable router, other routers can ignore
the router in their SPF calculations until it has recovered from its problems. The result is
that no paths through the unreliable router are seen by other routers in the IS-IS area.
However, IP prefixes directly connected to this router are still reachable.
Purpose
To display IS-IS adjacencies
Usage Guidelines
The following table provides parameter description:
5-20
Mode
All modes except user mode
Example
The following example displays IS-IS adjacencies:
ZXAN#show isis adjacency
Interface System id State Lev Holds SNPA(802.2) Pri
gei_1/5/1 0000.0a0a.0a0a UP L1 9 802.2 00:e0:63:06:05:c0 64
ZXAN#
Parameter Description
Related Commands
None
Purpose
To display the current IS-IS port information
5-21
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays the current IS-IS port information:
ZXAN#show isis circuits
IS-IS interface database:
Interface State Lev CirId Level1-DR Level2-DR Pri(L1/L2)
gei_1/5/1 Up L1L2 1 Disabled Disabled 10/10
ZXAN#
Parameter Description
Related Commands
None
5-22
Purpose
To display the IS-IS link-state databases
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays how to display the IS-IS link-state databases:
l show isis database
ZXAN#show isis database
IS-IS Level-1 Link State Database:
LSPID 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:
LSPID 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
ZXAN#
5-23
Parameter Description
LSP Seq Num Sequence number for the LSP that allows other
systems to determine if they have received the
latest information from the source, displayed in
the 0xdddddddd format
ZXAN#
5-24
Parameter Description
Related Commands
None
Purpose
To display the NSF status information
Usage Guidelines
None
Mode
All modes except user mode
Example
The following example displays the NSF status information:
ZXAN#show isis nsf
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
5-25
Interface:gei_0/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
ZXAN#
Related Commands
None
Purpose
To display the IS-IS routers’ topological structure
Usage Guidelines
The following table provides parameter description:
Mode
All modes except user mode
Example
The following example displays a list of connected IS-IS routers in all areas:
5-26
ZXAN#
Parameter Description
Related Commands
None
Related Information
This command is used to verify the presence and connectivity between all routers in all
areas.
5.28 spf-interval
Syntax
spf-interval interval [ level-1 | level-2]
no spf-interval [ level-1 | level-2]
Purpose
To customize IS-IS throttling of SPF calculations
5-27
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to customize IS-IS throttling of shortest path first (SPF)
calculations:
ZXAN(config)#router isis
ZXAN(config-router)#spf-interval 10
ZXAN(config-router)#spf-interval 10 level-1
ZXAN(config-router)#spf-interval 10 level-2
ZXAN(config-router)#
Related Commands
None
Related Information
SPF calculations are performed only when the topology changes. They are not performed
when external routes change.
5.29 summary-address
Syntax
summary-address ip-address net-mask [ metric metric-value] [ level-1 | level-1-2 | level-2]
no summary-address ip-address net-mask
Purpose
To configure the IS-IS address summary
5-28
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the IS-IS address summary:
ZXAN(config)#router isis
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0 metric 10
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0 metric 10
level-1
ZXAN(config-router)#summary-address 192.168.0.0 255.255.0.0 metric 10
level-2
ZXAN(config-router)#
Related Commands
None
5-29
Related Information
All routes are advertised individually.
Multiple groups of addresses can be summarized for a given level. Routes learned from
other routing protocols can also be summarized. The metric used to advertise the summary
is the smallest metric of all the more specific routes. This command helps reduce the size
of the routing table.
This command also reduces the size of the LSPs and thus the LSDB. It also helps network
stability because a summary advertisement is depending on many more specific routes.
A single route flap does not cause the summary advertisement to flap in most cases.
The drawback of summary addresses is that other routes might have less information to
calculate the most optimal routing table for all individual destinations.
5.30 system-id
Syntax
system-id system-id [ range range-number]
no system-id
Purpose
To configure the IS-IS system ID
Usage Guidelines
The following table provides parameter description:
Mode
ZXAN(config-router)#
Example
The following example displays how to configure the IS-IS system ID:
ZXAN(config)#router isis
ZXAN(config-router)#system-id 1111.1111.1111
ZXAN(config-router)#system-id 1111.1111.1111 range 32
ZXAN(config-router)#
5-30
Related Commands
None
5-31
5-32
EBGP
- External Border Gateway Protocol
IGP
- Interior Gateway Protocol
IP
- Internet Protocol
IPv4
- Internet Protocol version 4
IPv6
- Internet Protocol Version 6
IS-IS
- Intermediate System-to-Intermediate System
ISP
- Internet Service Provider
LAN
- Local Area Network
LSA
- Link State Advertisement
I
ZXA10 C220 Command Reference (Volume V)
LSDB
- Link-state Database
LSP
- Link State Packet
MD5
- Message Digest 5 Algorithm
MED
- MULTI_EXIT_DISC
MTU
- Maximum Transfer Unit
NSF
- Non-Stop Forwarding
NSSA
- Not-So-Stubby Area
OSPF
- Open Shortest Path First
PDU
- Protocol Data Unit
PIM
- PA Interface Module
RIP
- Routing Information Protocol
SNP
- Signaling Network Protocol
SPF
- Shortest Path First
TCP
- Transfer Control Protocol
VLAN
- Virtual Local Area Network
VPN
- Virtual Private Network
VRF
- Virtual Route Forwarding
II