You are on page 1of 230

ZXA10 C220

xPON Optical Access Convergence Equipment


Command Reference (Volume V)

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

Revision No. Revision Date Revision Reason

R1.0 2010-10-30 First Edition

R1.1 2010-12-30 Update information about GCSA, GCSAS and EIGMP cards

Serial Number: SJ-20101126132257-015

Publishing Date: 2010-12-30(R1.1)


Contents
About This Manual ......................................................................................... I
Declaration of RoHS Compliance ................................................................. I
Chapter 1 PIM Snooping Commands ....................................................... 1-1
1.1 ip pim snooping.................................................................................................. 1-1
1.2 pim snooping ..................................................................................................... 1-2
1.3 show ip pim snooping all-statistic......................................................................... 1-2
1.4 show ip pim snooping all-statistic clear ................................................................ 1-3
1.5 show ip pim snooping entry................................................................................. 1-4
1.6 show ip pim snooping neighbor-info..................................................................... 1-5
1.7 show ip pim snooping port-info ............................................................................ 1-5
1.8 show ip pim snooping port-statistic clear interface ................................................ 1-6
1.9 show ip pim snooping port-statistic interface ........................................................ 1-7

Chapter 2 RIP Protocol Commands.......................................................... 2-1


2.1 router rip............................................................................................................ 2-2
2.2 auto-summary.................................................................................................... 2-2
2.3 default-metric ..................................................................................................... 2-3
2.4 disable interface ................................................................................................. 2-4
2.5 distance............................................................................................................. 2-4
2.6 enable interface ................................................................................................. 2-5
2.7 flash-update-threshold ........................................................................................ 2-6
2.8 ip poison-reverse................................................................................................ 2-7
2.9 ip rip authentication key ...................................................................................... 2-8
2.10 ip rip authentication key-chain ........................................................................... 2-9
2.11 ip rip authentication mode ................................................................................. 2-9
2.12 ip rip interface ................................................................................................ 2-10
2.13 ip rip neighbor-restrict ......................................................................................2-11
2.14 ip rip notify default route.................................................................................. 2-12
2.15 ip rip only-send-subnet.................................................................................... 2-13
2.16 ip rip originate default route ............................................................................. 2-14
2.17 ip rip receive version....................................................................................... 2-15
2.18 ip split-horizon................................................................................................ 2-15
2.19 maximum-paths.............................................................................................. 2-16
2.20 neighbor ........................................................................................................ 2-17

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

Chapter 3 OSPF Protocol Commands ...................................................... 3-1


3.1 router ospf ......................................................................................................... 3-2
3.2 area authentication............................................................................................. 3-3
3.3 area filter-list ...................................................................................................... 3-4
3.4 area nssa .......................................................................................................... 3-5
3.5 area range ......................................................................................................... 3-6
3.6 area stub ........................................................................................................... 3-7
3.7 area stub-host.................................................................................................... 3-8
3.8 area virtual-link................................................................................................... 3-9
3.9 auto-cost ..........................................................................................................3-11
3.10 capacity opaque ............................................................................................. 3-12
3.11 clear ip ospf process ....................................................................................... 3-12
3.12 clear ip ospf redistribution ............................................................................... 3-13
3.13 compatible rfc 1583 ........................................................................................ 3-14
3.14 debug ............................................................................................................ 3-15
3.15 default-metric(OSPF)...................................................................................... 3-15
3.16 disable area ................................................................................................... 3-16
3.17 disable interface (OSPF)................................................................................. 3-17
3.18 disable ip ospf ................................................................................................ 3-18
3.19 distance ospf.................................................................................................. 3-18
3.20 enable area.................................................................................................... 3-19
3.21 enable interface (OSPF) ................................................................................. 3-20
3.22 enable ip ospf................................................................................................. 3-21
3.23 filter ............................................................................................................... 3-21
3.24 grace-period................................................................................................... 3-22
3.25 ip ospf authentication...................................................................................... 3-23

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

Chapter 4 BGP Protocol Commands ........................................................ 4-1


4.1 router bgp .......................................................................................................... 4-2
4.2 address-family ipv4 multicast .............................................................................. 4-3
4.3 aggregate-adress ............................................................................................... 4-4
4.4 bgp always-compare-med................................................................................... 4-5
4.5 bgp as ............................................................................................................... 4-6

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

Chapter 5 IS-IS Protocol Commands........................................................ 5-1


5.1 router isis........................................................................................................... 5-1
5.2 address-family ................................................................................................... 5-2
5.3 area .................................................................................................................. 5-3
5.4 authentication .................................................................................................... 5-4

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

Prerequisite Skill and Knowledge


To use this document effectively, users should have a general understanding of network
technology. Familiarity with the following is helpful:
l The ZXA10 C220 system and its various components
l Maintenance procedures
l Local operating procedures

What Is in This Manual


This manual contains the following chapters:

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

Italics References to other Manuals and documents.

“Quotes” Links on screens.

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.

Note: Provides additional information about a certain topic.

II
Typeface Meaning

Checkpoint: Indicates that a particular step needs to be checked before


proceeding further.

Tip: Indicates a suggestion or hint to make things easier or more productive


for the reader.

Mouse operation conventions are listed as follows:

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

1.1 ip pim snooping


Syntax
ip pim snooping
no ip pim snooping

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

1.2 pim snooping


Syntax
pim snooping
no pim snooping

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.

1.3 show ip pim snooping all-statistic


Syntax
show ip pim snooping all-statistic

Purpose
To display all (accumulated) statistics of PIM packets

Usage Guidelines
None

1-2

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 1 PIM Snooping Commands

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

1.4 show ip pim snooping all-statistic clear


Syntax
show ip pim snooping all-statistic clear

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Related Commands
show ip pim snooping all-statistic
show ip pim snooping port-statistic clear interface
show ip pim snooping port-statistic interface

1.5 show ip pim snooping entry


Syntax
show ip pim snooping entry [ vlan vid]

Purpose
To display all VLAN entries for PIM snooping

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vlan vid VLAN ID Range: 1 - 4094

Mode
All modes except user mode

Example
The following example displays all VLAN entries
ZXAN#show ip pim snooping entry

group entry number = 0:

index vlan Source-ip Group-ip


----------------------------------------------
ZXAN#

Related Commands
show ip pim snooping port-info

show ip pim snooping neighbor-info

1-4

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 1 PIM Snooping Commands

1.6 show ip pim snooping neighbor-info


Syntax
show ip pim snooping neighbor-info

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

Port vid neighbor-ip-address remain-time

Related Commands
show ip pim snooping port-info
show ip pim snooping entry

1.7 show ip pim snooping port-info


Syntax
show ip pim snooping port-info vid

Purpose
To display the VLAN port information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

vid VLAN ID Range: 1 - 4094

1-5

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Mode
All modes except user mode

Example
This example displays the VLAN port information:
ZXAN#show ip pim snooping port-info 2

PIM Snooping is globally enabled.


PIM Snooping is enabled in this vlan.
vlan Source-ip Group-ip Ports Remain-time
--------------------------------------------------------------------
ZXAN#

Related Commands
show ip pim snooping port-info
show ip pim snooping entry

1.8 show ip pim snooping port-statistic clear interface


Syntax
show ip pim snooping port-statistic clear interface interfacename

Purpose
To display statistics for all the received PIM packets

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interfacename Interface name -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 1 PIM Snooping Commands

DropRxTotal = 0;
RxTotal = 0; TxTotal = 0;

Related Commands
show ip pim snooping all-statistic clear
show ip pim snooping port-statistic interface

1.9 show ip pim snooping port-statistic interface


Syntax
show ip pim snooping port-statistic interface interfacename

Purpose
To display the port statistics

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interfacename Interface name -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

This page intentionally left blank.

1-8

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


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

2-1

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

2.1 router rip


Syntax
router rip
no router rip

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 2 RIP Protocol Commands

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:

Parameter Description Value

metric-value Default metric value Range: 1 - 16 characters

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

2.4 disable interface


Syntax
disable interface ip-address

Purpose
To disable the RIP on an interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address IP address A.B.C.D

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 2 RIP Protocol Commands

no distance

Purpose
To configure the RIP route management distance

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

distance RIP route management distance Range: 1 - 255


Default: 120

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.

2.6 enable interface


Syntax
enable interface ip-address

Purpose
To enable the RIP on an interface

Usage Guidelines
The following table provides parameter description:

2-5

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Parameter Description Value

ip-address IP address A.B.C.D

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:

Parameter Description Value

threshold Time interval for which the Range: 1 - 30 sec


suppression of flash updates Default: 5 sec
can be configured

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 2 RIP Protocol Commands

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

2.9 ip rip authentication key


Syntax
ip rip authentication key key
no ip rip authentication key

Purpose
To configure the key for the simple text authentication for the RIP interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

key Authentication key Range: 1 - 16 characters

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 2 RIP Protocol Commands

2.10 ip rip authentication key-chain


Syntax
ip rip authentication key-chain key-id key-string
no ip rip authentication key-chain key-id

Purpose
To configure the key-chain for the MD5 authentication

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

key-id Key ID Range: 1 - 255

key-string Key string Range: 1 - 16 characters

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.11 ip rip authentication mode


Syntax
ip rip authentication mode { text | md5}
no ip rip authentication mode

2-9

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Purpose
To configure the authentication type for the RIP version 2 message packet

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

text Simple text authentication mode -

md5 MD5 authentication mode -

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.

2.12 ip rip interface


Syntax
ip rip interface { passive | active}
no ip rip interface

Purpose
To configure the method to send/receive route information on an interface

Usage Guidelines
The following table provides parameter description:

2-10

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 2 RIP Protocol Commands

Parameter Description Value

passive Enables an interface to only -


receive the RIP route update
information

active Enables an interface to only -


send the RIP route update
information

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.

2.13 ip rip neighbor-restrict


Syntax
ip rip neighbor-restrict
no ip rip neighbor-restrict

Purpose
To configure an interface to enter into the RIP neighbor restriction mode

2-11

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

2.14 ip rip notify default route


Syntax
ip rip notify default route [ only]
no ip rip notify default route

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:

Parameter Description Value

only Only the default route is sent on -


this interface

2-12

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 2 RIP Protocol Commands

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

2.15 ip rip only-send-subnet


Syntax
ip rip only-send-subnet
no ip rip only-send-subnet

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

2.16 ip rip originate default route


Syntax
ip rip originate default route [ only]
no ip rip originate default route

Purpose
To configure a default route on the interface and force advertisement

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

only Only the default route is sent on -


this interface

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 2 RIP Protocol Commands

2.17 ip rip receive version


Syntax
ip rip receive version { 1 | 2}
no ip rip receive version

Purpose
To configure the RIP version to be received on the interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

1 RIP version number 1 -

2 RIP version number 2 -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 2 RIP Protocol Commands

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

number Maximum number of the routes Range: 1 - 8


supported in load balance Default: 1

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:

Parameter Description Value

ip-address IP address of peer router to A.B.C.D


exchange route information

2-17

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

ip-address IP address of the network A.B.C.D


directly connected

net-mask Network reverse mask in form A.B.C.D


of decimal value

Mode
ZXAN(config-router)#

2-18

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 2 RIP Protocol Commands

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:

Parameter Description Value

access-list-number Access list number of networks Range: 1 - 99


to apply offset

in Inbound packets -

out Outbound packets -

offset Offset metric value Range: 0 - 16

interface interface-name Interface name -

Mode
ZXAN(config-router)#

2-19

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

packets Number of packets Range: 1 - 4294967295

delay Delay for RIP packet update Range: 0 - 100 msec

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 2 RIP Protocol Commands

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:

Parameter Description Value

protocol Source routing protocol for route Keywords: bgp-ext; bgp-int;


redistribution connected; isis-1; isis-1-2;
isis-2; ospf-ext; ospf-int; static

metric metric-value Metric value for redistributed Range: 0 - 16


routes

route-map map-tag Route map reference -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Related Commands
default-metric

2.25 show ip rip


Syntax
show ip rip

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 2 RIP Protocol Commands

Related Information
According to the output information of this command, the user knows whether the
configuration is correct and conducts IP fault diagnosis.

2.26 show ip rip database


Syntax
show ip rip database [ network ip-address [ mask net-mask] ]

Purpose
To display the route entries generated by the RIP protocol

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

network ip-address IP address of the network A.B.C.D

mask net-mask Network mask A.B.C.D

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Related Information
According to the output information of this command, the user can judge whether the
current RIP routing table is correct or not.

2.27 show ip rip interface


Syntax
show ip rip interface interface-name

Purpose
To display the RIP interface information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interface-name RIP interface name -

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

2.28 show ip rip networks


Syntax
show ip rip networks

Purpose
To display the RIP networks configured by the user

2-24

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 2 RIP Protocol Commands

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

2.29 timers basic


Syntax
timers basic update invalid hold-own flush

Purpose
To adjust the RIP network timer

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

update Update sending interval, the Range: 1 - 65535 sec


basic parameter of the routing Default: 1 sec
protocol

invalid Period before route invalidity Range: 1 - 65535 sec


Default: 1 sec

hold-own Period for suppressing better Range: 1 - 65535 sec


route Default: 1 sec

flush Period from route invalidity to Range: 1 - 65535 sec


route clearing Default: 1 sec

2-25

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 2 RIP Protocol Commands

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:

Parameter Description Value

1 Version number 1 -

2 Version number 2 -

Mode
ZXAN(config-router)#

2-27

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3
OSPF Protocol Commands
Table of Contents
router ospf..................................................................................................................3-2
area authentication.....................................................................................................3-3
area filter-list ..............................................................................................................3-4
area nssa ...................................................................................................................3-5
area range..................................................................................................................3-6
area stub ....................................................................................................................3-7
area stub-host ............................................................................................................3-8
area virtual-link...........................................................................................................3-9
auto-cost ..................................................................................................................3-11
capacity opaque .......................................................................................................3-12
clear ip ospf process ................................................................................................3-12
clear ip ospf redistribution.........................................................................................3-13
compatible rfc 1583 ..................................................................................................3-14
debug.......................................................................................................................3-15
default-metric(OSPF) ...............................................................................................3-15
disable area .............................................................................................................3-16
disable interface (OSPF) ..........................................................................................3-17
disable ip ospf ..........................................................................................................3-18
distance ospf ............................................................................................................3-18
enable area ..............................................................................................................3-19
enable interface (OSPF)...........................................................................................3-20
enable ip ospf...........................................................................................................3-21
filter ..........................................................................................................................3-21
grace-period .............................................................................................................3-22
ip ospf authentication ...............................................................................................3-23
ip ospf authentication-key.........................................................................................3-24
ip ospf cost...............................................................................................................3-25
ip ospf dead-interval .................................................................................................3-25
ip ospf hello-interval .................................................................................................3-26
ip ospf message-digest-key ......................................................................................3-27
ip ospf mtu-ignore ....................................................................................................3-28
ip ospf network .........................................................................................................3-29
ip ospf priority...........................................................................................................3-30
ip ospf retransmit-interval .........................................................................................3-31
ip ospf transmit-delay ...............................................................................................3-31
maximum-paths(OSPF)............................................................................................3-32
neighbor(OSPF) .......................................................................................................3-33

3-1

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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

3.1 router ospf


Syntax
router ospf process-id
no router ospf process-id

Purpose
To enter the OSPF protocol configuration mode

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

process-id OSPF process ID Range: 1 - 65535

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

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.

3.2 area authentication


Syntax
area area-id authentication [ message-digest]
no area area-id authentication [ message-digest]

Purpose
To enable the authentication for the OSPF area

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

area-id Area ID Range: 0 - 4294967295

message-digest Message-digest (type 2) -


authentication

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

3.3 area filter-list


Syntax
area area-id filter-list prefix prefix-list { out | in}
no area area-id filter-list prefix prefix-list { out | in}

Purpose
To filter network routing information between OSPF area

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

area-id Area ID Range: 0 - 4294967295

prefix prefix-list Name of an IP prefix-list Range: 1 - 16 characters

out Filter networks sent from this -


area

in Filter networks sent to this area -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

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.

3.4 area nssa


Syntax
area area-id nssa [ no-redistribution] [ default-information-originate [ metric metric-value] [
metric-type type] ] [ no-summary]
no area area-id nssa [ no-redistribution] [ default-information-originate] [ no-summary]

Purpose
To configure an area as the NSSA area

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

area-id Area ID Range: 0 - 4294967295

no-redistribution Do not redistribute external LSA -


into NSSA area

default-information-originate Generate default type-7 LSA for -


this area

metric metric-value OSPF metric value Range: 0 - 16777214

metric-type type Metric type Keywords: ext-1, ext-1

no-summary Do not send any summary into -


NSSA area

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

3.5 area range


Syntax
area area-id range ip-address net-mask [ advertise | not-advertise]
no area area-id range ip-address net-mask

Purpose
To configure the address range of the summary route in an area

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

area-id Area ID Range: 0 - 4294967295

ip-address IP address of the summary A.B.C.D


address range

net-mask Summary address range mask A.B.C.D

advertise Advertise this range -

not-advertise Do not advertise this range -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

ZXAN(config-router)#area 0 range 10.1.0.0 255.255.0.0 advertise


ZXAN(config-router)#

Related Commands
None

3.6 area stub


Syntax
area area-id stub [ no-summary] [ default-cost cost]

no area area-id stub [ no-summary] [ default-cost]

Purpose
To configure an area as a stub area

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

area-id Area ID Range: 0 - 4294967295

no-summary Prohibit ABR from sending the -


summarized routing information
to this stub area

default-cost cost Default cost for advertisement Range: 0 - 65535


to this stub area

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

3.7 area stub-host


Syntax
area area-id stub-host ip-address cost cost
no area area-id stub-host ip-address [ cost cost]

Purpose
To add the host route advertised by the router in an area

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

area-id Area ID Range: 0 - 4294967295

ip-address IP address of the stub host for A.B.C.D


advertisement

cost cost Cost of this host route for Range: 1 - 65535


advertisement

Mode
ZXAN(config-router)#

Example
The following example displays how to add the host route advertised by the router in an
area:

3-8

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

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.

If the area does not exist, it is created automatically.

3.8 area virtual-link


Syntax
area area-id virtual-link router-id [ hello-interval seconds] [ retransmit-interval seconds] [ tr
ansmit-delay seconds] [ dead-interval seconds] [ authentication-key key] [ message-digest-key
keyid md5 cryptkey [ delay time] ] [ authentication [ null | message-digest] ]
area area-id virtual-link router-id [ hello-interval seconds] [ retransmit-interval seconds] [ tr
ansmit-delay seconds] [ dead-interval seconds] [ authentication-key key] [ message-digest-key
keyid ] [ authentication [ null | message-digest] ]

Purpose
To configure an OSPF virtual link

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

area-id Area ID Range: 0 - 4294967295

router-id Router ID of the virtual link A.B.C.D

hello-interval seconds Interval for sending Hello Range: 1 - 8192 sec


packets on the virtual link Default: 10

retransmit-interval seconds Retransmit interval on the virtual Range: 1 - 8192 sec


link Default: 5

transmit-delay seconds Delay for transmitting a link Range: 1 - 8192 sec


state update packet on the Default: 1
virtual link

3-9

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Parameter Description Value

dead-interval seconds Dead interval for neighbors on Range: 1 - 8192 sec


the virtual link Default: 40

authentication-key key Authentication key on the virtual Range: 1 - 8 characters


link

message-digest-key keyid MD5 authentication key ID on Range: 1 - 255


the virtual link Default: 10

md5 cryptkey MD5 authentication key on the Range: 1 - 24 characters


virtual link Maximum: 16 bytes

delay time MD5 authentication delay Range: 0 - 100000 min

authentication Cost of this host route for -


advertisement

message-digest Configure type 2 authentication -


mode on the virtual link,
that is, the message digest
authentication

null Configure type 0 authentication -


mode on the virtual link

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

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:

Parameter Description Value

reference-bandwidth ref-bw Reference bandwidth to assign Range: 1 - 4000000 Mbps


OSPF cost Default: 100 Mbps

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

3.10 capacity opaque


Syntax
capability opaque
no capability opaque

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.11 clear ip ospf process


Syntax
clear ip ospf process process-id

3-12

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Purpose
To restart the OSPF process

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

process-id OSPF process ID Range: 1 - 65535

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

3.12 clear ip ospf redistribution


Syntax
clear ip ospf redistribution process-id

Purpose
To clear OSPF route redistribution

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

process-id OSPF process ID Range: 1 – 65535

Mode
ZXAN#

3-13

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Example
The following example displays how to clear OSPF route redistribution:
ZXAN#clear ip ospf redistribution 1
ZXAN#

Related Commands
None

3.13 compatible rfc 1583


Syntax
compatible rfc1583
no compatible rfc1583

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Purpose
To configure the default metric after the redistribution

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

metric-value Default cost value of the system Range: 1 - 4294967295


external routes

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.

3.16 disable area


Syntax
disable area area-id

Purpose
To disable the specified area if it exists

Usage Guidelines
The following table provides parameter description:

3-16

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Parameter Description Value

area-id OSPF area ID Range: 0 - 4294967295

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

3.17 disable interface (OSPF)


Syntax
disable interface ip-address wildcard-mask

Purpose
To disable the OSPF interfaces in the specified range

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address Interface IP address A.B.C.D

wildcard-mask OSPF wild card bits A.B.C.D

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Related Commands
enable interface

3.18 disable ip ospf


Syntax
disable ip ospf process-id

Purpose
To disable the OSPF protocol

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

process-id OSPF process ID Range: 1 - 65535

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

3.19 distance ospf


Syntax
distance ospf { [ internal distance] [ ext1 distance] [ ext2 distance] }
no distance ospf { internal | ext1 | ext2}

Purpose
To configure the OSPF route administrative distances based on route type

3-18

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

internal Internal area routes -

ext1 Type-1 external routes -

ext2 Type-2 external routes -

distance Distance Range: 1 - 255


Default: 110

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.

3.20 enable area


Syntax
enable area area-id

Purpose
To enable the specified area

3-19

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

area-id OSPF area ID Range: 0 - 4294967295

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

3.21 enable interface (OSPF)


Syntax
enable interface ip-address wildcard-mask

Purpose
To enable the OSPF interfaces in the specified range

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address Interface IP address A.B.C.D

wildcard-mask OSPF wild card bits A.B.C.D

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

ZXAN(config-router)#enable interface 10.1.0.0 0.0.255.255


ZXAN(config-router)#

Related Commands
disable interface

3.22 enable ip ospf


Syntax
enable ip ospf process-id

Purpose
To enable the OSPF protocol

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

process-id OSPF process ID Range: 1 - 65535

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

no filter ip-address net-mask preference

3-21

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

exact Exact map address -

ip-address net-mask IP address and subnet mask A.B.C.D

preference Priority for introducing the Range: 0 - 255


matched routes

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Parameter Description Value

num Grace period number Range: 120 – 1800


Default: 120

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

3.25 ip ospf authentication


Syntax
ip ospf authentication [ null | message-digest]
no ip ospf authentication

Purpose
To configure the authentication mode for the interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

null Type 0 authentication mode -

message-digest Type 2 authentication mode -

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the authentication mode for the interface:

3-23

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

ZXAN(config)#interface vlan 2
ZXAN(config-if)#ip ospf authentication message-digest
ZXAN(config-if)#

Related Commands
None

3.26 ip ospf authentication-key


Syntax
ip ospf authentication-key password
no ip ospf authentication-key

Purpose
To configure the simple password authentication for the interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

password Authentication password Range: 1 - 8 characters

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

3.27 ip ospf cost


Syntax
ip ospf cost cost
no ip ospf cost

Purpose
To configure the explicit interface cost

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

cost Interface cost Range: 1 - 65535

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.

3.28 ip ospf dead-interval


Syntax
ip ospf dead-interval seconds

no ip ospf dead-interval

3-25

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Purpose
To configure the dead time of the specified interface neighbor

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

seconds Dead interval for neighbors on Range: 1 - 65535 sec


the interface

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.

3.29 ip ospf hello-interval


Syntax
ip ospf hello-interval seconds

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Parameter Description Value

seconds Hello message interval Range: 1 - 65535 sec

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.

3.30 ip ospf message-digest-key


Syntax
ip ospf message-digest-key keyid md5 password [ delay time] encypt
no ip ospf message-digest-key keyid

Purpose
To configure the password serial number pair for the interface with message digest
authentication

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

keyid Password serial number Range: 1 - 255

md5 password Authentication password Range: 1 - 24 characters

delay time Time delay before the key takes Range: 0 - 100000 min
effect

encypt Encrypt the set password -

3-27

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

3.31 ip ospf mtu-ignore


Syntax
ip ospf mtu-ignore
no ip ospf mtu-ignore

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

ZXAN(config-if)#ip ospf mtu-ignore


ZXAN(config-if)#

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.

3.32 ip ospf network


Syntax
ip ospf network { broadcast | non-broadcast | point-to-point | point-to-multipoint [ non-broa
dcast] }
no ip ospf network [ broadcast | non-broadcast | point-to-point | point-to-multipoint [ non-b
roadcast] ]

Purpose
To configure the interface type

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

broadcast OSPF broadcast multi-access -


network

non-broadcast OSPF non-broadcast network -

point-to-point OSPF point-to-point network -

point-to-multipoint OSPF point-to-multipoint -


network

Mode
ZXAN(config-if)#

Example
The following example displays how to configure the interface type:

3-29

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

3.33 ip ospf priority


Syntax
ip ospf priority priority
no ip ospf priority

Purpose
To configure the interface priority

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

priority Interface priority Range: 0 - 255


Default: 1

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Related Information
Interface priority is configured to 0 when the router cannot be used as DR and BDR.

3.34 ip ospf retransmit-interval


Syntax
ip ospf retransmit-interval seconds
no ip ospf retransmit-interval

Purpose
To configure the interface LSA retransmission time interval

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

seconds Time interval for retransmission Range: 1 - 65535 sec


Default: 5 sec

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.35 ip ospf transmit-delay


Syntax
ip ospf transmit-delay seconds
no ip ospf transmit-delay

3-31

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Purpose
To configure the delay for the interface to transmit a link status update packet

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

seconds Delay for transmitting a link Range: 1 - 65535 sec


state update packet Default: 1 sec

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:

Parameter Description Value

number Maximum number of the routes Range: 1 - 8


supported in load balance Default: 1

3-32

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

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]

no 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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Parameter Description Value

ip-address IP address of the neighbor A.B.C.D

cost cost Cost to the neighbor Range: 1 - 65535

priority priority Neighbor priority Range: 0 - 255

poll-interval seconds Neighbor polling interval Range: 120 - 65535

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address IP address A.B.C.D

wildcard-mask Wild card mask bits A.B.C.D

area-id OSPF area ID Range: 0 - 4294967295

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:

Parameter Description Value

area-id OSPF area ID Range: 0 - 4294967295

3-35

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

3.40 notify default route


Syntax
notify default route [ always] [ metric metric-value] [ metric-type type] [ route-map map-tag]
no notify default route [ always] [ metric metric-value] [ metric-type type] [ route-map map-tag]

Purpose
To notify the default route

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

always Always notify default route -

metric metric-value OSPF default metric Range: 0 - 16777214


Default: 1

metric-type type Metric type Keywords: ext-1, ext-2


Default: ext-2

route-map map-tag Route map reference name Range: 1 - 16 characters

3-36

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

default All interfaces as passive -


interface

interface Interface name -

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]

no redistribute protocol [ as as-number] [ peer peer-address] [ tag] [ metric] [ metric-type] [


route-map]

3-38

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Purpose
To redistribute the other protocol routes into the OSPF autonomous system

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

protocol Filtering based on a protocol Keywords: bgp-ext, bgp-int,


connected, isis-1, isis-1-2,
isis-2, rip, static

as as-number AS number of the peer Range: 1 - 65535

peer peer-address IP address of the peer A.B.C.D

tag tag-value Tag value Range: 0 - 4294967295

metric metric-value Metric value Range: 0 - 16777214

metric-type type Metric type Keywords: ext-1, ext-2

route-map map-tag Route map name Range: 1 - 16 characters

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

ip-address OSPF router ID A.B.C.D

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.

By default, OSPF process automatically selects the OSPF router ID.

3-40

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

3.45 show ip ospf


Syntax
show ip ospf [ process-id]

Purpose
To display the OSPF protocol and OSPF areas summary information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

process process-id Process ID Range: 1 - 65535

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#

l show ip ospf (OSPF protocol is activated)


ZXAN#show ip ospf
OSPF 1 Router ID 5.5.5.5 enable
Enabled for 00:11:18,Debug on
Number of areas 3, Stub 0, Transit 0
Number of interfaces 1
Number of neighbors 0
Number of adjacent neighbors 0
Number of virtual links 0
Total number of entries in LSDB 4
Number of ASEs in LSDB 0, Checksum Sum 0x00000000
Number of grace LSAs 0
Number of new LSAs received 0
Number of self originated LSAs 9
Hold time between consecutive SPF 1 secs
Non-stop Forwarding enabled, last NSF restart
1d6h ago (took 0 secs)

3-41

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Area 0.0.0.0 enable


Enabled for 00:11:18
Area has no authentication
Times spf has been run 1
Number of interfaces 1. Up 0
Number of ASBR local to this area 1
Number of ABR local to this area 0
Total number of intra/inter entries in LSDB 1.
Checksum Sum 0x00000632
Area-filter out not set
Area-filter in not set
Area ranges count 0

Area 0.0.0.1 enable


Enabled for 00:11:19
It is a nssa area
Metric for default route 10
Area has MD5 authentication
Times spf has been run 2
Number of interfaces 0. Up 0
Number of ASBR local to this area 1
Number of ABR local to this area 0
Total number of intra/inter entries in LSDB 2.
Checksum Sum 0x0000faf2
Area-filter ZXAN out
Area-filter ZXAN in
Area ranges count 1
10.1.0.0 255.255.0.0 advertise

Area 0.0.0.10 enable


Enabled for 00:11:19
Area has no authentication
Times spf has been run 1
Number of interfaces 0. Up 0
Number of ASBR local to this area 1
Number of ABR local to this area 0
Total number of intra/inter entries in LSDB 1.
Checksum Sum 0x00000632
Area-filter out not set
Area-filter in not set
Area ranges count 0

ZXAN#

3-42

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

The following table describes the parameters displayed in the example:

Information Description

OSPF Router ID ID of the OSPF protocol router

enable/disable Status of the current OSPF process (enabled


or disabled)

Number of areas Number of the OSPF areas

Normal Number of the non-stub areas

Stub Number of the stub areas

Transit Number of the transmission areas

Number of interfaces Number of the OSPF interfaces

Number of neighbors Number of the OSPF neighbors

Number of adjacent neighbors Number of the OSPF Adjacent Neighbors

Number of virtual links Number of the OSPF virtual links

Total number of entries in LSDB Total number of the LSAs

Number of ASEs in LSDB Total number of the ASE LSAs

Number of new LSAs received Number of the new LSAs received

Number of self originated LSAs Number of the LSAs generated by the router

Hold time between consecutive SPF Hold time interval between consecutive SPF

Non-stop Forwarding The capacity of non-stop forwarding

Last NSF restart ago Time interval from the last nsf restart

Area ID of the OSPF area

Enable/disable Area status (enabled or disabled)

Area has no authentication No authentication in the area

Times spf has been run Number of times the SPF algorithm is executed

Number of interfaces Number of the OSPF interfaces in the area

Up Number of the OSPF interfaces in the Up


status in the area

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

Checksum Sum The sum of the checksums of the LSAs


between and in the areas

Area ranges count Number of the collected address ranges in the


area configuration

Area-fliter out Fliter when exporting the routers information

3-43

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Information Description

Area-fliter in Fliter when importing the routers information

100.1.1.0 255.255.255.0 List the IP addresses and masks of the


collected address ranges in turn

Related Commands
None

3.46 show ip ospf border-routers


Syntax
show ip ospf border-routers [ process process-id]

Purpose
To display the ABR and ASBR internal OSPF routing information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

process process-id OSPF process ID Range: 1 - 65535

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#

The following table describes the parameters displayed in the example:

3-44

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Information Description

Destination ID of the receiving end router

Next Hop Next-hop to the receiving end

Cost Path cost

Type Type of the receiving end router. It cany be ABR,


or the ASBR, or both.

RteType Path type. It can be an internal area path or an


external area path.

Area Path area ID

Related Commands
None

3.47 show ip ospf database


Syntax
show ip ospf database [ database-summary | adv-router router-id | self-originate] [ area area
-id] [ process process-id]
show ip ospf database router [ link-state-id] [ adv-router router-id | self-originate] [ area area-
id] [ process process-id]
show ip ospf database network [ link-state-id] [ adv-router router-id | self-originate] [ area
area-id] [ process process-id]
show ip ospf database summary [ link-state-id] [ adv-router router-id | self-originate] [ area
area-id] [ process process-id]
show ip ospf database asbr-summary [ link-state-id] [ adv-router router-id | self-originate] [
area area-id] [ process process-id]
show ip ospf database nssa [ link-state-id] [ adv-router router-id | self-originate] [ area area-id]
[ process process-id]
show ip ospf database external [ link-state-id] [ adv-router router-id | self-originate] [ area
area-id] [ process process-id]
show ip ospf database opaque-area [ link-state-id] [ adv-router router-id | self-originate] [ area
area-id] [ process process-id]

Purpose
To display the specified router OSPF database information

Usage Guidelines
The following table provides parameter description:

3-45

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Parameter Description Value

database-summary Database summary -

adv-router router-id Advertising router link states A.B.C.D

router Router link status -

network Network link status -

summary Network summary link status -

asbr-summary ASBR summary link states -

nssa NSSA link status -

external External link status -

opaque-link Opaque-link status -

opaque-area Opaque-area link status -

link-state-id Link status ID A.B.C.D

self-originate Self-originated link states -

area area-id OSPF area -

process process-id OSPF process ID Range: 1 - 65535

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

OSPF Router with ID (5.5.5.5) (Process ID 1)

Router Link States (Area 0.0.0.0)

Link ID ADV Router Age Seq# Checksum Link count


5.5.5.5 5.5.5.5 13237 0x80000002 0x632 0

Router Link States (Area 0.0.0.1)

Link ID ADV Router Age Seq# Checksum Link count


5.5.5.5 5.5.5.5 13237 0x80000002 0xdfd 1

Type-7 AS External Link States (Area 0.0.0.1)

Link ID ADV Router Age Seq# Checksum Tag

3-46

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

0.0.0.0 5.5.5.5 636 0x80000009 0xdefc 3489660928

Router Link States (Area 0.0.0.10)


Link ID ADV Router ge Seq# Checksum Link count
5.5.5.5 5.5.5.5 13237 0x80000002 0x632 0

ZXAN#

The following table describes the parameters displayed in the example:

Information Description

Link ID Link status number

ADV Router Advertisement router ID

Age Link status age

Seq# Link status serial number

Checksum Checksum of the whole link status


advertisements

Link count Quantity of the connections included in the


router link status advertisement

l show ip ospf database summary


ZXAN#show ip ospf database summary

OSPF Router with ID (192.168.2.1) (Process ID 1)

Summary Net Link States (Area 0.0.0.1)

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#

The following table describes the parameters displayed in the example:

3-47

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Information Description

OSPF Router with id Router ID

Process ID OSPF process number

LS age Link status age

Options Service type option (always 0)

Seq# Link status serial number

LS Type Link status type

Link State ID Link status number

Advertising Router Advertisement router ID

LS Seq Number Link status serial number

Checksum Checksum of the whole link status


advertisements

Length Length of the link status advertisement

Network Mask Network mask

TOS Service type

Metric Link status penalty

l show ip ospf database external


ZXAN#show ip ospf database external
OSPF Router with ID (110.1.1.1) (Process ID 1)
Type-5 AS External Link States
LS age: 18
Options: (No TOS-capability, No DC)
LS Type: AS External Link
Link State ID: 111.1.0.0 (External Network Number)
Advertising Router: 110.1.1.1
LS Seq Number: 0x80000001
Checksum: 0x4ae3
Length: 36
Network Mask: /16
Metric Type: 2 (Larger than any link state path)
TOS: 0
Metric: 20
Forward Address: 110.1.1.111
External Route Tag: 3489660928

ZXAN#

The following table describes the parameters displayed in the example:

3-48

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Information Description

OSPF Router with id Router ID

Process ID OSPF process number

LS age Link status age

Options The service type option (always 0)

Seq# Link status serial number

LS Type Link status type

Link State ID Link status number

Advertising Router Advertisement router ID

LS Seq Number Link status serial number

Checksum Checksum of the whole link status


advertisements

Length Length of the link status advertisement

Network Mask Network mask

Metric Type External type

TOS Service type

Metric Link status penalty

Forward Address Forwarding address. If it is 0.0.0.0, the


advertisement router is used for the
forwarding.

External Route Tag 32-digit added value of the external routes.


The OSPF protocol does not use it by itself.

l show ip ospf database network


ZXAN#show ip ospf database network
OSPF Router with ID (110.1.1.1) (Process ID 1)
Net Link States (Area 0.0.0.1)
Routing Bit Set on this LSA
LS age: 789
Options: (No TOS-capability, No DC)
LS Type: Network Links
Link State ID: 168.1.1.1 (Address of Designated Router)
Advertising Router: 110.1.1.1
LS Seq Number: 0x80000002
Checksum: 0x9787
Length: 32
Network Mask: /16
Attached Router: 110.1.1.1
Attached Router: 168.1.1.3

3-49

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

ZXAN#

The following table describes the parameters displayed in the example:

Information Description

OSPF Router with id Router ID

Process ID OSPF process number

LS age Link status age

Options Service type option (always 0)

Seq# Link status serial number

LS Type Link status type

Link State ID Link status number

Advertising Router Advertisement router ID

LS Seq Number Link status serial number

Checksum Checksum of the whole link status


advertisements

Length Length of the link status advertisement

Network Mask Network mask

Attached Router Address list of the OSPF routers connected


with the network

l show ip ospf database router


ZXAN#show ip ospf database router

OSPF Router with ID (5.5.5.5) (Process ID 1)

Router Link States (Area 0.0.0.0)

Routing Bit Set on this LSA


LS age: MAXAGE(13596)
Options: (No TOS-capability, No DC)
LS Type: Router Links
Link State ID: 5.5.5.5
Advertising Router: 5.5.5.5
LS Seq Number: 0x80000002
Checksum: 0x632
Length: 24
AS Boundary Router
Number of Links: 0

3-50

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Router Link States (Area 0.0.0.1)

Routing Bit Set on this LSA


LS age: MAXAGE(13596)
Options: (No TOS-capability, No DC)
LS Type: Router Links
Link State ID: 5.5.5.5
Advertising Router: 5.5.5.5
LS Seq Number: 0x80000002
Checksum: 0xdfd
Length: 36
AS Boundary Router
Number of Links: 1

Link connected to: a Stub Network


(Link ID) Network/subnet number: 10.1.1.1
(Link Data) Network Mask: 255.255.255.255
Number of TOS metrics: 0
TOS 0 Metrics: 10

Router Link States (Area 0.0.0.10)

Routing Bit Set on this LSA


LS age: MAXAGE(13602)
Options: (No TOS-capability, No DC)
LS Type: Router Links
Link State ID: 5.5.5.5
Advertising Router: 5.5.5.5
LS Seq Number: 0x80000002
Checksum: 0x632
Length: 24
AS Boundary Router
Number of Links: 0

ZXAN#

The following table describes the parameters displayed in the example:

Information Description

OSPF Router with id Router ID

Process ID OSPF process number

3-51

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Information Description

LS age Link status age

Options Service type option (always 0)

Seq# Link status serial number

LS Type Link status type

Link State ID Link status number

Advertising Router Advertisement router ID

LS Seq Number Link status serial number

Checksum Checksum of the whole link status


advertisements

Length Length of the link status advertisement

AS Boundary Router Type of the router

Number of Links Link quantity

link ID Link ID

Link Data Link data, with different meanings for different


links

Metric Type External type

l show ip ospf database database-summary


ZXAN#show ip ospf database database-summary

OSPF Router with ID (5.5.5.5) (Process ID 1)

Area 0.0.0.0 database summary


LSA Type Count
Router 1
Network 0
Summary Net 0
Summary ASBR 0
Type-7 Ext 0
Opaque Link 0
Opaque Area 0
Subtotal 1

Area 0.0.0.1 database summary


LSA Type Count
Router 1
Network 0
Summary Net 0
Summary ASBR 0

3-52

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Type-7 Ext 1
Opaque Link 0
Opaque Area 0
Subtotal 2

Area 0.0.0.10 database summary


LSA Type Count
Router 1
Network 0
Summary Net 0
Summary ASBR 0
Type-7 Ext 0
Opaque Link 0
Opaque Area 0
Subtotal 1

Process 1 database summary


LSA Type Count
Router 3
Network 0
Summary Net 0
Summary ASBR 0
Type-7 Ext 1
Opaque Link 0
Opaque Area 0
Type-5 Ext 0
Opaque AS 0
Total 4

ZXAN#

The following table describes the parameters displayed in the example:

Information Description

OSPF Router with id Router ID

Process ID OSPF process number

Area database summary Database statistics in the area

LSA Type Link status type

Count Quantity

Router Router link status advertisements

Network Network route status advertisement

Summary Net Network summary link status advertisement

3-53

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Information Description

Summary ASBR Summary link status advertisements of the AS


border

Type-7 Ext Type 7 external link status advertisement

Opaque Link Always 0

Opaque Area Always 0

Subtotal Total quantity of the LSAs in the area

Type-5 Ext Type 5 external link status advertisement

Opaque AS Always 0

Related Commands
None

3.48 show ip ospf interface


Syntax
show ip ospf interface [ interface-name] [ process process-id]

Purpose
To display the OSPF interface information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interface-name Interface name -

process process-id OSPF process ID Range: 1 - 65535

Mode
All modes except user mode

Example
The following example displays the OSPF interface information:
ZXAN#show ip ospf interface vlan 2 process 1

OSPF Router with ID (5.5.5.5) (Process ID 1)

vlan2 is down
Internet Address 10.10.1.1 255.255.255.0 disable

3-54

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

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#

The following table describes the parameters displayed in the example:

Information Description

vlan2 Interface type and number

up/down Lower layer interface status

Internet Address OSPF interface IP address and mask

enable/disable OSPF interface status

Up for Time when the interface is enabled

In the area Area that the OSPF belongs to

Cost Interface cost

Priority Interface priority

Network Type Interface type (broadcast /NBMA/point-to-point)

Transmit Delay (sec) Delay for the interface to transmit a link status
update data packet

Authentication Type Authentication type for the interface

Timer intervals (sec) List the intervals of the timers of the interface

Hello Time interval for the interface to send the HELLO


message

Dead Death time of the neighbor on the interface

Retransmit Time interval for the interface to re-send the LSA

Designated Router (ID) Router ID of the DR

Interface address Interface IP address of the DR

Backup Designated router (ID) Router ID of the BDR

Interface address Interface IP address of the BDR

Number of Neighbors Number of the neighbors for the interface

Number of Adjacent neighbors Number of the adjacent neighbors for the


interface

Adjacent with neighbor List the IDs of the routers adjacent with the
interface

3-55

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Related Commands
None

3.49 show ip ospf neighbor


Syntax
show ip ospf neighbor [ interface interface-name] [ neighbor-id neighbor] [ process process-id]

Purpose
To display the OSPF neighbor information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interface interface-name Interface number Loopback Range: 1 - 64


Super VLAN Range: 1 - 255
VLAN Range: 1 - 4094

neighbor-id neighbor Neighbor router ID A.B.C.D

process process-id Process ID Range: 1 - 65535

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#

The following table describes the parameters displayed in the example:

3-56

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Information Description

Neighbor Neighbor ID

In the area Area that the neighbor belongs to

DR Router ID of the DR

BDR Router ID of the BDR

State Neighbor status

Priority Neighbor priority

Cost Neighbor cost

Queue count Lengths of the neighbor queues and their


descriptions

Retransmit Length of the retransmit queue

DD Length of the DD queue

LS Req Length of the request queue

Dead Time Minimum time to the “down” of the neighbor

Options Neighbor options

In Full State Time period since the full state

Related Commands
None

3.50 show ip ospf nsf


Syntax
show ip ospf nsf

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

ZXAN#show ip ospf nsf


OSPF Router with ID (134.1.1.200) (Process ID 200)OSPF instance is
in normal state

ZXAN#

l show ip ospf nsf: NSF restart interface information.


ZXAN#show ip ospf nsf
OSPF Router with ID (134.1.1.200) (Process ID 200)
OSPF instance is graceful restarting
Restart reason is switch to redundant control processor
Grace period 240
Start time 00:00:00
Time to leave 223 s
Helper 134.1.1.201
In the area 0.0.0.0
via interface gei_1/9 134.1.1.201
Neighbor is DR
State 2WAY

ZXAN#

The following table describes the parameters displayed in the example:

Information Description

Restart reason Reason for the non-stop forward transmission

Grace period Longest time period for the non-stop forward


transmission

Start time Start time for non-stop forward transmission

Time to leave Remaining time for the non-stop forward


transmission

Helper Help router ID

In the area Non-stop forwarding link area

via interface fei_1/1 Helper interface type, number and IP address

State Help state

l show ip ospf nsf: NSF helper interface information.


ZXAN#show ip ospf nsf
OSPF Router with ID (134.1.1.201) (Process ID 200)
This router is a helper of graceful restart
Restarting router ID 134.1.1.200
In the area 0.0.0.0

3-58

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

via interface gei_1/9 134.1.1.200


Neighbor is BDR
State EXCH
Max grace period 240
Start time 00:23:42
Time to leave 219 s

ZXAN#

The following table describes the parameters displayed in the example:

Information Description

Restarting router ID Restarting router ID

In the area Non-stop forwarding link area

via interface gei_1/9 Helper interface type, number and IP address

Neighbor is BDR Neighbor is BDR

State Help state

Start time Start time for non-stop forward transmission

Max grace period Longest time period for the non-stop forward
transmission

Time to leave Remaining time for the non-stop forward


transmission

Related Commands
None

3.51 show ip ospf request-list


Syntax
show ip ospf request-list [ neighbor | interface-name interface-neighbor] [ process process-id]

Purpose
To display all the link status advertisement lists requested by the router

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

neighbor Neighbor -

3-59

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Parameter Description Value

interface-name Interface name -

interface-neighbor Interface neighbor -

process process-id Process ID Range: 1 - 65535

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

3.52 show ip ospf retransmission-list


Syntax
show ip ospf retransmission-list [ neighbor | interface-name interface-neighbor] [ process proce
ss-id]

Purpose
To display the link status advertisement list resent by the router

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

neighbor Neighbor -

interface-name Interface name -

interface-neighbor Interface neighbor -

3-60

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Parameter Description Value

process process-id Process ID Range: 1 - 65535

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

3.53 show ip ospf virtual-links


Syntax
show ip ospf virtual-links [ process process-id]

Purpose
To display the information about OSPF virtual links

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

process process-id Process ID Range: 1 - 65535

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

l show ip ospf virtual-links


ZXAN#show ip ospf virtual-links
Virtual Link to router 180.1.1.1
Transit area 0.0.0.1
via interface gei_1/9/1 200.1.1.2
State DOWN, Transmit Delay (sec) 1, Cost 5
Timer intervals (sec) : Hello 10, Dead 40, Retransmit 5

ZXAN#

The following table describes the parameters displayed in the example:

Information Description

Virtual Link to router Virtual Link neighbor

Transit area Virtual regional transmission links

Via interface gei_1/9/1 Interface type, number and IP address

State Current state of the virtual link

Transmit Delay (sec) Link state update packet transmission time

Cost Virtual link cost

Timer intervals (sec) Virtual link time interval before it is listed

Hello Virtual link to send Hello message

Dead Virtual link neighbor's dead time interval

Retransmit Virtual link LSA retransmission interval

Related Commands
None

3.54 summary-address
Syntax
summary-address ip-address net-mask

no summary-address ip-address net-mask

Purpose
To create aggregate addresses for OSPF

Usage Guidelines
The following table provides parameter description:

3-62

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Parameter Description Value

ip-address Summary IP address A.B.C.D


designated for a range of
addresses

net-mask IP subnet mask used for the A.B.C.D


summary route

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.

3.55 timers lsa-group-pacing


Syntax
timers lsa-group-pacing seconds

no timers lsa-group-pacing

3-63

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

seconds Interval at which LSAs are Range: 1 - 2 sec


grouped and refreshed, Default: 1 sec
checksummed, or aged

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.

3.56 timers spf


Syntax
timers spf spf-holdtime
no timers spf

Purpose
To configure the minimum time interval between two continuous SPF computations

Usage Guidelines
The following table provides parameter description:

3-64

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 3 OSPF Protocol Commands

Parameter Description Value

spf-holdtime Hold time between consecutive Range: 1 - 65535 sec


SPF computations Default: 1 sec

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

This page intentionally left blank.

3-66

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4
BGP Protocol Commands
Table of Contents
router bgp...................................................................................................................4-2
address-family ipv4 multicast......................................................................................4-3
aggregate-adress .......................................................................................................4-4
bgp always-compare-med ..........................................................................................4-5
bgp as ........................................................................................................................4-6
bgp client-to-client reflection .......................................................................................4-7
bgp cluster-id .............................................................................................................4-8
bgp confederation identifier ........................................................................................4-9
bgp confederation peers.............................................................................................4-9
bgp dampening ........................................................................................................4-10
bgp default ipv4-unicast............................................................................................4-11
bgp default local-preference .....................................................................................4-12
bgp default route-targer filter ....................................................................................4-13
bgp fast-external-fallover ..........................................................................................4-14
bgp graceful-restart ..................................................................................................4-15
bgp router-id.............................................................................................................4-16
bgp update-delay .....................................................................................................4-16
clear ip bgp dampening ............................................................................................4-17
clear ip bgp flap-statistics .........................................................................................4-18
default-information originate .....................................................................................4-19
default-metric ...........................................................................................................4-20
disable ip bgp ...........................................................................................................4-21
distance bgp.............................................................................................................4-21
enable ip bgp ...........................................................................................................4-22
exit-address-family ...................................................................................................4-23
ip as-path access-list................................................................................................4-24
ip community-list ......................................................................................................4-25
ip prefix-list...............................................................................................................4-26
maximum-paths........................................................................................................4-27
neighbor originate-interval ........................................................................................4-28
neighbor active.........................................................................................................4-29
neighbor advertisement-interval ...............................................................................4-30
neighbor allowas-in ..................................................................................................4-31
neighbor default-originate.........................................................................................4-32
neighbor description .................................................................................................4-33
neighbor ebgp-multihop............................................................................................4-34
neighbor maximum-prefix .........................................................................................4-35

4-1

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.1 router bgp


Syntax
router bgp as-number
no router bgp [ as-number]

4-2

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

Purpose
To configure the BGP router module

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

as-number AS number Range: 1 - 65535

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

4.2 address-family ipv4 multicast


Syntax
address-family ipv4 multicast

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

ip-address Aggregate network to be A.B.C.D


created

net-mask Mask for the aggregated A.B.C.D


network

count count Number of aggregate subnets Range: 0 - 255


Default: 1

as-set AS path information -

summary-only Filter all particular routes from -


update

strict In accordance with RFC1771, -


only the routes with the same
MED and NEXT_HOP attributes
can be aggregated

subnet-address Aggregate subnet IP address A.B.C.D

subnet-mask Aggregate subnet mask A.B.C.D

4-4

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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

l aggregate-address 10.0.0.0 255.0.0.0 count 2


ZXAN(config)#router bgp 1
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 count 2
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet
10.1.0.0 255.255.0.0
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet
10.2.0.0 255.255.0.0
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet
10.3.0.0 255.255.0.0
ZXAN(config-router)#

l subnet 10.1.0.0 255.255.0.0


ZXAN(config)#router bgp 1
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 count 2
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet
10.1.0.0 255.255.0.0
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet
10.1.1.0 255.255.255.0
ZXAN(config-router)#aggregate-address 10.0.0.0 255.0.0.0 subnet
10.1.2.0 255.255.255.0
ZXAN(config-router)#

Related Commands
None

4.4 bgp always-compare-med


Syntax
bgp always-compare-med
no bgp always-compare-med

4-5

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

Parameter Description Value

as-number AS number Range: 1 - 65535

as-weight Weight of the corresponding AS Range: 0 - 255


Default: 128

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

4.6 bgp client-to-client reflection


Syntax
bgp client-to-client reflection
no bgp client-to-client reflection

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

4.7 bgp cluster-id


Syntax
bgp cluster-id { value | ip-address}
no bgp cluster-id

Purpose
To configure the reflector cluster routing ID

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

value Cluster ID Range: 1 - 4294967295

ip-address IP address A.B.C.D

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

When an autonomous system has multiple routing reflectors, in order to prevent routing
loop, the messages are send with group ID.

4.8 bgp confederation identifier


Syntax
bgp confederation identifier value
no bgp confederation identifier

Purpose
To configure the confederation ID

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

value Confederation ID Range: 1 - 65535

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

4.9 bgp confederation peers


Syntax
bgp confederation peers value [ value]
no bgp confederation peers [ value]

Purpose
To configure the autonomous systems that belong to the confederation

4-9

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

value AS numbers for BGP peers that Range: 1 - 65535


belong to the confederation

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.

4.10 bgp dampening


Syntax
bgp dampening [ half-life reuse reuse suppress max-suppress-time | route-map map-tag]
no bgp dampening

Purpose
To enable the BGP route dampening or modify the BGP route dampening factors

Usage Guidelines
The following table provides parameter description:

4-10

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

Parameter Description Value

half-life reuse Time after which a penalty is Range: 1 - 45 min


decreased Default: 15 min

reuse Reuse values based on Range: 1 - 20000


accumulated penalties Default: 750

suppress A route is suppressed when its Range: 1 - 20000


penalty exceeds this limit Default: 2000

max-suppress-time Maximum time a route can be Range: 1 - 255 min


suppressed Default: 60 min

route-map map-tag Route map name that controls Range: 1 - 16 characters


where BGP route dampening is
enabled

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 bgp default ipv4-unicast


Syntax
bgp default ipv4-unicast
no bgp default ipv4-unicast

4-11

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

4.12 bgp default local-preference


Syntax
bgp default local-preference value
no bgp default local-preference

Purpose
To configure the local priority of the routes advertised by the BGP

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

value Local preference value Range: 0 - 4294967295

4-12

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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.

4.13 bgp default route-targer filter


Syntax
bgp default route-target filter
no bgp default route-target filter

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

4.14 bgp fast-external-fallover


Syntax
bgp fast-external-fallover

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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.

4.15 bgp graceful-restart


Syntax
bgp gracful-restart [ stalepath-time seconds | restart-time seconds]
no bgp gracful-restart [ stalepath-time | restart-time]

Purpose
To configure the BGP graceful restart time

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

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

restart-time seconds Used to set the maximum Range: 1 - 3600 sec


time to wait for a
graceful-restart-capable
neighbor to come back up
after a restart 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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Related Commands
None

Related Information
All stale paths are deleted after the expiration of stalepath-time seconds timer.

4.16 bgp router-id


Syntax
bgp router-id ip-addr
no bgp router-id

Purpose
To configure the BGP router ID

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-addr Router ID In dotted decimal form

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.17 bgp update-delay


Syntax
bgp update-delay seconds
no bgp update-delay

4-16

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

Purpose
To configure the BGP update delay time

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

seconds Update delay time Range: 1 - 3600 sec

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

4.18 clear ip bgp dampening


Syntax
clear ip bgp dampening [ ip-address net-mask]

Purpose
To clear BGP route dampening information and unsuppress the suppressed routes

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address Network IP address related to A.B.C.D


clearing dampening information

net-mask Network mask A.B.C.D

Mode
ZXAN#

4-17

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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

4.19 clear ip bgp flap-statistics


Syntax
clear ip bgp flap-statistics [ ip-address net-mask]

Purpose
To clear BGP flap statistics

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address IP address A.B.C.D

net-mask Network mask A.B.C.D

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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.

4.20 default-information originate


Syntax
default-information originate
no default-information originate

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

metric-value Default metric value Range: 0 - 4294967295

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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.

4.22 disable ip bgp


Syntax
disable ip bgp

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

4.23 distance bgp


Syntax
distance bgp { external external-distance | internal internal-distance}
no distance bgp [ external | internal]

Purpose
To change the priority of the routes advertised by the internal/external neighbors

4-21

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

external Distance for routes external to -


the AS

external-distance Distance value Range: 1 - 255


Default: 20

internal Distance for routes internal to -


the AS

internal-distance Distance value Range: 1 - 255


Default: 200

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.

4.24 enable ip bgp


Syntax
enable ip bgp

Purpose
To enable the BGP session

4-22

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

4.26 ip as-path access-list


Syntax
ip as-path access-list access-list-number { permit | deny} as-regular-expression
no ip as-path access-list access-list-numbe

Purpose
To configure an access list based on AS path information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

access-list-numbe AS path access list number Range: 1 - 199

permit Permits access for matching -


conditions

deny Denies access for matching -


conditions

as-regular-expression Autonomous system in the -


access list that uses a regular
expression

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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:

Parameter Description Value

community-list-number Community list number Range: 1 - 99 (standard)


Range: 100 - 499 (expanded)

permit Permits access for a matching -


condition

deny Denies access for a matching -


condition

community-number Community number configured l Range: 1 - 4294967295 (A


in the set community command single number or multiple
numbers separated can be
specified)
l no-export: not to advertise
this route to the next AS
l no-export-subconfed: not
to advertise this route to
any external peer end.
l no-advertise: not to
advertise this route to
any peer end (internal or
external)

Mode
ZXAN(config)#

4-25

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

prefix-list-name Prefix list name Range: 1 - 16

permit Permit -

deny Deny -

seq seq Numeric value specifying the Range: 0 - 4294967294


order of prefix lookup for this list

description description-text Description -

prefix Prefix -

length Prefix length Range: 0 - 32

4-26

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

Parameter Description Value

ge The greater-than-or-equal-to -
value of the mask length to be
applied to this prefix

Le The less-than-or-equal-to value -


of the mask length to be applied
to this prefix

value The greater-than-or-equal- Range: 0 - 32


to/less-than-or-equal-to value

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:

Parameter Description Value

number Maximum parallel routes Range: 1 - 8

4-27

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

4.30 neighbor originate-interval


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name } originate-interval value
no neighbor { ipv4-address | ipv6-address | peer-group-name } originate-interval

Purpose
To configure the minimum interval during the sending of BGP routing updates

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

advertisement-interval Minimum time interval Range: 1 - 600 sec


Default: 15 sec

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

4-28

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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

4.31 neighbor active


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} activate
no neighbor { ipv4-address | ipv6-address | peer-group-name} activate

Purpose
To enable the address capability of the neighbor

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Related Commands
None

4.32 neighbor advertisement-interval


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} advertisement-interval value
no neighbor { ipv4-address | ipv6-address | peer-group-name} advertisement-interval

Purpose
To configure the minimum interval between the sending of BGP routing updates

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

advertisement-interval Minimum time interval Range: 1 - 600 sec


Default: 30 sec

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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.

4.33 neighbor allowas-in


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} allowas-in [ value]
no neighbor { ipv4-address | ipv6-address | peer-group-name} allowas-in

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:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

value Number of occurrences of AS Range: 1 - 10


number

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

4.34 neighbor default-originate


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} default-originate

no neighbor { ipv4-address | ipv6-address | peer-group-name} default-originate

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:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

Related Commands
None

Related Information
This command does not require the presence of 0.0.0.0 in the local router.

4.35 neighbor description


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} description line
no neighbor { ipv4-address | ipv6-address | peer-group-name} description

Purpose
To associate a description with a neighbor

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

line Neighbor description Range: 1 - 80 characters

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Related Information
By default, there is no description of the neighbor

4.36 neighbor ebgp-multihop


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} ebgp-multihop [ ttl value]
no neighbor { ipv4-address | ipv6-address | peer-group-name} ebgp-multihop

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:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

ttl value Time to live Range: 1 - 255 hops

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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

4.37 neighbor maximum-prefix


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} maximum-prefix value
no neighbor { ipv4-address | ipv6-address | peer-group-name} maximum-prefix

Purpose
To configure the maximum number of the routes received from neighbors

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

value Maximum number of prefix limit Range: 1 - 4294967295


Default: 4294967295

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

4.38 neighbor next-hop-self


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} next-hop-self
no neighbor { ipv4-address | ipv6-address | peer-group-name} next-hop-self

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:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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.

4.39 neighbor password


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} password string
no neighbor { ipv4-address | ipv6-address | peer-group-name} password

Purpose
To enable MD5 authentication on a TCP connection between two BGP peers

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

string Password string Range: 3 - 80 characters

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

4.40 neighbor prefix-list


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} prefix-list prefix-list-name { in | out}
no neighbor { ipv4-address | ipv6-address | peer-group-name} advertisement-interval prefix-lis
t-name { in | out}

Purpose
To prevent distribution of BGP neighbor information as specified in a prefix list

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

prefix-list-name Prefix list name Range: 3 - 16 characters

in | out Filter list is applied to incoming in-incoming


/outgoing advertisements from out-outgoing
that neighbor

Mode
ZXAN(config-router)#

4-38

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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.

4.41 neighbor remote-as


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} remote-as number
no neighbor { ipv4-address | ipv6-address | peer-group-name} remote-as

Purpose
To add an entry to the BGP neighbor

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

number AS to which the neighbor Range: 1 - 65535


belongs

Mode
ZXAN(config-router)#
ZXAN(config-router-af)#

4-39

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

4.42 neighbor remove-private-as


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} remove-private-as
no neighbor { ipv4-address | ipv6-address | peer-group-name} remove-private-as

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:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

4-40

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

Parameter Description Value

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

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.43 neighbor route-map


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} route-map map-tag { in | out}

no neighbor { ipv4-address | ipv6-address | peer-group-name} route-map map-tag { in | out}

4-41

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Purpose
To apply a route map to incoming or outgoing routes

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

map-tag Name of the route map Range: 1 - 16 characters

in| out Apply map to incoming /outgoing in-incoming


routes out-outgoing

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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.

4.44 neighbor route-reflector-client


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} route-reflector-client
no neighbor { ipv4-address | ipv6-address | peer-group-name} route-reflector-client

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:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

4.45 neighbor send-community


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} send-community
no neighbor { ipv4-address | ipv6-address | peer-group-name} send-community

Purpose
To specify that a communities attribute should be sent to a BGP neighbor

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address of the neighbor A.B.C.D

ipv6-address IPv6 address of the neighbor A.B.C.D

peer-group-name Peer group name -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

ZXAN(config-router)#

Related Commands
None

Related Information
By default, community attribute is not sent.

4.46 neighbor send-med


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} send-med
no neighbor { ipv4-address | ipv6-address | peer-group-name} send-med

Purpose
To send the MED attribute when advertising routes to the neighbor

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Related Commands
None

Related Information
By default, MED attribute is not sent.

4.47 neighbor shut-down


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} shut-down
no neighbor { ipv4-address | ipv6-address | peer-group-name} shut-down

Purpose
To disable a neighbor or peer group

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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.

4.48 neighbor soft-reconfiguration


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} soft-reconfiguration
no neighbor { ipv4-address | ipv6-address | peer-group-name} soft-reconfiguration

Purpose
To configure the neighbor to support soft reset

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

4.49 neighbor timers


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} timers keepalive holdtime
no neighbor { ipv4-address | ipv6-address | peer-group-name} timers

Purpose
To configure the timers for a specific BGP peer or peer group

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address A.B.C.D

peer-group-name Peer group name -

keepalive Frequency (in seconds) with Range: 0 - 65535 sec


which keepalive messages are Default: 60 sec
sent to its peer

holdtime Interval (in seconds) after not Range: 3 - 65535 sec


receiving a keepalive message Default: 180 sec
that the software declares a
peer dead

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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.

4.50 neighbor update-source


Syntax
neighbor { ipv4-address | ipv6-address | peer-group-name} update-source interface-name
no neighbor { ipv4-address | ipv6-address | peer-group-name} update-source

Purpose
To configure the BGP session to use any TCP connection interface

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address of the A.B.C.D


BGP-speaking neighbor

ipv6-address IPv6 address of the A.B.C.D


BGP-speaking neighbor

peer-group-name Peer group name -

interface-name Interface name -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

ip-address IP address of the network the A.B.C.D


BGP advertises

net-mask Network mask address A.B.C.D

route-map name Name of the route-map to Range: 1 - 16 characters


modify the attributes

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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:

Parameter Description Value

protocol Source routing protocol for route Keywords: connected, isis-1,


redistribution isis-1-2, isis-2, ospf-ext, ospf-int,
rip, static

metric metric-value Metric value for redistributed Range: 0 - 4294967295


routes

route-map map-tag Name of the route-map to Range: 1 - 16 characters


modify the attributes

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Related Commands
None

Related Information
By default, route redistribution is disabled.

4.53 reset ip bgp


Syntax
reset ip bgp [ ipv4-address | ipv6-address | peer-group-name]

Purpose
To reset BGP session

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ipv4-address IPv4 address A.B.C.D

ipv6-address IPv6 address -

peer-group-name Peer group name Range: 1 - 16 characters

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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.

4.55 show bgp all neighbor


Syntax
show bgp all neighbor [ ip-address| ipv6-address]

Purpose
To display information about the TCP and BGP connections to neighbors

Usage Guidelines
The following table provides parameter description:

4-53

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Parameter Description Value

ip-address Neighbor IP address A.B.C.D

ipv6-address Neighbor IPV6 address -

Mode
All modes except user mode

Example
The following example displays the information about the TCP and BGP connections to
neighbors:

ZXAN#show bgp all 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-54

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

For address family: IPv4 Unicast


Community attribute sent to this neighbor
Route map for outgoing advertisements is setorigin
All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295
Minimum time between advertisement runs is 30 seconds
Minimum time between origin runs is 15 seconds

For address family: IPv4 Multicast no activate


All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295

For address family: VPNv4 Unicast no activate


All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295

Connections established 0
No tcp connection

ZXAN#

Related Commands
None

4.56 show bgp all protocol


Syntax
show bgp all protocol

Purpose
To display the BGP protocol configuration information

Usage Guidelines
None

Mode
All modes except user mode

4-55

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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

4.57 show bgp all summary


Syntax
show bgp all summary

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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#

The following table describes the parameters displayed in the example:

Information Description

Neighbor Neighbor IP address

Ver BGP neighbor version number, version 4 is


supported at present

AS Neighbor AS number

MsgRcvd Total messages received by the neighbor, it


is reset whenever the neighbor enters the
established status.

MsgSend Total messages sent by the neighbor, it is reset


whenever the neighbor enters the established
status.

Up/Down Time when the neighbor is in the established


status or when it transits from the established
status. If the neighbor never enters the
established status, this time is always 0.

State Connection status in the BGP state-machine

Related Commands
None

4.58 show bgp ipv4 multicast


Syntax
show bgp ipv4 multicast

show bgp ipv4 multicast detail ip-address net-mask


show bgp ipv4 multicast summary

Purpose
To display the IPv4 multicast database-related information

Usage Guidelines
The following table provides parameter description:

4-57

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Parameter Description Value

ip-address Neighbor IP address A.B.C.D

net-mask Mask address A.B.C.D

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

Network Next Hop Metric LocPrf Path


*>i 111.1.1.2/32 2.2.2.1 0 12345678 200 ?
*>i 111.1.1.3/32 2.2.2.1 0 12345678 200 ?
ZXAN#

The following table describes the parameters displayed in the example:

Information Description

Dest Specific route

Nexthop IP address of the next system that is used when


forwarding a packet to the destination network

Metric Value of the interautonomous system metric

LocPrf Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf Local management distance of the route

Path Autonomous system paths to the destination


network

Related Commands
None

4.59 show bgp ipv4 multicast neighbor


Syntax
show bgp ipv4 multicast

4-58

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

show bgp ipv4 multicast detail ip-address net-mask


show bgp ipv4 multicast summary

Purpose
To display the IPv4 multicast address family neighbor information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address Neighbor IP address A.B.C.D

in Internal BGP route -

out External BGP route -

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

Network Next Hop Metric LocPrf Path


*>i 111.1.1.2/32 2.2.2.1 0 12345678 200 ?
*>i 111.1.1.3/32 2.2.2.1 0 12345678 200 ?
ZXAN#

The following table describes the parameters displayed in the example:

Information Description

Dest Specific route

Nexthop IP address of the next system that is used when


forwarding a packet to the destination network

Metric Value of the interautonomous system metric

LocPrf Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf Local management distance of the route

4-59

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Information Description

Path Autonomous system paths to the destination


network

Related Commands
None

4.60 show bgp ipv4 unicast


Syntax
show bgp ipv4 unicast [ network ip-address [ mask net-mask] ]
show bgp ipv4 unicast detail ip-address net-mask

Purpose
To display the BGP IPv4 unicast address family modifier information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

network ip-address IP address A.B.C.D

mask net-mask Mask address A.B.C.D

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#

The following table describes the parameters displayed in the example:

4-60

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

Information Description

Dest Specific route

Nexthop IP address of the next system that is used


when forwarding a packet to the destination
network

Metric Value of the interautonomous system metric

LocPrf Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf Local management distance of the route

Path Autonomous system paths to the destination


network

l show bgp ipv4 unicast detail


ZXAN#show bgp ipv4 unicast detail
10:00:01 received from 100.1.1.1 (1.1.1.1)
origin i,nexthop 10.1.1.1,metric 100,localpref 200,
atomic,aggr 200 10.1.1.1,originator_id 123455,
community 1123464 2355 35665
cluster_id 10.1.1.1 100.1.1.1
unknown attribute type 11 flag ff len 20 type 12
flag fe len 20
as path [100 200] <10> {65543} (65542 65544)
invalid due to import policy denied
Local
origin ?,nexthop 10.1.1.1,
10:04:00 advertised to 200.1.1.1 (2.2.2.2)
origin ?,nexthop 10.1.1.1,metric 100,localpref 200,
atomic,aggr 200 10.1.1.1,originator_id 123455,
community 1123464 2355 35665
cluster_id 10.1.1.1 100.1.1.1
unknown attribute type 11 flag ff len 20 type 12
flag fe len 20
as path [100 200] <10> {65543} (65542 65544)
10:04:01 advertised to 201.1.1.1 (2.2.2.1)
origin ?,nexthop 10.1.1.1,metric 100,localpref 200,
atomic,aggr 200 10.1.1.1,originator_id 123455,
community 1123464 2355 35665
cluster_id 10.1.1.1 100.1.1.1
unknown attribute type 11 flag ff len 20 type 12
flag fe len 20
as path [100 200] <10> {65543} (65542 65544)

4-61

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

ZXAN#

The following table describes the parameters displayed in the example:

Information Description

Dest Specific route

Nexthop IP address of the next system that is used


when forwarding a packet to the destination
network

Mertic Value of the interautonomous system metric

LocPref Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf Local management distance of the route

Path Autonomous system paths to the destination


network

Related Commands
None

4.61 show bgp ipv4 unicast dampening


dampened-paths
Syntax
show bgp ipv4 unicast dampening dampened-paths

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

ZXAN#

Related Commands
None

4.62 show bgp ipv4 unicast dampening flap-statistics


Syntax
show bgp ipv4 unicast dampening flap-statistics [ network ip network mask [ longer-prefixes] ]

Purpose
To display the flap statistics of the BGP IPv4 unicast routes

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

network ip IP address A.B.C.D

network mask Mask address A.B.C.D

longer-prefixes Displays flap statistics for more -


specific entries

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 show bgp ipv4 unicast neighbor


Syntax
show bgp ipv4 unicast neighbor [ in | out] ip-address

4-63

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Purpose
To display the BGP IPv4 unicast neighbor information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address IP address A.B.C.D

in Internal BGP route -

out External BGP route -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

0 notifications, 0 other errs


All sent 5253 messages
0 updates, 1 opens, 5252 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs,
0 ipv6 refreshs,
0 notifications
After last established sent 5251 messages
0 updates, 0 opens, 5251 keepalives
0 vpnv4 refreshs, 0 ipv4 refreshs, 0 ipv4 multicast refreshs,
0 ipv6 refreshs,
0 notifications
For address family: IPv4 Unicast
All received nlri 100, unnlri 0, 100 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295
Minimum time between advertisement runs is 30 seconds
Minimum time between origin runs is 15 seconds
For address family: IPv4 Multicast no activate
All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295
For address family: VPNv4 Unicast no activate
All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295
For address family: IPv6 Unicast no activate
All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295
Connections established 1
Local host: 168.1.70.4, Local port: 179
Foreign host: 168.1.70.111, Foreign port: 1530

ZXAN#

l show bgp ipv4 unicast neighbor in 2.2.2.1


ZXAN#show bgp ipv4 unicast neighbor in 2.2.2.1
Routes Learned From This neighbor:
status codes: *valid, >best,i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete
Dest NextHop Metric LocPrf RoutePrf Path
*>i 111.1.1.2/32 2.2.2.1 0 12345678 200 100?
*>i 111.1.1.3/32 2.2.2.1 0 12345678 200 100?

4-65

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

ZXAN#

The following table describes the parameters displayed in the example:

Information Description

Dest Specific route

Nexthop IP address of the next system that is used


when forwarding a packet to the destination
network

Metric Update message to identify the multi-attribute


export

LocPrf Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf Local management distance of the route

Path Autonomous system paths to the destination


network

l show bgp ipv4 unicast neighbor out 2.2.2.1


ZXAN#show bgp ipv4 unicast neighbor out 2.2.2.1
Routes Sent to This neighbor:
Dest NextHop Metric LocPrf RoutePrf Path
111.1.1.2/32 2.2.2.1 0 12345678 200 100?
111.1.1.3/32 2.2.2.1 0 12345678 200 100?

ZXAN#

The following table describes the parameters displayed in the example:

Information Description

Dest Specific route

Nexthop IP address of the next system that is used


when forwarding a packet to the destination
network

Mertic Update message to identify the multi-attribute


export

LocPref Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf Local management distance of the route

4-66

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

Information Description

Path Autonomous system paths to the destination


network

Related Commands
None

4.64 show bgp ipv4 unicast summary


Syntax
show bgp ipv4 unicast summary

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#

The following table describes the parameters displayed in the example:

Information Description

Neighbor Neighbor IP address

Ver BGP neighbor version number, version 4 is


supported at present

AS Neighbor AS number

4-67

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Information Description

MsgRcvd Total messages received by the neighbor, it


is reset whenever the neighbor enters the
established status

MsgSend Total messages sent by the neighbor, it is reset


whenever the neighbor enters the established
status

Up/Down Time when the neighbor is in the established


status or when it transits from the established
status. If the neighbor never enters the
established status, this time is always 0.

State Neighbor status in the BGP state-machine

Related Commands
None

4.65 show ip as-path-access-list


Syntax
show ip as-path-access-list [ access-list-number]

Purpose
To display the contents of all or specified regular expression access list(s)

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

access-list-number AS path access list number Range: 1 - 199

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

Related Commands
ip as-path access-list

4.66 show ip bgp dampened-paths


Syntax
show ip bgp dampened-paths

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

4.67 show ip bgp flap-statistics


Syntax
show ip bgp flap-statistics [ ip-address net-mask [ longer-prefixes] ]

Purpose
To display the BGP flap statistics

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address IP address A.B.C.D

4-69

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Parameter Description Value

net-mask Mask address A.B.C.D

longer-prefixes Displays flap statistics for more -


specific entries

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.

4.68 show ip bgp neighbor


Syntax
show ip bgp neighbor [ ip-address]
show ip bgp neighbor [ in | out] ip-address

Purpose
To display the BGP neighbor information

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address IP address In dotted decimal form

in Internal BGP routes -

out External BGP routes -

Mode
All modes except user mode

4-70

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

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

For address family: IPv4 Unicast


Community attribute sent to this neighbor
Route map for outgoing advertisements is setorigin
All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295
Minimum time between advertisement runs is 30 seconds
Minimum time between origin runs is 15 seconds

For address family: IPv4 Multicast no activate


All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295

4-71

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

For address family: VPNv4 Unicast no activate


All received nlri 0, unnlri 0, 0 accepted prefixes
All sent nlri 0, unnlri 0, 0 advertised prefixes
maximum limit 4294967295

Connections established 0
No tcp connection

ZXAN#

l show ip bgp neighbor in 2.2.2.1


ZXAN#show ip bgp neighbor in 2.2.2.1
Routes Learned From This neighbor:
status codes: *valid, >best,i-internal
Origin codes: i-IGP, e-EGP, ?-incomplete

Dest NextHop Metric LocPrf RoutePrf Path


*>i 111.1.1.2/32 2.2.2.1 0 12345678 200 100?
*>i 111.1.1.3/32 2.2.2.1 0 12345678 200 100?

ZXAN#

The following table describes the parameters displayed in the example:

Information Description

Dest Specific route

Nexthop IP address of the next system that is used


when forwarding a packet to the destination
network

Metric Value of the interautonomous system metric

LocPrf Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf Local management distance of the route

Path Autonomous system paths to the destination


network

l show ip bgp neighbor out 2.2.2.1


ZXAN#show ip bgp neighbor out 2.2.2.1
Routes Sent to This neighbor:

4-72

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

Dest NextHop Metric LocPrf RoutePrf Path


111.1.1.2/32 2.2.2.1 0 12345678 200 100?
111.1.1.3/32 2.2.2.1 0 12345678 200 100?

ZXAN#

The following table describes the parameters displayed in the example:

Information Description

Dest Specific route

Nexthop IP address of the next system that is used


when forwarding a packet to the destination
network

Metric Value of the interautonomous system metric

LocPref Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf Local management distance of the route

Path Autonomous system paths to the destination


network

Related Commands
None

4.69 show ip bgp protocol


Syntax
show ip bgp protocol

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

ZXAN#show ip bgp protocol


BGP router ID is 192.168.2.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

4.70 show ip bgp route


Syntax
show ip bgp route [ network ip-address [ mask net-mask] ]
show ip bgp route detail ip-address net-mask

Purpose
To display the entries in the BGP routing table

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

network ip-address IP address In dotted decimal form

mask net-mask Network mask In dotted decimal form

Mode
All modes except user mode

Example
The following example displays the entries in the BGP routing table:

4-74

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

ZXAN#show ip bgp route


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#

The following table describes the parameters displayed in the example:

Information Description

Dest Specific route

Nexthop IP address of the next system that is used when


forwarding a packet to the destination network

Metric Value of the inter-autonomous system metric

LocPrf Local preference value as set with the set


local-preference route-map configuration
command. The default value is 100.

RoutePrf Local management distance of the route

Path Autonomous system paths to the destination


network

Related Commands
None

4.71 show ip bgp summary


Syntax
show ip bgp summary

Purpose
To display the status of all BGP connections

Usage Guidelines
None

4-75

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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#

The following table describes the parameters displayed in the example:

Information Description

Neighbor Neighbor IP address

Ver BGP neighbor version number, version 4 is


supported at present

AS Neighbor AS number

MsgRcvd Total messages received by the neighbor, it


is reset whenever the neighbor enters the
established status

MsgSend Total messages sent by the neighbor, it is reset


whenever the neighbor enters the established
status

Up/Down Time when the neighbor is in the established


status or when it transits from the established
status. If the neighbor never enters the
established status, this time is always 0.

State Neighbor status in the BGP state-machine

Related Commands
None

4.72 show ip community-list


Syntax
show ip community-list [ community-list-number]

4-76

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

Purpose
To display the configured community lists

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

community-list-number Community list number Range: 1 - 99

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.

4.73 show ip prefix-list


Syntax
show ip prefix-list [ summary | detail] [ prefix-list-name]

Purpose
To display the IP prefix list

Usage Guidelines
The following table provides parameter description:

4-77

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Parameter Description Value

prefix-list-name Prefix list name Range: 1 - 16 characters

summary Summarized information -

detail Detailed information -

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

4.74 timers bgp


Syntax
timers bgp keepalive holdtime
no timers bgp

Purpose
To adjust the BGP network timers

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

keepalive Frequency (in seconds) with Range: 0 - 65535 sec


which the software sends Default: 60 sec
keepalive messages to its peer

4-78

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 4 BGP Protocol Commands

Parameter Description Value

holdtime Interval (in seconds) after not Range: 3 - 65535 sec


receiving a keepalive message Default: 180 sec
that the software declares a
peer dead

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

This page intentionally left blank.

4-80

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5
IS-IS Protocol Commands
Table of Contents
router isis ...................................................................................................................5-1
address-family............................................................................................................5-2
area ...........................................................................................................................5-3
authentication.............................................................................................................5-4
authentication-type .....................................................................................................5-5
default-information originate .......................................................................................5-6
disable .......................................................................................................................5-7
disable-snp-authentication..........................................................................................5-8
distance .....................................................................................................................5-8
enable ........................................................................................................................5-9
enable-snp-authentication ........................................................................................5-10
hello padding............................................................................................................5-10
ignore-lsp-errors.......................................................................................................5-11
is-type ......................................................................................................................5-12
lsp-mtu .....................................................................................................................5-13
lsp-refresh-time ........................................................................................................5-13
max-lsp-lifetime ........................................................................................................5-14
maximum-paths........................................................................................................5-15
metric-style...............................................................................................................5-16
redistribute ...............................................................................................................5-17
restart.......................................................................................................................5-18
set-overload-bit ........................................................................................................5-19
show isis adjacency..................................................................................................5-20
show isis circuits ......................................................................................................5-21
show isis database ...................................................................................................5-23
show isis nsf.............................................................................................................5-25
show isis topology ....................................................................................................5-26
spf-interval ...............................................................................................................5-27
summary-address ....................................................................................................5-28
system-id..................................................................................................................5-30

5.1 router isis


Syntax
router isis

5-1

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

ipv6 IPv6 address family -

Mode
ZXAN(config-router)#

5-2

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

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:

Parameter Description Value

area-address Area address Range: 1 - 13


Hexadecimal string

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

key Password Range: 1 - 180 characters

level-1 Level-1 authentication -

level-2 Level-2 authentication -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

SNP packets will be samely authenticated after this configuration.

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:

Parameter Description Value

MD5 MD5 encryption authentication -

TEXT TEXT simple password -


authentication

level-1 Authentication for Level 1 -


packets only

level-2 Authentication for Level 2 -


packets only

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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.

5.6 default-information originate


Syntax
default-information originate [ always] [ metric metric-value] [ metric-type type] [ level-1 |
level-1-2 | level-2]
no default-information originate

Purpose
To configure the advertisement methods of a default route

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

always Always notify default route -

metric metric-value Metric value for default route Range: 0 - 4261412864

metric-type type IS-IS exterior metric type for Keywords: external, internal
default route Default: internal

level-1 IS-IS level-1 default route only -

level-1-2 IS-IS level-1 and level-2 default -


route

level-2 IS-IS level-2 default route only -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

distance Administrative distance Range: 1 - 255


assigned to IS-IS routes Default: 115

5-8

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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

5.12 hello padding


Syntax
hello padding [ multi-point | point-to-point]
no hello padding

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:

Parameter Description Value

multi-point Pad multi-point hello PDUs to -


1497 bytes

5-10

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

Parameter Description Value

point-to-point Pad point-to-point hello PDUs -


to 1499 bytes

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

level-1 Router performs only Level 1 -


(intra-area) routing

level-1-2 Router performs both Level 1 -


and Level 2 routing

level-2-only Routing process acts as a Level -


2 (inter-area) router only

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

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:

Parameter Description Value

number LSP MTU number Range: 512 - 1497

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

time LSP refresh time Range: 1 - 65535 sec


Default: 900 sec

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:

Parameter Description Value

time Maximum LSP lifetime Range: 1 - 65535 sec


Default: 1200 sec

5-14

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

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:

Parameter Description Value

parallel-routes Maximum number of parallel Range: 1 - 8


routes that IS-IS can install in a default: 1
routing table

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

narrow Use old style with narrow metric

wide Use new style to carry wider -


metric

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

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:

Parameter Description Value

protocol Source routing protocol for route Keywords: bgp, connect, OSPF,
redistribution rip, static

level-1 Redistributes routes for Level 1 -


independently

level-1-2 Redistributes routes for Level 1 -


or Level 2 independently

level-2 Redistributes routes for Level 2 -


independently

metric metric-value Specifies a metric value to Range: 0 - 4261412864


assign to the routes

metric-type type Metric type for redistributed Type: external, internal


l internal: If IS-IS metric is <
63
l external: If IS-IS metric is >
64 < 4261412864
Default: internal

route-map map-tag Route map reference -

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

ZXAN(config-router)#redistribute bgp level-1


ZXAN(config-router)#redistribute bgp level-2
ZXAN(config-router)#redistribute bgp level-1 metric 20
ZXAN(config-router)#redistribute bgp level-1 metric 20 metric-type
internal
ZXAN(config-router)#redistribute ospf level-1 metric 20
ZXAN(config-router)#

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:

Parameter Description Value

enable Enable IS-IS graceful restart -

t2-timer interval Set restart T2 timer interval Range: 5 - 65535 sec


Default: 60 sec

level-1 IS-IS level-1 route -

level-2 IS-IS level-2 route -

t3-timer adjacency Set restart T3 interval from -


adjacency

t3-timer manual interval Set restart T3 interval from Range: 1 - 65535 sec
manual

Mode
ZXAN(config-router)#

5-18

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

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:

Parameter Description Value

on-start-up Set overload (OL) bit only -


temporarily after reboot

time Time in seconds to unset OL bit Range: 5 - 86400 sec


after reboot

auto time Waiting for IS-IS database Range: 5 - 86400 sec


synchronization

wait-for-bgp time Sets the overload bit on startup Range: 5 - 86400 sec
until the BGP signals converge,
or time out

suppress Suppress types after OL bit -


configuration

all Both interlevel and external -

5-19

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Parameter Description Value

external IP prefixes learned from other -


protocols

interlevel IP prefixes learned from another -


IS-IS level

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.

5.23 show isis adjacency


Syntax
show isis adjacency [ level-1 | level-2]

Purpose
To display IS-IS adjacencies

Usage Guidelines
The following table provides parameter description:

5-20

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

Parameter Description Value

level-1 Level-1 adjacencies -

level-2 Level-2 adjacencies -

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#

The following table describes the parameters displayed in the example:

Parameter Description

Interface Interface over which to reach the neighbor

System id The neighbor ID in the xxxx.xxxx.xxxx format

State Including two formats: “UP" or “INIT”

Lev Including three formats: “L1” “L2” or “L1L2”

Holds Hold time

SNPA(802.2) The neighbor port address in the SNPA type


xx.xx.xx.xx.xx.xx format.

Pri Election DIS priority

Related Commands
None

5.24 show isis circuits


Syntax
show isis circuits [ detail]

Purpose
To display the current IS-IS port information

5-21

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

detail Detailed circuits information -

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#

The following table describes the parameters displayed in the example:

Parameter Description

Interface The name of the port

State If the port is configured with the IS-IS protocol


and started, it should be “Up” Otherwise, it should
be “Down”

Lev Level of the port, including “L1” “L2” and “L1L2”

CirId ID of this port

Level1-DR Level1 specified router of the port, including the


four formats: “xxxx.xxxx.xxxx.xx” “No found”
“Disabled”, “Dis is me” and “Point to point”

Level2-DR Level2 specified router of the port, including the


four formats: “xxxx.xxxx.xxxx.xx” “No found”
“Disabled”, “Dis is me” and “Point to point”

Pri(L1/L2) Priority of the L1/L2 set on the port

Related Commands
None

5-22

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

5.25 show isis database


Syntax
show isis database [ level-1 | level-2] [ detail]

Purpose
To display the IS-IS link-state databases

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

detail Detailed link state database -


information

level-1 IS-IS level-1 routing link state -


database

level-2 IS-IS level-2 routing link state -


database

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#

The following table describes the parameters displayed in the example:

5-23

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Parameter Description

LSPID LSP identifier, displayed in the


xxxx.xxxx.xxxx.xx-xx format

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

LSP Checksum Checksum of the entire LSP packet, displayed


in the 0xdddd format

LSP Holdtime Amount of time the LSP remains valid (in


seconds)

ATT/P/OL The ATT (external area connected or not) flag


bit/subarea flag bit/overload flag bit

l show isis database detail


ZXAN#show isis database detail
IS-IS Level-1 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
NLPID:0xcc
Area Address:00.0001
Metric 10 IS neighbor 1223.2232.1111-01
Metric 10 IS neighbor 1001.AC32.11D1-02
3421.68AC.0010-00-00 0x00000022 0x34E3 1078 0/0/0
NLPID:0xcc
Area Address:00.0001
Metric 10 IS neighbor 1223.0755.1111-01
Metric 10 IS neighbor 1001.AC32.0063-02

IS-IS Level-2 Link State Database:


LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
1921.6800.5080-00-00 0x00000022 0x34E3 1078 0/0/0
NLPID:0xcc
Area Address:00.0001
Metric 10 IS neighbor 1223.2232.1111-01
Metric 10 IS neighbor 1001.AC32.11D1-02
3421.68AC.0010-00-00 0x00000022 0x34E3 1078 0/0/0
NLPID:0xcc
Area Address:00.0001
Metric 10 IS neighbor 1223.0755.1111-01
Metric 10 IS neighbor 1001.AC32.0063-02

ZXAN#

5-24

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

The following table describes the parameters displayed in the example:

Parameter Description

IS neighbor The neighbor IS

IP-Internal/IP-External A reachable IP address

Area Address Reachable area addresses from the router

NLPID Protocols supported

Hostname Host name

Ip address The port IP address

Inter-Domain Info The inter-domain information (tag)

Authentication type The authentication information

Related Commands
None

5.26 show isis nsf


Syntax
show isis nsf

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

NSF L2 T2 remaining: 20 seconds


NSF T3 using Adjacency
NSF T3 remaining: 10 seconds

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

5.27 show isis topology


Syntax
show isis topology [ level-1 | level-2]

Purpose
To display the IS-IS routers’ topological structure

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

level-1 Displays the IS-IS link-state -


topology for Level 1

level-2 Displays the IS-IS link-state -


topology for Level 2

Mode
All modes except user mode

Example
The following example displays a list of connected IS-IS routers in all areas:

5-26

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

ZXAN#show isis topology


IS-IS paths to level-1 routers
System id Metric Next-Hop Interface SNPA
0000.0000.0002 10 0000.0000.0002 gei_1/5/1 0000.0c03.6bc5
0000.0000.0005 --
0000.0000.0053 10 0000.0000.0053 gei_1/5/1 0060.3e58.ccde

ZXAN#

The following table describes the parameters displayed in the example:

Parameter Description

System id System ID of the target IS

Metric Metric assigned to the link and used to calculate


the cost from each networking device via the links
in the network to other destinations

Next-Hop Next hop address

Interface Interface over which to reach the neighbor.

SNPA Data-link address (also known as the Subnetwork


Point of Attachment (SNPA)) of the neighbor

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

interval Interval between consecutive Range: 1 - 120 sec


SPFs Default: 3 sec

level-1 Enables the SPF interval -


configuration for Level 1

level-2 Enables the SPF interval -


configuration for Level 2

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

Usage Guidelines
The following table provides parameter description:

Parameter Description Value

ip-address IP address summary in the A.B.C.D


dotted decimal format

net-mask Mask summary in the dotted A.B.C.D


decimal format

metric metric-value Metric for summary routes Range: 0 - 4261412864

level-1 Only routes redistributed into -


Level 1 are summarized with the
configured address and mask
value

level-1-2 Summary routes are applied -


when redistributing routes into
Level 1 and Level 2 IS-IS, and
when Level 2 IS-IS advertises
Level 1 routes as reachable in
its area

level-2 Routes learned by Level 1 -


routing are summarized into
the Level 2 backbone with the
configured address and mask
value

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

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:

Parameter Description Value

system-id System ID with 6 bytes of a hex xxxx.xxxx.xxxx


string

range range-number System ID range Range: 0 - 32

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

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Chapter 5 IS-IS Protocol Commands

Related Commands
None

5-31

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


ZXA10 C220 Command Reference (Volume V)

This page intentionally left blank.

5-32

SJ-20101126132257-015|2010-12-30(R1.1) ZTE Proprietary and Confidential


Glossary
ABR
- Area Border Router
AS
- Application Server
AS
- Autonomous System
ASBR
- Autonomous System Boundary Router
BDR
- Backup Designate Router
BGP
- Border Gateway Protocol
CE
- Channel Element
DR
- Designate Router

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

You might also like