Vous êtes sur la page 1sur 117

ZXR10

Router/Ethernet Switch
Command Manual (MPLS Volume)

Version 4.8.22

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

Copyright © 2006 ZTE CORPORATION.

The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution of
this document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPO-
RATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations.

All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE CORPORATION
or of their respective owners.

This document is provided “as is”, and all express, implied, or statutory warranties, representations or conditions are dis-
claimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose, title or non-in-
fringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the use of or reliance on the
information contained herein.

ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subject
matter of this document. Except as expressly provided in any written license between ZTE CORPORATION and its licensee,
the user of this document shall not acquire any license to the subject matter herein.

ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.

Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.

The ultimate right to interpret this product resides in ZTE CORPORATION.

Revision History

Revision No. Revision Date Revision Reason


R1.0 Dec. 28, 2008 First Edition

Serial Number: sjzl20086538


About This Manual.............................................. i
Command Introduction .....................................1
Manual Use Guide........................................................... 1
Description of Man-Machine Commands ............................. 1
Auxiliary Function ........................................................... 2
Command Mode ............................................................. 3
MPLS LDP Configuration ....................................7
clear mpls ldp ................................................................ 8
clear mpls ldp dampening ................................................ 8
clear mpls ldp flap .......................................................... 9
mpls ip (Global Configuration) .......................................... 9
mpls ip(Interface Configuration) ......................................10
mpls label range............................................................10
mpls ldp access-fec........................................................11
mpls ldp advertise-labels ................................................12
mpls ldp advertise-labels old-style ...................................14
mpls ldp backoff ............................................................15
mpls ldp bfd .................................................................16
mpls ldp dampening.......................................................16
mpls ldp dampening-acl .................................................17
mpls ldp discovery hello .................................................18
mpls ldp discovery targeted-hello ....................................19
mpls ldp discovery transport-address ...............................19
mpls ldp egress .............................................................21
mpls ldp enable connect-with-dod....................................22
mpls ldp explicit-null ......................................................22
mpls ldp graceful-restart ................................................23
mpls ldp holdtime ..........................................................24
mpls ldp neighbor password............................................25
mpls ldp request-labels ..................................................25
mpls ldp router-id..........................................................26
mpls ldp style ...............................................................27
mpls ldp target-session ..................................................28
mpls xconnect...............................................................28
show mpls forwarding-table ............................................29
show mpls l2transport binding.........................................30
show mpls l2transport vc................................................31
show mpls label range....................................................33
show mpls ldp backoff ....................................................33
show mpls ldp bindings ..................................................34
show mpls ldp dampening summary.................................36
show mpls ldp flap-statistics summary .............................37
show mpls ldp discovery .................................................38
show mpls interface .......................................................39
show mpls ldp neighbor..................................................39
show mpls ldp graceful-restart ........................................41
show mpls ldp parameters ..............................................42
MPLS BGP VPN Configuration .......................... 43
description ...................................................................43
export map...................................................................44
import map ..................................................................44
ip vrf ...........................................................................45
ip vrf forwarding............................................................45
maximum routes ...........................................................46
monitor session.............................................................46
monitor session destination.............................................47
monitor session source...................................................47
rd................................................................................47
route-target..................................................................48
show ip protocol routing vrf ............................................48
show ip protocol routing vrf-summary ..............................49
show ip route mng.........................................................49
show ip route vpn..........................................................49
show ip route vrf ...........................................................50
show ip route vrf-summary .............................................50
show ip vrf ...................................................................50
show monitor session.....................................................51
tunnel checksum ...........................................................51
tunnel destination..........................................................52
tunnel key ....................................................................52
tunnel mode .................................................................52
tunnel sequence ............................................................53
tunnel source ................................................................53
VPLS Configuration.......................................... 55
clear flowstat vpls..........................................................55
clear flowstat vpws ........................................................56
clear mac-table vfi.........................................................56
peer ............................................................................57
pwtype.........................................................................58
show mac-filter .............................................................59
show mac-table.............................................................59
show mpls l2transport vc vpls .........................................60
show mpls l2transport vpn summary ................................62
show vfi .......................................................................62
show vfi brief ................................................................63
stp-tunnel enable ..........................................................64
vcid .............................................................................64
vpls apply-mac-filter ......................................................65
vfi ...............................................................................66
vfi mspw ......................................................................66
vpls mac-filter...............................................................67
vlan range ....................................................................68
xconnect vfi ..................................................................68
MPLS Traffic Engineering Configuration........... 69
clear ip rsvp authentication .............................................70
ip explicit-path ..............................................................70
ip rsvp authentication ....................................................71
ip rsvp authentication challenge ......................................71
ip rsvp authentication challenge-imp ................................72
ip rsvp authentication lifetime .........................................72
ip rsvp authentication key passphrase ..............................73
ip rsvp authentication type .............................................73
ip rsvp authentication window-size...................................74
ip rsvp bandwidth ..........................................................74
ip rsvp bfd ....................................................................75
ip rsvp signalling hello graceful-restart .............................76
ip rsvp signalling hello graceful-restart refresh
interval ................................................................76
ip rsvp signalling hello graceful-restart refresh misses .........77
ip rsvp signalling hello graceful-restart timers
recovery-time .......................................................77
ip rsvp signalling hello graceful-restart timers
restart-time ..........................................................78
ip rsvp signalling refresh interval .....................................78
ip rsvp signalling refresh misses ......................................79
mpls oam(Global Configuration) ......................................79
mpls oam(Interface Configuration)...................................80
mpls static tunnel ..........................................................80
mpls traffic-eng ds-te.....................................................81
mpls traffic-eng ds-te bc-mode........................................81
mpls traffic-eng ds-te exp-maps ......................................82
mpls traffic-eng ds-te te-class .........................................82
mpls traffic-eng signaling advertise implicit-null.................83
mpls traffic-eng tunnels(Global Configuration) ...................84
mpls traffic-eng tunnels(Interface Configuration) ...............84
show ip rsvp authentication ............................................85
show ip explicit-path ......................................................86
show ip rsvp hello graceful-restart ...................................87
show ip rsvp refresh parameter .......................................87
show mpls traffic-eng autoroute ......................................88
show mpls traffic-eng ds-te exp-map ...............................88
show mpls traffic-eng ds-te te-class .................................89
show mpls traffic-eng interface detail ...............................90
show mpls traffic-eng tunnels..........................................91
show mpls traffic-eng tunnels remote-tunnel.....................93
tunnel mpls oam back-up-lsp tunnel ................................94
tunnel mpls oam tunnelid ...............................................94
tunnel mpls oam type ....................................................95
tunnel mpls traffic-eng autoroute announce ......................95
tunnel mpls traffic-eng autoroute metric ...........................96
tunnel mpls traffic-eng bandwidth....................................97
tunnel mpls traffic-eng bfd..............................................97
tunnel mpls traffic-eng class-type ....................................98
tunnel mpls traffic-eng path-option ..................................98
tunnel mpls traffic-eng record-route.................................99
tunnel mpls traffic-eng tunnels priority ........................... 100
tunnel static ingress..................................................... 100
FRR Configuration ......................................... 103
ip rsvp signalling hello.................................................. 103
ip rsvp signalling hello refresh interval............................ 103
ip rsvp signalling hello refresh misses............................. 104
mpls traffic-eng backup_tunnel ..................................... 104
show ip backup route ................................................... 105
show ip rsvp hello instance detail................................... 105
show ip rsvp hello instance summary ............................. 106
show mpls traffic-eng fast-reroute ................................. 107
show mpls traffic-eng interface...................................... 108
tunnel mpls traffic-eng fast-reroute................................ 109
About This Manual

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

Chapter 1, Command This describes the use method of the


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

Chapter 2, MPLS LDP Describes how to configure MPLS route


Configuration switching and show commands, including
the MPLS and tunnel configuration
commands.

Chapter 3, MPLS VPN Describes how to configure MPLS VPN and


Configuration show commands.

Chapter 4, VPLS Describes how to configure VPLS and show


Configuration commands.

Chapter 5, MPLS Describes how to configure MPLS traffic


Traffic Engineering engineering and show commands.
Configuration

Chapter 6, FRR Describes how to configure FRR and show


Configuration commands.

Related The following documentation is related to this manual:


Documentation
� ZXR10 Router/Ethernet Switch Command Manual (Command
Index Volume)
� ZXR10 Router/Ethernet Switch Command Manual (Ethernet
Switch Volume)
� ZXR10 Router/Ethernet Switch Command Manual (Basic Con-
figuration Volume I)
� ZXR10 Router/Ethernet Switch Command Manual (Basic Con-
figuration Volume II)
� ZXR10 Router/Ethernet Switch Command Manual (Basic Con-
figuration Volume III)
� ZXR10 Router/Ethernet Switch Command Manual (Remote Ac-
cess Volume)
� ZXR10 Router/Ethernet Switch Command Manual (IPv4 Rout-
ing Volume I)
� ZXR10 Router/Ethernet Switch Command Manual (IPv4 Rout-
ing Volume II)

Confidential and Proprietary Information of ZTE CORPORATION i


ZXR10 Command Manual (MPLS Volume)

� ZXR10 Router/Ethernet Switch Command Manual (QoS Vol-


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

ii Confidential and Proprietary Information of ZTE CORPORATION


Chapter 1

Command Introduction

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

Manual Use Guide


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

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

Confidential and Proprietary Information of ZTE CORPORATION 1


ZXR10 Command Manual (MPLS Volume)

different parameter ranges or default values, an additional


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

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

2 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 1 Command Introduction

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


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

Command Function

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


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

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


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

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


latest commands input in this mode.

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

Mode Prompt Admis- Entry Functions


sion Command
Mode

Exec ZXR10> enters directly Views simple


mode after logging information
the system

Privi- ZXR10# Exec enable Configures


leged mode system
mode parameters

Global ZXR10(config)# Privi- configure Configures


config- leged terminal global service
uration mode parameters
mode

Confidential and Proprietary Information of ZTE CORPORATION 3


ZXR10 Command Manual (MPLS Volume)

Mode Prompt Admis- Entry Functions


sion Command
Mode

Inter- ZXR10(config- Global interface Configures


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

Subin- ZXR10 (config- Global interface Configures


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

VLAN ZXR10(vlan- Privi- vlan datab Creates or


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

VLAN ZXR10(config- Global vlan Configures


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

MSTP ZXR10(config- Global spanning-t Configures


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

Basic ZXR10(config- Global acl basic Defines basic


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

Ex- ZXR10(config- Global acl extend Defines


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

Line ZXR10(config- Global line console Configures


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

Layer ZXR10(config- Global acl link Defines layer


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

4 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 1 Command Introduction

Mode Prompt Admis- Entry Functions


sion Command
Mode

Hybrid ZXR10(config- Global acl hybrid Defines hybrid


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

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


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

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


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

Route ZXR10(config- Global router rip Configures


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

router isis Configures


IS-IS
parameters

router bgp Configures


BGP
parameters

router Configures
pimsm PIM-SM
parameters

ipv6 router Configures


rip RIPng
parameters.

ipv6 router Configures


ospf OSPFv3
parameters

VRF ZXR10(config- Global ip vrf Configures


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

VFI con- ZXR10(config- Global vfi Configures


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

Confidential and Proprietary Information of ZTE CORPORATION 5


ZXR10 Command Manual (MPLS Volume)

Mode Prompt Admis- Entry Functions


sion Command
Mode

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


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

IPv6 ZXR10(config- Route address-fam Configures


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

Route ZXR10(config- Global route-map Configures


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

Channe- ZXR10(config- Global control Configures


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

Dial ZXR10(config- Global dial-peer Configures


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

Voice ZXR10(config- Global voice-port Configures


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

IPSec ZXR10(config- Global ipsec Configures


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

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


sis mode leged and memory
mode usage

6 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2

MPLS LDP Configuration

Table of Contents
clear mpls ldp .................................................................... 8
clear mpls ldp dampening .................................................... 8
clear mpls ldp flap .............................................................. 9
mpls ip (Global Configuration) .............................................. 9
mpls ip(Interface Configuration) ..........................................10
mpls label range................................................................10
mpls ldp access-fec............................................................11
mpls ldp advertise-labels ....................................................12
mpls ldp advertise-labels old-style .......................................14
mpls ldp backoff ................................................................15
mpls ldp bfd .....................................................................16
mpls ldp dampening ..........................................................16
mpls ldp dampening-acl .....................................................17
mpls ldp discovery hello .....................................................18
mpls ldp discovery targeted-hello ........................................19
mpls ldp discovery transport-address ...................................19
mpls ldp egress .................................................................21
mpls ldp enable connect-with-dod........................................22
mpls ldp explicit-null ..........................................................22
mpls ldp graceful-restart ....................................................23
mpls ldp holdtime ..............................................................24
mpls ldp neighbor password................................................25
mpls ldp request-labels ......................................................25
mpls ldp router-id..............................................................26
mpls ldp style ...................................................................27
mpls ldp target-session ......................................................28
mpls xconnect...................................................................28
show mpls forwarding-table ................................................29
show mpls l2transport binding.............................................30
show mpls l2transport vc....................................................31
show mpls label range........................................................33
show mpls ldp backoff........................................................33
show mpls ldp bindings ......................................................34
show mpls ldp dampening summary.....................................36
show mpls ldp flap-statistics summary .................................37
show mpls ldp discovery.....................................................38
show mpls interface ...........................................................39
show mpls ldp neighbor......................................................39
show mpls ldp graceful-restart ............................................41
show mpls ldp parameters ..................................................42

Confidential and Proprietary Information of ZTE CORPORATION 7


ZXR10 Command Manual (MPLS Volume)

clear mpls ldp


Purpose Use this command to reset the LDP router or its connection with
some neighbor.
Command Modes Privileged EXEC
Syntax clear mpls ldp [neighbor <ip-address>]
Syntax
Description
neighbor <ip-addre IP address of the neighbor, in the dotted
ss> decimal format

Instructions After this command is configured, the router is reset and inter-
rupted, and all LDP sessions are reestablished. The recheck of the
access-fec and egress policies, advertisement and request policies,
and the explicit pop-up label advertisement policy is performed on
all FECS. The resetting of the session with the designated neigh-
bor means the interruption and the reestablishment of the LDP
session with this neighbor only. The recheck is only performed on
the policy related with this neighbor (advertisement, request, and
exp-null policies).
Example � This example describes how to reset LDP.
ZXR10#clear mpls ldp

� This example describes how to reset the session with the LSR
whose router ID is 100.1.1.1.
ZXR10#clear mpls ldp neighbor 100.1.1.1

clear mpls ldp dampening


Purpose Use this command to clear LDP routes dampening and unsuppress
the suppressed routes.
Command Modes Privileged EXEC
Syntax clear mpls ldp dampening [<ip-address><net-mask>]
Syntax
Description
<ip-address> The network IP address relates to clear damp
information, in the dotted decimal notation

<net-mask> Network mask, in the dotted decimal notation

Instructions After this command is configured, the router will clear and reset
LDP dampening information already generated, and the router will
unsuppress the suppressed LSP; the router will reset flapping sup-
press information of some specified LSP, and only the dampening
information of this LSP will be cleared. If this LSP is suppressed,
the router will unsuppress it.
Example � This example describes how to reset LDP dampening informa-
tion.
ZXR10#clear mpls ldp dampening

8 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

� This example describes how to reset dampening information of


a LSP.
ZXR10#clear mpls ldp dampening

clear mpls ldp flap


Purpose Use this command to clear the flapping statistic information of LDP
routers.
Command Modes Privileged EXEC
Syntax clear mpls ldp flap [<ip-address><net-mask>]
Syntax
Description
<ip-address> Network IP address, in the dotted decimal
format

<net-mask> Network mask, in the dotted decimal format

Instructions After this command is configured, the router will clear the count of
the flapping of LDP entities where flapping has already occurred ,
and the router will reset the count of the flapping of some specified
LSP; only the count of the flapping of this LSP is cleared and reset
and it will be recounted from 0.
Example � This example describes how to rest LDP flapping statistic infor-
mation.
ZXR10#clear mpls ldp flap

� This example describes how to reset the flapping statistic in-


formation of a LSP.
ZXR10#clear mpls ldp flap 100.1.1.1 32

mpls ip (Global
Configuration)
Purpose Use this command to enable LDP to establish an LSP along a com-
mon hop-by-hop routing path. Disable LDP with the no form of
this command.
Command Modes Global configuration
Syntax mpls ip
no mpls ip
Defaults LDP is disabled by default.
Instructions � his command enables LDP to establish an LSP along a common
hop-by-hop routing path. In addition, it is necessary to enable
LDP on the interface to realize dynamic label switching on the
interface.

Confidential and Proprietary Information of ZTE CORPORATION 9


ZXR10 Command Manual (MPLS Volume)

� Use the no form of this command to disable LDP to establish


an LSP along a common hop-by-hop routing path no matter
whether LDP is enabled on the interface or not.

mpls ip(Interface
Configuration)
Purpose Use this command to enable LDP label switching on the interface.
Disable LDP label switching with the no form of this command.
Command Modes Interface configuration
Syntax mpls ip
no mpls ip
Defaults This command is disabled by default.
Instructions � This command enables LDP to exchange labels on the interface
of layer 3. Once the command is configured, LSR starts to pe-
riodically send hello messages on the interface. When packets
to the destination network obtain the outgoing label to some
destination network, the outgoing label will be added into the
packets and the packets will be forwarded from this interface.
Note that this command will take effect only after mpls ip is
configured in global configuration mode.
� The no form of this command make packets routed from this
interface no more carry labels and cease the label switching on
the interface.
Example This example describes how to enable LDP on the interface fei_1/1.
ZXR10(config)#mpls ip
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#mpls ip

Related show mpls interface


Commands
show mpls ldp discovery

mpls label range


Purpose Use this command to configure a label range for LDP. Restore de-
fault with the no form of this command.
Command Modes Global configuration
Syntax mpls label range <min-label><max-label>
no mpls label range
Syntax
Description
<min-label> Minimal available label, range: 16~1048575

<max-label> Maximal available label, range: 16~1048575

10 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

Example This example describes how to set the label range as 1000~10000.
ZXR10(config)#mpls label range 1000 10000

Related show mpls label range


Commands

mpls ldp access-fec


Purpose Use this command to control LDP’s creation of FEC for which des-
tination networks and make sure whether FEC can be created for
routing networks obtained by BGP; this command controls FEC
filter policy. To disable this feature, use the no form of this com-
mand.
Command Modes Global configuration
Syntax mpls ldp access-fec {for <prefix-access-list>| host-route-o
nly | bgp | force}
no mpls ldp access-fec [bgp]
Syntax
Description
for <prefix-access-li Destination network to be filtered, basic ACL:
st> 1~99 and 1000~1499

host-route-only Creates FEC only for the destination network


(host address) with 32-bit mask

bgp Creates FEC for the specified route network


obtained from BGP

force Takes effect immediatedly

Defaults LDP creates FEC for all destination networks except the route net-
works obtained by BGP.
Instructions � By default, LDP creates FEC for all destination networks except
the route networks obtained by BGP. However, the number of
networks may be so large that it needs to filter the network for
which FEC need not be created ; or the network administrator
wants to control the creation of FEC , that is, FEC is created
only for the authorized network. This command can realize
such functions.
� The mpls ldp access-fec for <prefix-access-list> command
can make filter be based on access list. FEC can be created
for all destination addresses allowed by the access list. Only
standard ACL is supported now.
� The mpls ldp access-fec host-route-only command make
FEC be created only for the destination address with 32-bit
mask. The mpls ldp access-fec host-route-only command
is especially valid in the MPLS/BGP VPN application, because
under such application, LDP only exchanges the label of the
next-hop address (that is, the outer label, the label to the PE)
of VPN routes. The mpls ldp access-fec host-route-only
command can effectively decrease the number of FECs.
� This command does not collide with the above two policies.
By default, FEC is not created for route networks obtained by

Confidential and Proprietary Information of ZTE CORPORATION 11


ZXR10 Command Manual (MPLS Volume)

BGP. This command can make FEC also be created for route
networks obtained by BGP.
� Use the mpls ldp access-fec command to configure policy but
it does not take effect immediately. But The mpls ldp acce
ss-fec force command makes the configuration take effect
immediately.

Tip:
mpls ldp access-fec for <prefix-access-list> and mpls ldp acce
ss-fec host-route-only are mutually exclusive. Thus the network
administrator can choose only one control policy at any time.

Example 1. This example describes how to configure the router to create


FEC only for the destination address with 32-bit mask:
ZXR10(config)#mpls ldp access-fec host-route-only

2. This example describes how to configure the router to create


the labels of networks 10.101.0.0 and 10.221.0.0 only and
they act immediately.
ZXR10(config)#ip access-list standard 10
ZXR10(config-std-nacl)#permit 10.101.0.0 0.0.255.255
ZXR10(config-std-nacl)#permit 10.221.0.0 0.0.255.255
ZXR10(config-std-nacl)#exit
ZXR10(config)#mpls ldp access-fec for 10

3. This example describes how to configure the router to create


FEC for route networks obtained by BGP.
ZXR10(config)#mpls ldp access-fec bgp

Related show mpls ldp binding


Commands
show running-config

mpls ldp advertise-labels


Purpose Use this command to control the distribution of locally assigned la-
bels (incoming labels) through LDP. This command controls which
destination network segment labels are advertised to which neigh-
bors. To disable this feature, use the no form of this command.
Command Modes Global configuration
Syntax mpls ldp advertise-labels [for <prefix-access-list>[to <peer-a
ccess-list>]]
no mpls ldp advertise-labels [for <prefix-access-list>[to <pee
r-access-list>]]
Syntax
Description
for <prefix-access-li Destination network label to be advertised,
st> basic ACL: 1~99 and 1000~1499

to <peer-access-list> Advertises which labels to which neighbors,


basic ACL: 1~99 and 1000~1499

12 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

Defaults All labels are advertised to all neighbors by default.


Instructions The no mpls ldp advertise-labels command without any op-
tional parameter forbids the distribution of any locally assigned
labels. To restore the distribution of all locally assigned labels, use
the mpls ldp advertise-labels command without any optional
parameter. Only standard ACL is supported now.
Up to 99 mpls ldp advertise-labels commands can be executed,
those commands work together to determine how LSR advertises
local labels. In the case that multiple commands are configured,
the following rules should be followed:
1. Each mpls ldp advertise-labels command has a (prefix acl,
peer acl) pair. The access list pair is (none, none) when no op-
tional parameter is specified; and it is (prefix-acl, none) when
the optional parameter is specified but without the keyword
no.
2. There is only one (prefix acl, peer acl) pair “applied to” each
prefix in accordance with the following rules:
i. One (prefix acl, peer acl) pair “applies to” one prefix only
when prefix acl “matches” the prefix, and the match con-
dition is that prefix acl permits the prefix.
ii. In the case that there is more than one (prefix acl, peer
acl) pair “matching” a prefix; the first (prefix acl, peer acl)
pair “applies to” the prefix (in the sequence configured in
show running-config).
3. When LSR is to advertise a prefix label, it executes the following
operations:
i. Finds the (prefix acl, peer acl) pair “applied to” the prefix.
ii. In the case that there is no (prefix acl, peer acl) pair
“applied to” the prefix, the label is not advertised to any
neighbor if the no mpls ldp advertise-labels command
is executed; otherwise, the label is advertised to all neigh-
bors.
iii. In the case that one (prefix acl, peer acl) pair “applied to”
the prefix, the label is not advertised to any neighbor if
prefix acl denies the prefix.
iv. If prefix acl permits the prefix and there is no peer acl
(namely none), the label is advertised to all neighbors.
v. If prefix acl permits the prefix and there is one peer acl, the
label is advertised to all neighbors permitted by peer acl.

Tip:
This command takes effect immediately after its configuration.
The command can be configured only when the network in sta-
ble status. Otherwidse, it could not take effect immediately. Do
not use this command frequently.

Example 1. This example describes how to forbid the router from advertis-
ing any label to any neighbor.
ZXR10(config)#no mpls ldp advertise-labels

Confidential and Proprietary Information of ZTE CORPORATION 13


ZXR10 Command Manual (MPLS Volume)

2. This example describes how to make the router advertise labels


of networks 10.101.0.0 and 10.221.0.0 to all neighbors.
ZXR10(config)#ip access-list standard 10
ZXR10(config-std-nacl)#permit 10.101.0.0 0.0.255.255
ZXR10(config-std-nacl)#permit 10.221.0.0 0.0.255.255
ZXR10(config-std-nacl)#exit
ZXR10(config)#mpls ldp advertise-labels for 10
ZXR10(config)#no mpls ldp advertise-labels

3. This example describes how to make the router advertise


the 59.0.0.0 label to LSR 155.0.0.55 only and advertise the
35.0.0.0 label to LSR 133.0.0.33 only.
ZXR10(config)#ip access-list standard 10
ZXR10(config-ext-nacl)#permit 59.0.0.0 0.255.255.255
ZXR10(config-ext-nacl)#exit
ZXR10(config)#ip access-list standard 11
ZXR10(config-ext-nacl)#permit 155.0.0.55 0.0.0.0
ZXR10(config-ext-nacl)#exit
ZXR10(config)#ip access-list standard 20
ZXR10(config-ext-nacl)#permit 35.0.0.0 0.255.255.255
ZXR10(config-ext-nacl)#exit
ZXR10(config)#ip access-list standard 21
ZXR10(config-ext-nacl)#permit 133.0.0.33 0.0.0.0
ZXR10(config-ext-nacl)#exit
ZXR10(config)#mpls ldp advertise-labels for 10 to 11
ZXR10(config)#mpls ldp advertise-labels for 20 to 21

Related mpls ldp advertise-labels old-style


Commands

mpls ldp advertise-labels


old-style
Purpose Use this command to allow the <prefix-access-list> argument af-
ter the keyword for in the mpls ldp advertise-labels command
to be interpreted according to the earlier Cisco IOS software re-
leases. To disable this feature, use the no form of this command.
Command Modes Global configuration
Syntax mpls ldp advertise-labels old-style
no mpls ldp advertise-labels old-style
Defaults By default, ZXR10 interprets the parameter <prefix-access-list>
after the keyword for according to the rule described in the in-
struction of the mpls ldp advertise-labels command.
Instructions Generally, the parameter <prefix-access-list> after the keyword
for conforms to the following rules:
One (prefix acl, peer acl) pair “applies to” a prefix only when the
prefix ACL “matches” the prefix, and the match condition is that
the prefix ACL permits the prefix. This is the general processing
method of access list.
In the early Cisco IOS version, however, the parameter <prefix-ac
cess-list> after the keyword for in the mpls ldp advertise-labels
command is interpreted in a different way as follows:
One (prefix acl, peer acl) pair “applies to” a prefix only when the
prefix ACL “matches” the prefix, and the match condition is that

14 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

prefix ACL permits or denies the prefix explicitly. The parameter


prefix ACL with “permit any” or “deny any” matches all prefixes.
The difference between the Cisco early rules and the general pro-
cessing method of access list is that:
The explicit deny (including deny any) makes the (prefix acl, peer
acl) pair “applied to” the prefix, while the implicit deny does not
take any effect.
If users are used to the early rule, the mpls ldp advertise-labels
old-style command can be used.
Example This example describes how to configure the router to use the early
rules of Cisco to interpret the parameter <prefix-access-list> after
the keyword for in the mpls ldp advertise-labels command.
ZXR10(config)#mpls ldp advertise-labels old-style

Related mpls ldp advertise-labels


Commands

mpls ldp backoff


Purpose Use this command to configure the parameter of the LDP session
backoff reestablishment mechanism. To restore default, use the
no form of this command.
Command Modes Global configuration
Syntax mpls ldp backoff <initial-backoff><maximum-backoff>
no mpls ldp backoff
Syntax
Description
<initial-backoff> Initial backoff time in seconds, range:
10~65535, default: 15 seconds

<maximum-backoff> Maximum backoff time in seconds, range:


10~65535, default: 120 seconds

Instructions � The LDP session backoff reestablishment mechanism prevents


two LSRs with incompatible configurations falling into the end-
less cycle form the establishment of the session to the fail-
ure. If the establishment of the session fails because of the
incompatible configurations of the two LSRs, the two LSRs will
put off their attempt to establish a session next time (namely
back off). The backoff time is exponentially increased until it
reaches the maximum backoff.
� The default value of the parameter of the LDP session back-
off reestablishment mechanism is defined by the LDP protocol
specifications. There is no need to change tyhe default config-
uration until the default parameter indeed causes bad behav-
iors.
Example This example describes how to set the initial backoff time as 30
seconds and the maximum backoff time as 240 seconds.
ZXR10(config)#mpls ldp backoff 30 240

Confidential and Proprietary Information of ZTE CORPORATION 15


ZXR10 Command Manual (MPLS Volume)

Related show mpls ldp backoff


Commands
show mpls ldp parameters

mpls ldp bfd


Purpose Use this command to configure the corresponding parameters of
LDP LSP BFD and trigger the bfd session for creating LSP.
Command Modes Global configuration
Syntax mpls ldp bfd <FEC address><mask length> interval <interval>
min_rx <min_rx> Multiplier <multiplier>
no mpls ldp bfd <FEC address><mask length> interval <inter
val> min_rx <min_rx> Multiplier <multiplier>
Syntax
Description
<FEC address> Specifies the LSP address for creating bfd. It
is generally a remote address network

<mask length> Specifies the sub network mask length of


remote address. range: 1~32

<interval> Specifies the minimal sending interval, in


milliseconds. range: 50~999

<min_rx> Specifies the minimal receiving interval, in


milliseconds. range: 50~999

<multiplier> Specifies the multiplier when the detection


overtimes. range: 3~50

Instructions This command triggers the creation of LSP BFD, and specifies the
network address of LSP.
Example This example describes how to triggers the creation of BFD of LSP
2.2.2.2.
ZXR10(config)#mpls ldp bfd 2.2.2.2 32 interval 50
min_rx 50 multiplier 3

Related show bfd nei ldp-lsp


Commands

mpls ldp dampening


Purpose Use this command to configure LDP to enable the route dampening
or modify the various LDP route dampening factors. Disable this
command by using no form of this command.
Command Modes Global configuration
Syntax mpls ldp dampening [<half-life><reuse><suppress><max-su
ppress-time>]
no mpls ldp dampening

16 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

Syntax
Description
<half-life> Time (in minutes) after which a penalty is
decreased by half after the half-life period
(which is 15 minutes by default). The range
of the half-life period is 1~45 minutes

<reuse> Reuse values based on accumulated penalties.


If the penalty for a flapping route decrease
enough to fall below this value, the route is
unsuppressed. range: 1~20000, default: 750

<suppress> A route is suppressed when its penalty


exceeds this limit. range: 1~20000, default:
2000

<max-suppress-ti Maximum time (in minutes) a route can be


me> suppressed. range: 1~255, default: 60
minutes

Defaults This command is disabled by default.


Instructions If there is no parameter after this command, the LDP route damp-
ening will be valid with default values. The parameters have to
be configured together. If any one parameter is configured, then
other parameters have to be configured. The parameter <suppre
ss> value should be larger than the <reuse> value.
Example This example describes how to enable LDP route dampening.
ZXR10(config)#mpls ldp dampening

Related show running-config


Commands

mpls ldp dampening-acl


Purpose Use this command to control which destination networks for which
LDP creates LDP dampening entities. configure the destination
networks for which the LDP creates the LDP dampening entity. To
disable this feature, use the no form of this command, and the no
form of this command will take effect immediately.
Command Modes Global configuration
Syntax mpls ldp dampening-acl {for <prefix-access-list>| force}
no mpls ldp dampening-acl
Syntax
Description
for <prefix-access-li Specifies which networks to be filtered. basic
st> ACL: 1~99 and 1000~1499

force Takes effect immediately

Defaults The filtering of flapping is valid only when the function of LDP
dampening takes effect. By default, LDP records the dampening
information for flapping destination networks.
Instructions By default, LDP records the dampening information for flapping
destination networks. However, there are so many networks in

Confidential and Proprietary Information of ZTE CORPORATION 17


ZXR10 Command Manual (MPLS Volume)

the actual network that it needs to filter the networks for which
there is no need to record the dampening information.
The mpls ldp access-fec force command takes effect immedi-
ately.
Example 1. This example describes how to record the dampening informa-
tion for LSP of networks 10.101.0.0 and 10.221.0.0.
ZXR10(config)#ip access-list standard num 10
ZXR10(config-std-acl)#permit 10.101.0.0 0.0.255.255
ZXR10(config-std-acl)#permit 10.221.0.0 0.0.255.255
ZXR10(config-std-acl)#exit
ZXR10(config)#mpls ldp dampening-acl for 10
ZXR10(config)#mpls ldp dampening-acl force

2. This example describes how to restore the default settings.


ZXR10(config)#no mpls ldp dampening-acl
ZXR10(config)#mpls ldp dampening-acl force

Related show running-config


Commands

mpls ldp discovery hello


Purpose Use this command to configure the interval for sending LDP hello
discovery messages and the timeout time of the discovered LDP
neighbor between the directly connected LSRs. To restore default,
use the no form of this command.
Command Modes Global configuration
Syntax mpls ldp discovery hello {holdtime <holdtime>| interval <int
erval>}
no mpls ldp discovery hello {holdtime | interval}
Syntax
Description
holdtime <holdtime> Holdtime (in seconds) of the status if the
neighbor discovered by LDP can not receive
any subsequent hello messages, range:
1~2147483, default: 15 seconds

interval <interval> Interval of LDP’s periodically sending hello


messages (in seconds), range: 1~2147483,
default: 5 seconds

Example This example describes how to set the status holdtime as 100 sec-
onds and the interval for sending hello messages as 20 seconds.
ZXR10(config)#mpls ldp discovery hello holdtime 100
ZXR10(config)#mpls ldp discovery hello interval 20

18 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

Related show mpls ldp parameter


Commands

mpls ldp discovery


targeted-hello
Purpose Use this command to configure the interval for sending LDP hello
discovery messages and the timeout time of the discovered LDP
neighbor between the indirectly connected LSRs. To restore de-
fault, use the no form of this command.
Command Modes Global configuration
Syntax mpls ldp discovery targeted-hello {holdtime <holdtime>|
interval <interval>}
no mpls ldp discovery targeted-hello {holdtime | interval}
Syntax
Description
holdtime <holdtime> Holdtime of the status if the neighbor
discovered by LDP can not receive any
subsequent hello messages (in seconds),
range: 1~2147483, default: 45 seconds

interval <interval> Interval of LDP’s periodically sending hello


messages (in seconds), range: 1~2147483,
default: 15 seconds

Instructions This command is supported after the platform version 4.6.02.


Example This example describes how to set the status holdtime as 100 sec-
onds and the interval for sending hello messages as 20 seconds.
ZXR10(config)#mpls ldp discovery targeted-hello holdtime 100
ZXR10(config)#mpls ldp discovery targeted-hello interval 20

Related show mpls ldp parameter


Commands

mpls ldp discovery


transport-address
Purpose Use this command to configure the transmission address parame-
ter carried in hello messages on the layer 3 interface. To disable
this feature, use the no form of this command.
Command Modes Interface configuration
Syntax mpls ldp discovery transport-address {interface |<ip-addre
ss>}
no mpls ldp discovery transport-address

Confidential and Proprietary Information of ZTE CORPORATION 19


ZXR10 Command Manual (MPLS Volume)

Syntax
Description
interface Specifies the interface address as the
transmission address advertised in the hello
message

<ip-address> Specifies some address as the transmission


address advertised in the hello message

Defaults By default, ZXR10 takes the router identifier as the transmission


address advertised in the hello message on the frame interface.
Instructions A TCP connection must be established before an LDP session is
set up between LDP routers, which requires every router know the
peer transmission address (IP address). The LDP discovery mech-
anism enables the LDP router to advertise its own transmission
address used for establishing TCP connection to the peer.
The advertisement of the transmission address can be explicit (that
is, the transmission address appears in the hello message) or im-
plicit (that is, there is no transmission address appearing in the
hello message). The receiver of hello messages takes the source
IP address of the hello message as the transmission address to set
up TCP connection with the sender.
The mpls ldp discovery transport-address command provides
a way to change the default behavior of the router. If the interface
parameter is used, LDP advertises the IP address of the interface in
the hello message on the interface. If the <ip-address> parameter
is used, the LDP advertises the designated IP address in the hello
message on the interface.
If the configuration of the transmission address is changed during
the precess of the running of the interface, ZXR10 router will delete
the current adjacency relationship on the interface. If there is no
other adjacent relationship maintaining the session maintained by
the current adjacent relationship on the interface (multiple links do
not exist), the session will be closed. The adjacency relationship
(and the session) will be reestablished after a hello message is
received from the peer.

Tip:
If there are multiple links between routers, these routers must
advertise the same transmission address on the corresponding in-
terfaces.

Example This example describes how to use the IP address of the interface
as the transmission address on the interface oc3_2/1, and set the
transmission address as 145.22.0.56 on the interface oc3_4/1.
ZXR10(config#)interface oc3_2/1
ZXR10(config-if)#mpls ldp discovery transport-address interface
ZXR10(config)#interface oc3_4/1
ZXR10(config-if)#mpls ldp discovery transport-address 145.22.0.56

Related show mpls ldp discovery


Commands
show mpls ldp neighbor

20 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

mpls ldp egress


Purpose Use this command to control LDP to allocate popup labels to the
designated indirectly connected destination networks (that is, the
egress control policy). To disable this feature, use the no form of
this command.
Command Modes Global configuration
Syntax mpls ldp egress {for <prefix-access-list>| nexthop <nexthop-
access-list>}
no mpls ldp egress {for | nexthop}
Syntax
Description
for <prefix-access-li Specifies which destination networks to which
st> popup labels are allocated, range: 1~99

nexthop <nexthop-a Specifies the nexthop of the destination


ccess-list> networks, range: 1~99

Defaults By default, LDP allocates popup labels only to the directly con-
nected networks and makes advertisements to the peer LSR.
Instructions By default, LDP allocates popup labels only to the directly con-
nected networks and makes advertisements to the peer LSR. For
destination networks not directly connected, LDP acquires the idle
label from the label pool as the incoming label and chooses the
label value in the mapping message sent by the next hop of the
route as the outgoing label.
If local router is an edge LSR and the router of nexthop may be
a non-MPLS router, local LSR cannot bind the outgoing label, and
the received label packet be will discarded at the data layer be-
cause there is no outgoing label according to the MPLS framework
protocol.
In this case, it is necessary to configure the egress control pol-
icy to specify LDP to allocate popup labels to destination networks
flowing out of MPLS network, and make advertises to the upstream
LSR. Thus upstream LSR will forward the traffic from the MPLS net-
work in the form of IP packets (or explicitly popup label packets).
There are two kinds of control policies: based on destination net-
work segment and based on next hop.
1. The egress control policy based on destination networks (mpls
ldp egress for <prefix-access-list>) directly specifies which
destination where local LSR is terminated.
2. The egress control policy based on next hop (mpls ldp egress
nexthop <nexthop-access-list>) specifies which neighbors
are non-MPLS routers so that the traffic of these neighbors
as next hops is the traffic out of MPLS. Local router allocates
popup labels for this traffic.
As long as a route meets either of the two policies, that is, the
destination prefix is permitted by <prefix-access-list> or the next
hop is permitted by <nexthop-access-list> , the LDP will allocate
a popup label to it.
The policy takes effect only on the refreshed FECs after the config-
uration and does not reallocate labels to the existing FECs. There-

Confidential and Proprietary Information of ZTE CORPORATION 21


ZXR10 Command Manual (MPLS Volume)

fore, it is not recommended to configure this command when the


system is running to avoid inconsistency.
Example 1. The router allocates popup labels to all subnet routes in net-
works 10.101.0.0/16 and 10.221.0.0/16, and allocates popup
labels to all subnet routes in network 10.222.0.0/16 but not in
10.222.1.0/24.
ZXR10(config)#ip access-list standard 10
ZXR10(config-std-nacl)#permit 10.101.0.0 0.0.255.255
ZXR10(config-std-nacl)#permit 10.221.0.0 0.0.255.255
ZXR10(config-std-nacl)#deny 10.222.1.0 0.0.0.255
ZXR10(config-std-nacl)#permit 10.222.0.0 0.0.255.255
ZXR10(config-std-nacl)#exit
ZXR10(config)#mpls ldp egress for 10

2. The router allocates popup labels to all destination networks


whose next hop are 100.1.1.3:
ZXR10(config)#ip access-list standard 11
ZXR10(config-std-nacl)#permit 100.1.1.3 0.0.0.0
ZXR10(config-std-nacl)#exit
ZXR10(config)#mpls ldp egress nexthop 11

mpls ldp enable


connect-with-dod
Purpose Use this command to set the compatibility of the label advertise-
ment mode. To disable this feature, use the no form of this com-
mand.
Command Modes Global configuration
Syntax mpls ldp enable connect-with-dod
no mpls ldp enable connect-with-dod
Instructions Use this command to make the router to interconnect with LSR
adopting the DOD mode.

mpls ldp explicit-null


Purpose Use this command to make the router which is supposed to adver-
tise implicit null labels advertise explicit null labels. To disable this
feature, use the no form of this command.
Command Modes Global configuration
Syntax mpls ldp explicit-null [for <prefix-access-list>][to <peer-acce
ss-list>]
no mpls ldp explicit-null

22 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

Syntax
Description
for <prefix-access-li Specifies the prefix of the explicit null labels
st> replacing implicit ones, range: 1~99

to <peer-access-list> Specifies which neighbors that the explicit


null labels replaces implicit ones is advertised
to, range: 1~99

Defaults By default, ZXR10 advertises directly connected networks to all


neighbors by means of implicit null labels.
Instructions � By default, ZXR10 advertises directly connected networks to
all neighbors by means of implicit null labels. The implicit null
label causes the Penultimate Hop Poping (PHP) router to make
PHP. Sometimes, however, it is prohibited for the PHP router to
make such action so that the explicit null label is used in the
outgoing label forwarding packet.
� The mpls ldp explicit-null command enables the router to
advertise explicit null labels to the neighbors permitted by<pe
er-access-list> and the directly connected networks permitted
by <prefix-access-list>. If the parameter <prefix-access-list>
is not specified in the command, explicit null labels will be ad-
vertised to all the directly connected networks; if the parame-
ter <peer-access-list> is not specified in the command, explicit
null labels will be advertised to all neighbors.
� This command takes effect only to the label advertisement
messages after the configuration. If labels have been adver-
tised before the policy is configured, and the matched networks
and neighbors will not change unless the session is interrupted
and reestablished. Therefore, it is not recommended to con-
figure this command when the system is running to avoid in-
consistency.
Example 1. This example describes how to make LDP advertise all direct
routes by explicit null labels to all neighbors.
ZXR10(config)#mpls ldp explicit-nul

2. This example describes how to advertise explicit null labels to


the directly connected network 137.5.0.0, and advertise im-
plicit null labels to other directly connected networks.
ZXR10(config)#mpls ldp explicit-null for 10
ZXR10(config)#ip access-list standard 10
ZXR10(config-std-nacl)#permit 137.5.0.0 0.0.255.255
ZXR10(config-std-nacl)#deny any
ZXR10(config-ext-nacl)#

mpls ldp graceful-restart


Purpose Use this command to enable the router to support LDP Graceful
restart function.
Command Modes Global configuration
Syntax mpls ldp graceful-restart [timer {max-recovery <interval>|
neighbor-liveness <interval>}]

Confidential and Proprietary Information of ZTE CORPORATION 23


ZXR10 Command Manual (MPLS Volume)

no mpls ldp graceful-restart [timer {max-recovery | neighb


or-liveness}]
Syntax
Description max-recovery Maximum time for LSR to wait for the label
<interval> recovery of the peer neighbor (in seconds), it
needs negotiation. range: 15~600, default:
120 seconds

neighbor-liveness Maximum time for LSR to wait for the LDP


<interval> session recovery (in seconds), it needs
negotiation. range: 5~300, default: 120
seconds

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


� By default, LDP does not support GR function. GR function is
triggered by the corresponding configuration. But it needs LDP
to reestablish neighbors or restart protocols to make this com-
mand take effect, because the relevant parameters negotiate
in the initialized messages.
Example This example describes how to enable the router to support LDP
GR function. The value of neighbor- liveness is configured as 30
seconds, and the value of max-recovery is configured as 40 sec-
onds.
ZXR10(config)#mpls ldp graceful-restart
ZXR10(config)#mpls ldp graceful-restart timer neighbor-liveness 30
ZXR10(config)#mpls ldp graceful-restart timer max-recovery 40

Related show mpls ldp graceful-restart


Commands
show mpls ldp neighbor graceful-restart

mpls ldp holdtime


Purpose Use this command to configure the holdtime for LDP sessions not
to receive any subsequent LDP messages. To restore default, use
the no form of this command.
Command Modes Global configuration
Syntax mpls ldp holdtime <seconds>
no mpls ldp holdtime
Syntax
Description
<seconds> Holdtime for LDP sessions not to receive
subsequent LDP messages (in seconds),
range: 15~65535, default: 180 seconds

Instructions When a session is set up between two LSRs, the smaller value of
the configured parameters of the two LSRs will be taken as the
negotiated holdtime.
Example This example describes how to set the holdtime as to 30 seconds.
ZXR10(config)#mpls ldp holdtime 30

24 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

Related show mpls ldp neighbor


Commands
show mpls ldp parameters

mpls ldp neighbor password


Purpose Use this command to configure MD5 key for LDP to establish a
TCP connection with a neighbor. To disable this feature, use the
no form of this command.
Command Modes Global configuration
Syntax mpls ldp neighbor <ip-address> password <password>
no mpls ldp neighbor <ip-address> password
Syntax
Description
<ip-address> Address of the neighbor used in TCP
connection or router ID identifying the
neighbor, in the dotted decimal format

password MD5 key used for establishing TCP connection


<password> with the neighbor, 3~80 characters

Defaults By default, there is no MD5 option in ZXR10 LDP session.


Instructions MD5 authentication can be introduced between LDP peers to au-
thenticate each TCP section. To enable MD5 authentication, both
LSRs should be configured with authentication and use the same
key; otherwise, the session cannot be established.
If the key of the session with some neighbor is changed with the
mpls ldp neighbor command (including the no form of this com-
mand), the current session is interrupted and a new session is
established.
Example This example describes how to establish a session with a neighbor
whose TCP connection address is 140.2.1.15 by using abcdefg as
the MD5 authentication key.
ZXR10(config)#mpls ldp neighbor 140.2.1.15 password abcdefg

mpls ldp request-labels


Purpose Use this command to configure the prefix and downstream neigh-
bors for which LDP sends request messages. To disable this fea-
ture, use the no form of this command.
Command Modes Global configuration
Syntax mpls ldp request-labels for <prefix-access-list>
no mpls ldp request-labels
Syntax
Description
<prefix-access-list> Prefix access list for the request message to
be sent, range: 1~99

Confidential and Proprietary Information of ZTE CORPORATION 25


ZXR10 Command Manual (MPLS Volume)

Defaults By default, ZXR10 does not send any request messages.


Instructions � This command enables the router to send label request mes-
sages for some prefixes. If the parameter <prefix-access-list>
is configured, the router will send label request messages to
its downstream router with the prefix permitted by the list.
� This command takes effect only on the FECs created after the
configuration or those of the downstream LSRs discovered after
the configuration. Therefore, it is not recommended to config-
ure this command when the system is running to avoid incon-
sistency.
Example This example describes how to configure the router to send label
request messages to the FEC in the network 10.1.1.0/16.
ZXR10(config)#mpls ldp request-labels for 10
ZXR10(config)#ip access-list standard 10
ZXR10(config-ext-nacl)#permit 10.1.1.0 0.0.255.255
ZXR10(config-ext-nacl)#exit

mpls ldp router-id


Purpose Use this command to configure the LDP router identifier. To disable
this feature, use the no form of this command.
Command Modes Global configuration
Syntax mpls ldp router-id <interface-name>[force]
no mpls ldp router-id [force]
Syntax
Description
<interface-name> Specifies the IP address of an interface as the
router identifier of LDP (if the interface is in
the UP state)

force Immediately changes the router identifier

Defaults By default, the election rules of LDP router identifier on ZXR10 are
as follows:
1. Firstly, if the mpls ldp router-id command is used to desig-
nate the address of an interface as the router identifier, and
the interface has an IP address and it is in the UP state, the
address of the interface will be used as the router identifier.
2. Secondly, if there are loopback interfaces configured with IP
addresses, the maximum IP address of the loopback interface
will serve as the router identifier.
3. Lastly, among the IP addresses of interfaces configured with IP
addresses and in the UP state, the maximum one is selected
as the router identifier.
Instructions By default, the automatically elected router identifier may be un-
available sometimes, for example, the routing protocol does not
advertise the IP address elected as the router identifier to neigh-
bors. In addition, the router configuration may cause the LPD
router identifier is uncertain, and this invalidates the neighbor’s
control policy.

26 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

The mpls ldp router-id command specifies the IP address of an


interface as the router identifier. Note that the interface whose IP
address serves as the router identifier must be in the UP state.
If the optional parameter force is not specified, the router iden-
tifier specified by the mpls ldp router-id command will not take
effect until the next router identifier election, and the router iden-
tifier takes place in the following cases:
1. LDP restarts.
2. The interface whose IP address serves as the current router ID
is shut down.
3. The interface whose IP address is specified as the current
router ID is not configured with any address.
If the optional parameter force is specified, the effect of the m
pls ldp router-id command depends on the current state of the
specified interface.
1. If the specified interface is in the UP state and its address is not
the current router identifier, the router will change the router
identifier to the specified value, interrupt all the current ses-
sions, release labels learned from the sessions, and terminate
the MPLS forwarding related with the bounding of these labels.
2. If the specified interface is in the DOWN state, the router will
change the router identifier to the specified value once the in-
terface is in the UP state, interrupt all the current sessions,
release labels learned from the sessions, and terminate the
MPLS forwarding related with the bounding of these labels.
Example This example describes how to specify the IP address of the inter-
face fei_1/1 as the router identifier.
ZXR10(config)#mpls ldp router-id fei_1/1

Related show mpls ldp discovery


commands

mpls ldp style


Purpose Ue this command to adopt a new keepalive mechanism of LDP
sessions. Once a hello packet is received, reset the keepalive time
of the session this hello packet maintains.
Command Modes Global configuration
Syntax mpls ldp style
no mpls ldp style
Instructions By default, ZXROS updates the keepalive timer of sessions when-
ever it receives each LDP TCP packet. After the configuration of
this command, the timer will be reset whenever each LDP PDU
packet (including TCP and UDP packets) is received.
Example This example describes how to enable the new keepalive mecha-
nism of LDP sessions.
ZXR10(config)#mpls ldp style

Confidential and Proprietary Information of ZTE CORPORATION 27


ZXR10 Command Manual (MPLS Volume)

mpls ldp target-session


Purpose Use this command to configure the address of the indirect remote
target session and establish the target session. To delete the ses-
sion, use the no form of this command.
Command Modes Global configuration
Syntax mpls ldp target-session <ip-address>
no mpls ldp target-session <ip-address>
Syntax
Description
<ip-address> IP address or router identifier of the remote
neighbor

Instructions This command is supported after the platform version 4.6.02.


Example This example describes how to establish a target session with the
router whose router identifier is 1.1.1.1.
ZXR10(config)#mpls ldp target-session 1.1.1.1

Related show mpls ldp neighbor


Commands

mpls xconnect
Purpose Use this command to configure the address, VPWS identifier, and
tunnel number of the remote interface. The creation of VPWS is
triggered between local interface and the remote interface. Delete
the VPWS with the no form of this command.
Command Modes Interface configuration
Syntax mpls xconnect <ip-address><vc-id>[tunnel <tunnel number>]
no mpls xconnect
Syntax
Description
<ip-address> IP address of the remote interface or router
identifier of the remote node

<vc-id> VPWS identifier, range: 1~4294967295

tunnel <tunnel Tunnel number used for creating VPWS,


number> range: 1~1024

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


� The vc-id must be unique among local nodes, and the corre-
sponding interface of the remote node must be assigned with
the same vc-id. The unique PW identifier throughout the net-
work is composed of the remote node address and the vd-id.
� If there is the tunnel parameter, MPLS labels are allocated by
the specified tunnel. If there is no tunnel parameter, MPLS
labels are allocated by LDP.

28 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

Example In this example, VPWS with vc-id 100 is established with the node
whose router identifier is 1.1.1.1 on the interface fei_2/1.
ZXR10(config#)interface fei_2/1
ZXR10(config-if)#mpls xconnect 1.1.1.1 100

Related show mpls l2transport binding


Commands

show mpls forwarding-table


Purpose Use this command to check the label forwarding information data-
base.
Command Modes All modes
Syntax show mpls forwarding-table [<prefix>[{<mask>|<mask-len
>}]]
Syntax
Description
<prefix> Destination address prefix in the forwarding
information database

<mask> Mask of destination address prefix

<mask-len> Mask length of destination address prefix, 1


~ 32

Example This example describes how to show information about the current
neighbor .
ZXR10(config)#show mpls forwarding-table
Mpls Ldp Forwarding-table:
InLabel OutLabel Dest Pfxlen Interface NextHop
201 Pop tag 3.4.5.6 32 fei_1/1 101.1.1.2
202 Pop tag 120.1.1.0 24 fei_1/1 101.1.1.2

ZXR10(config)#show mpls forwarding-table 120.1.1.0


Mpls Ldp Forwarding-table:
InLabel OutLabel Dest Pfxlen Interface NextHop
202 Pop tag 120.1.1.0 24 fei_1/1 101.1.1.2

The displayed field descriptions are shown below.

Field Description

InLabel Incoming label

OutLabel Outgoing label

Dest Destination network or destination host


address

Pfxlen Prefix length

Interface Outgoing interface

NextHop Next hop

Confidential and Proprietary Information of ZTE CORPORATION 29


ZXR10 Command Manual (MPLS Volume)

show mpls l2transport


binding
Purpose Use this command to check label binding information of L2 VPN.
Command Modes User EXEX and privileged EXEC
Syntax show mpls l2transport binding [<vc-id>|<ip-address>| local
-label <local-label>| remote-label <remote-label>]
Syntax
Description
<vc-id> VC identifier, range: 1~4294967295

<ip-address> Remote IP address bounded

local-label Locally assigned label, range: 0~1048575


<local-label>

remote-label Remotely assigned label, range: 0~1048575


<remote-label>

Instructions This command is supported after the platform version 4.6.02.


Example This example describes how to show the current L2 transport bind-
ing information.
ZXR10(config)#show mpls l2transport binding
Destination Address: 3.4.5.6, VC ID: 201
Local Label: 16
Cbit: 0 VC Type: VLAN GroupID: 0
MTU: 1500 Interface Desc: fei_1/2.1
Remote Label: 16
Cbit: 0 VC Type: VLAN GroupID: 0
MTU: 1500 Interface Desc: fei_5/5.1

Destination Address: 3.4.5.6, VC ID: 202


Local Label: 17
Cbit: 0 VC Type: VLAN GroupID: 0
MTU: 1500 Interface Desc: fei_1/2.2
Remote Label: 17
Cbit: 0 VC Type: VLAN GroupID: 0
MTU: 1500 Interface Desc: fei_5/5.2

The displayed field descriptions are shown below.

Field Description

Destination Address Peer address

VC ID ID of VC

Local Label Locally assigned label

Cbit Flag of control field

VC Type Type of VC

GroupID Group ID information

MTU Maximum transmission unit

30 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

Field Description

Interface Desc Port information

Remote Label Remotely assigned label

show mpls l2transport vc


Purpose Use this command to check the VC information transmitted at
Layer 2.
Command Modes All modes
Syntax show mpls l2transport vc [{vcid <vcidmin>[<vcidmax>]|
interface <interface-name>[<loca-lcircuit-id1>[<local-circuit-id
2>]]| destination <ip-addr>}][detail]
Syntax
Description
vcid Shows information based on vcid

<vcidmin> Lower limit of the designated vcid or the


designated vcid range, it is must be specified
if there is the parameter vcid specified.
range: 1~4294967295

<vcidmax> Upper limit of the vcid show range,


1~4294967295

interface <interface Name of the interface bounded with VPWS


name>

<local circuit id1> Vlan ID for Ethernet, or vpi for the ATM
interface, range: 0~65535

<local circuit id2> Vlan ID for Ethernet, or vpi for the ATM
interface, range: 0~65535

destination VC destination address, in the dotted decimal


<ip-addr> format

[detail] Detailed information of an entry

Instructions This command is supported after the platform version 4.6.02.


All the current VCs are displayed if there is no parameter specified.
This command is provided only on ZXR10 GER and ZXR10
T64E/T128.
Example 1. This example describes how to show all the current VCs.
ZXR10#show mpls l2transport vc
LocalIntf LocalCircuit DestAddress VCID Status
fei_1/8.200 VlanID: 600 3.4.5.6 600 up
fei_1/8.199 VlanID: 599 3.4.5.6 599 up
fei_1/8.198 VlanID: 598 3.4.5.6 598 up
fei_1/8.197 VlanID: 597 3.4.5.6 597 up
fei_1/8.196 VlanID: 596 3.4.5.6 596 up

2. This example describes how to show VCs with VCID in the range
of 201 to 205.
ZXR10#show mpls l2transport vc vcid 201 205

Confidential and Proprietary Information of ZTE CORPORATION 31


ZXR10 Command Manual (MPLS Volume)

LocalIntf LocalCircuit DestAddress VCID Status


fei_1/2.5 VlanID: 205 3.4.5.6 205 up
fei_1/2.4 VlanID: 204 3.4.5.6 204 up
fei_1/2.3 VlanID: 203 3.4.5.6 203 up
fei_1/2.2 VlanID: 202 3.4.5.6 202 up
fei_1/2.1 VlanID: 201 3.4.5.6 201 up

3. This example describes how to show VCs with destination ad-


dress as 3.4.5.6.
ZXR10#show mpls l2transport vc destintion 3.4.5.6
LocalIntf LocalCircuit DestAddress VCID Status
fei_1/8.200 VlanID: 600 3.4.5.6 600 up
fei_1/8.199 VlanID: 599 3.4.5.6 599 up
fei_1/8.198 VlanID: 598 3.4.5.6 598 up

4. This example describes how to show detailed information of


the VC with VCID as 201.
ZXR10#show mpls l2transport vc vcid 201 detail
LocalInterface: fei_1/2.1 up, lineProtocol up, localCircuit
VlanID: 201 up
Destination address: 3.4.5.6, VC ID: 201, VC status: up
Tunnel label: imp-null, direct connected or TE tunnel
Output interface: fei_1/1 ,imposed label stack { 16 }
Create time: 10:42:39, last status change time: 10:42:39
Signalling protocol: LDP, peer 3.4.5.6:0 up
MPLS VC labels: local 16, remote 16
Group ID: local 0, remote 0
MTU: local 1500, remote 1500
Remote interface description:fei_5/5.1
Sequencing: receive disabled, send disabled

The displayed field descriptions are shown below.

Field Description

LocalIntf(LocalInter- Local interface bounded with VPWS


face)

LocalCircuit Link ID of local interface. It is displayed


as ETHER; VlanID for the interface
encapsulated with Ethernet; AAL5 vpi/vci
for the ATM interface encapsulated with
AAL5; DCLI for the interface encapsulated
with FR; or PPP for the interface
encapsulated with ppp

DestAddress VC destination address (global next hop


address)

VCID Designated VCID

Status VC current state: VC is up only when local


interface is up and resolves valid outer
tunnel label

Tunnel label Outer tunnel label, displayed as direct


connection or RSVP-TE

Output interface Actual output interface

imposed label stack Label stack in the packet

Create time Time when VC is created

last status change Period since VC changed recently


time

32 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

Field Description

Signalling protocol Signalling protocol for allocating VC labels

MPLS VC labels VC label

Group ID Group identifier

MTU Maximum transmission unit

Remote interface Description of the remote interface


description bounded with VPWS

Sequencing Sequencing function

show mpls label range


Purpose Use this command to show the label range that LDP can use.
Command Modes User EXEC and privileged EXEC
Syntax show mpls label range [detail]
Syntax
Description
detail Shows detailed information of labels

Example This example shows the output of the show mpls label range
command.
ZXR10#show mpls label range detail
Downstream label pool: Min/Max label:16/1048575
total 1048000 labels free now

The displayed field description is shown below.

Field Description

Downstream label Shows the configured minimal/maximal


pool usable label value

Related mpls label range


Commands

show mpls ldp backoff


Purpose Use this command to show the configuration of LDP session
backoff reestablishment parameters and the session in the backoff
reestablishment state.
Command Modes User EXEC and privileged EXEC
Syntax show mpls ldp backoff
Example This example shows the output of the show mpls ldp backoff
command.
ZXR10#show mpls ldp backoff

Confidential and Proprietary Information of ZTE CORPORATION 33


ZXR10 Command Manual (MPLS Volume)

LDP initial/maximum backoff: 30/240 sec


LDP Id Backoff(sec) Waiting(sec)
144.0.0.44:0 60 30
155.0.0.55:0 120 90

The displayed field descriptions are shown below.

Field Description

LDP initial/maximum Shows backoff parameters of which the unit


backoff is second

LDP Id ID of LDP neighbor

Backoff(sec) Shows backoff time

Waiting(sec) Shows waiting time in the backoff state

Related mpls ldp backoff


Commands

show mpls ldp bindings


Purpose Use this command to show information about the binding of
learned LDP labels.
Command Modes User EXEC and privileged EXEC

Syntax show mpls ldp bindings [<ip-address>{<net-mask>|<length


>}[longer-prefixes]][local-label <label>[<label>]][remote-l
abel <label>[<label>]][neighbor [<ip-address>]][detail]
show mpls ldp bindings summary
Syntax
Description
<ip-address> IP address of the destination network, in the
dotted decimal format

<net-mask> Network mask, in the dotted decimal format

<length> Mask length, range: 0~32

longer-prefixes Shows the label bindings of the network


matching the designated network but with
longer mask

local-label Shows the entries matching the local label


<label>[<label>] value, and specifies the label range with the
parameter label – label, range: 0~1048575

remote-label Shows the entries matching the label value


<label>[<label>] allocated by neighbor with the label range
specified by the parameter label – label,
range: 0~1048575

summary Shows the summary of all entries and


downstream bindings in the LDP FEC table

34 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

Instructions This command shows all entries and downstream bindings in the
LDP FEC table if there is no parameter specified.
Example 1. This example describes how to show all entries and down-
stream bindings in the LDP FEC table.
ZXR10#show mpls ldp bindings
34.0.0.0/255.0.0.0
local binding: label: imp-null
remote binding: lsr: 155.0.0.55:0, label: 17
remote binding: lsr: 66.66.0.66:0, label: 18
remote binding: lsr: 144.0.0.44:0, label: imp-null
45.0.0.0/255.0.0.0
local binding: label: 19
remote binding: lsr: 155.0.0.55:0, label: imp-null inuse
remote binding: lsr: 66.66.0.66:0, label: 16
remote binding: lsr: 144.0.0.44:0, label: imp-null
66.66.0.66/255.255.255.255
local binding: label: 20
remote binding: lsr: 155.0.0.55:0, label: 19
remote binding: lsr: 66.66.0.66:0, label: imp-null(inuse)
remote binding: lsr: 144.0.0.44:0, label: 18
103.0.0.0/255.0.0.0
local binding: label: imp-null
155.0.0.55/255.255.255.255
local binding: label: 25
remote binding: lsr: 155.0.0.55:0, label: imp-null(inuse)
remote binding: lsr: 144.0.0.44:0, label: 24
remote binding: lsr: 66.66.0.66:0, label: 24

2. This example describes how to show label bindings of the net-


work 166.0.0.0 and its subnets learned by the LSR 144.0.0.44.
ZXR10#show mpls ldp bindings 166.0.0.0 8
longer-prefixes neighbor 144.0.0.44
166.44.0.0/255.255.0.0
local binding: label: 29
remote binding: lsr: 144.0.0.44:0, label: 25
166.246.0.0/255.255.0.0
local binding: label: 32
remote binding: lsr: 144.0.0.44:0, label: 46

The displayed field descriptions are shown below.

Field Description

a.b.c.d/a.b.c.d IP prefix and mask

local binding Local label binding

advertise to Advertises to neighbors

remote binding Label binding learned from neighbor

3. This example describes how to show the total number of entries


and downstream bindings in the LDP FEC table.
ZXR10#show mpls ldp bindings summary
Total number of prefixes: 17
Total number of Upstream LSP Control Block: 51
Total number of Downstream LSP Control Block: 45

Generic label binbings


assigned learned
prefixes in labels out labels
17 17 14

The displayed field descriptions are shown below.

Confidential and Proprietary Information of ZTE CORPORATION 35


ZXR10 Command Manual (MPLS Volume)

Field Description

Total number of Total number of FECs discovered by LDP


prefixes routing or created by downstream mapping

Total number of Total number of upstream control blocks


Upstream LSP created by LDP
Control Block

Total number of Total number of downstream control blocks


Downstream LSP created by LDP
Control Block

Generic label Universal label binding summary


binbings

Prefixes Total number of FECs exchanged hop by


hop by LDP

Assigned in labels Number of incoming label prefixes assigned


by LDP

Learned out labels Number of outgoing label prefixes learned


by LDP

show mpls ldp dampening


summary
Purpose Use this command to show the suppressed LSP in the current LDP
flapping routes.
Command Modes User EXEC and privileged EXEC
Syntax show mpls ldp dampening summary [<ip-address><net-mas
k>]
Syntax
Description
<ip-address> Network IP address related to the dampening
information, in the dotted decimal format

<net-mask> Network mask, in the dotted decimal format

Instructions If there is not any parameter after this command , all information
information about LSP in LDP flapping routes is displayed. If there is a parame-
ter after this command, the dampening information of current LSP
is displayed.
Example This example describes how to display information about LDP dis-
covery.
ZXR10#show mpls ldp dampening summary
Damp LSPS of ldp:
status codes: d damped
InLable OutLable Network NH From
Reuse Penalty
d 17 3 25.25.25.25/32 20.1.1.25 25.25.25.25:0
00:00:01 1729

The displayed field descriptions are shown below.

36 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

Field Description

d The LSP is suppressed

InLable Ingress label

OutLable Egress Label

Network NetworkIP address and mask length of LSP

From LDP Router identifier of the remote neighbor

Reuse Time from the last time to receiving packets


to now

Penalty Penalty value. Values of LSP reuse and


suppression are decided by this value

show mpls ldp flap-statistics


summary
Purpose Use this command to show dampening information of LSP in LDP
flapping routes.
Command Modes User EXEC and privileged EXEC
Syntax show mpls ldp flap-statistics summary [<ip-address><net-m
ask>]
Syntax
Description
<ip-address> Ntwork IP address related to dampening
information, in the dotted decimal format

<net-mask> Network mask, in the dotted decimal format

Instructions If there is not any parameter after this command, all information
about LSP in LDP flapping routes is displayed. If there is a param-
eter after this command, dampening information of current LSP is
dispalyed.
Example This example describes how to show information about LDP .
ZXR10#show mpls ldp flap-statistics summary
Flap LSPS of ldp: 2
status codes: d damped , * valid, h history.

InLable OutLable Network NH From Flaps Duration


Reuse Penalty
d 17 3 25.25.25.25/32 20.1.1.25 25.25.25.25:0 2 00:00:13
00:00:58 2638

The displayed field descriptions are shown below.

Field Description

d, *, h d implies this LSP is suppressed now. *


implies the current lsp exists in history link
list, and LDP is valid. h implies the current lsp
exists in history link list, and ldp is invalid

Confidential and Proprietary Information of ZTE CORPORATION 37


ZXR10 Command Manual (MPLS Volume)

Field Description

InLable Ingress label

OutLable Egress Label

Network Network IP address and mask length of LSP

NH Next hop address

From LDP Router identifier of the remote neighbor

Flaps Flapping time of current lsp

Duration Time from the first time to drop packets until


now

Reuse Time from the last time to receive packets


until now

Penalty Penalty value, values of LSP reuse and


suppression are decided by this value

show mpls ldp discovery


Purpose Use this command to show information about LDP discovery .
Command Modes User EXEC and privileged EXEC
Syntax show mpls ldp discovery [detail]
Syntax
Description
detail Shows the detailed information of the
discovered neighbor

Example This example describes how to show information about LDP dis-
covery .
ZXR10#show mpls ldp discovery
Local LDP Identifier:
95.95.95.95:0
Discovery Sources:
Interfaces:
fei_5/1 (ldp): xmit/recv
LDP Id: 93.93.93.93:0; IP addr: 95.93.5.93
fei_6/1 (ldp): xmit/recv
LDP Id: 98.98.98.98:0; IP addr: 95.98.6.98

The displayed field descriptions are shown below.

Field Description

Local LDP Identifier Local LDP identifier

Interface List of interfaces acting the LDP discovery

Xmit Indicates that the interface is sending hello


message

Recv Indicates that the interface is receiving hello


message

38 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

Field Description

Src IP addr Source address of hello messages sent from


neighbors

Transport IP addr Transmission address of the TCP connection


indicated by neighbor

IP addr Transmission address of the TCP connection


indicated by neighbor

show mpls interface


Purpose Use this command to show the interface on which LDP is enabled.
Command Modes User EXEC and privileged EXEC
Syntax show mpls interface [<interface-name>]
Syntax
Description
<interface-name> Interface name

Instructions If there is no parameter after this command , it shows complete


information of the interface where LDP is enabled.
Example This example describes how to show information about the inter-
face where LDP is enabled.
ZXR10#show mpls interfaces
Interface IP Tunnel Operational
fei_1/1 Yes(ldp) No No
fei_1/2 Yes(ldp) No No
fei_1/3 Yes(ldp) No Yes
POS3_2/0 Yes(ldp) No No

The displayed field descriptions are shown below.

Field Description

Interface Interface name

IP “Yes” indicates to support MPLS hop-by-hop


label switching

Tunnel Reserved version to be upgraded

Operational Interface state

show mpls ldp neighbor


Purpose Use this command to show information about LDP sessions.
Command Modes User EXEC and privileged EXEC
Syntax show mpls ldp neighbor [<neighbor>|<interface-name>][det
ail]

Confidential and Proprietary Information of ZTE CORPORATION 39


ZXR10 Command Manual (MPLS Volume)

Syntax
Description
<neighbor> IP address of the neighbor, in the dotted
decimal format

<interface-name> Interface name, shows neighbors accepted


from the designated interface

detail Shows detailed information

Example 1. This example describes how to show detailed information about


an LDP session.
ZXR10#show mpls ldp neighbor detail
Peer LDP Ident: 172.1.1.1:0; Local LDP Ident 200.1.1.1:0
TCP connection: 204.1.1.100.1025 - 200.1.1.1.646
State: Oper; Msgs sent/rcvd: 257/222; Downstream
Up time: 01:09:15
LDP discovery sources:
fei_1/1; Src IP addr: 204.1.1.100
holdtime: 15000 ms, hello interval: 5000 ms
fei_1/2; Src IP addr: 196.1.1.100
holdtime: 15000 ms, hello interval: 5000 ms
Addresses bound to peer LDP Ident:
196.1.1.100 204.1.1.100 180.1.1.100
Peer holdtime: 60000 ms; KA interval: 20000 ms
……
ZXR10#show mpls ldp neighbor fei_1/1
Peer LDP Ident: 172.1.1.1:0; Local LDP Ident 200.1.1.1:0
TCP connection: 204.1.1.100.1025 - 200.1.1.1.646
State: Oper; Msgs sent/rcvd: 262/226; Downstream
Up time: 01:10:35
LDP discovery sources:
fei_1/1, Src IP addr: 204.1.1.100
fei_1/2, Src IP addr: 196.1.1.100
Addresses bound to peer LDP Ident:
196.1.1.100 204.1.1.100 180.1.1.100

2. This example describes how to show neighbors accepted from


the interface fei_1/1.
ZXR10#show mpls ldp neighbor fei_1/1
Peer LDP Ident: 172.1.1.1:0; Local LDP Ident 200.1.1.1:0
TCP connection: 204.1.1.100.1025 - 200.1.1.1.646
State: Oper; Msgs sent/rcvd: 262/226; Downstream
Up time: 01:10:35
LDP discovery sources:
fei_1/1, Src IP addr: 204.1.1.100
fei_1/2, Src IP addr: 196.1.1.100
Addresses bound to peer LDP Ident:
196.1.1.100 204.1.1.100 180.1.1.100

The displayed field descriptions are shown below.

Field Description

Peer LDP Ident LDP identifier of the session of the neigbor

Local LDP Ident LDP identifier of the session of local router

TCP connection TCP connection that supports the session

State Session state

Msgs sent/rcvd Number of LDP messages received and


sent through the session

40 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 2 MPLS LDP Configuration

Field Description

Downstream Indicates the session is in the downstream


autonomous label distribution control mode

Downstream on Indicates the session in the downstream


demand label distribution on demand control mode

Up time Period when the session is in the current


state

LDP discovery Adjacent relationship list maintaining the


sources session

interface Interface where the adjacency relation is


created

Src IP addr Source IP address of peer hello messages


which establish the adjacency relationship

holdtime Holdtime when the adjacency relationship


does not receive hello messages

hello interval Interval for sending hello messages


negotiated in the adjacency relationship

Addresses bound to IP addresses of all interfaces advertised


peer LDP Ident in the session by the neighbor. These IP
addresses may be the next hop of the local
routing entry

Peer holdtime Holdtime when the neighbor does not


receive LDP messages

KA interval Interval for sending keepalive messages

show mpls ldp


graceful-restart
Purpose Use this command to examine the current configuration informa-
tion of LDP Graceful Restart.
Command Modes User EXEC and privileged EXEC
Syntax show mpls ldp graceful-restart
Instructions This command is supported after the platform version 4.8.20.
Example This example describes how to show the current configuration in-
formation of LDP GR.
ZXR10#show mpls ldp graceful-restart
LDP Graceful Restart is enabled
Neighbor Liveness Timer: 30 seconds
Max Recovery Timer: 40 seconds
Graceful Restart-enabled Sessions:

The displayed field descriptions are shown below.

Confidential and Proprietary Information of ZTE CORPORATION 41


ZXR10 Command Manual (MPLS Volume)

Field Description

LDP Graceful Restart Route has been configured with LDP GR


is enabled

Neighbor Liveness Time interval of Neighbor Liveness Timer


Timer

Max Recovery Timer Time interval of Max Recovery Timer

Graceful Restart- Show the current GR process


enabled Sessions

show mpls ldp parameters


Purpose Use this command to show information about current parameters
of LDP.
Command Modes User EXEC and privileged EXEC
Syntax show mpls ldp parameters
Example This example describes how to show the current parameter infor-
mation about LDP.
ZXR10#show mpls ldp parameters Protocol version: 1
Downstream label pool: min label: 16; max label: 100000 Session
hold time: 180 sec; keep alive interval: 60 sec Discovery
hello: holdtime: 15 sec; interval: 5 sec Downstream on
Demand max hop count: 255 LDP initial/maximum backoff: 15/120
sec LDP loop detection: off

The displayed field descriptions are shown below.

Field Description

Protocol version Version

Downstream label Label pool information


pool

Session hold time Holdtime of the session

keep alive interval Interval for sending keepalive messages

Discovery hello Setting of basic discovery parameters

Downstream on Reserved version upgrading


Demand max hop
count

LDP initial/maximum Setting of parameters for the LDP session


backoff backoff reestablishment mechanism

LDP loop detection Reserved version upgrading

42 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 3

MPLS BGP VPN


Configuration

Table of Contents
description .......................................................................43
export map.......................................................................44
import map ......................................................................44
ip vrf ...............................................................................45
ip vrf forwarding................................................................45
maximum routes ...............................................................46
monitor session.................................................................46
monitor session destination ................................................47
monitor session source.......................................................47
rd....................................................................................47
route-target......................................................................48
show ip protocol routing vrf ................................................48
show ip protocol routing vrf-summary ..................................49
show ip route mng.............................................................49
show ip route vpn..............................................................49
show ip route vrf ...............................................................50
show ip route vrf-summary.................................................50
show ip vrf .......................................................................50
show monitor session.........................................................51
tunnel checksum ...............................................................51
tunnel destination..............................................................52
tunnel key ........................................................................52
tunnel mode .....................................................................52
tunnel sequence ................................................................53
tunnel source....................................................................53

description
Purpose Use this command to set the description about a VRF. Delete the
description with the no form of this command.
Command Modes VRF configuration
Syntax description <string>
no description
Syntax
Description
<string> Description about the VRF, a string of 1~16
characters

Confidential and Proprietary Information of ZTE CORPORATION 43


ZXR10 Command Manual (MPLS Volume)

Defaults There is no description by default.


Example This example describes how to set the description about the VPN
named zte as ZTE-VPN.
ZXR10(config)#ip vrf zte
ZXR10(config-vrf)#description zte-vpn

export map
Purpose Use this command to set the export route map related to the VRF.
Delete the configuration with the no form of this command.
Command Modes VRF configuration
Syntax export map <map-tag>
no export map <map-tag>
Syntax
Description
<map-tag> Name of the route map, a string of 1~16
characters

Defaults There is no route map related to the VRF by default.


Example This example describes how to set export route map related to the
VPN named zte. The name of the route map is outmap.
ZXR10(config)#ip vrf zte
ZXR10(config-vrf)#export map outmap

Related import map


Commands

import map
Purpose Use this command to set the import route map related to a VRF.
Delete the configuration with the no form of this command.
Command Modes VRF configuration
Syntax import map <map-tag>
no import map <map-tag>
Syntax
Description
<map-tag> Name of the route map, a string of 1~16
characters

Defaults There is no route map related to the VRF by default.


Example This example describes how to set the import route map related
to the VPN named zte. The name of the route map is inmap.
ZXR10(config)#ip vrf zte
ZXR10(config-vrf)#import map inmap

44 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 3 MPLS BGP VPN Configuration

Related export map


Commands

ip vrf
Purpose Use this command to configure a VPN instance (VRF). Delete the
VRF with the no form of this command.
Command Modes Global configuration
Syntax ip vrf <vrf-name>
no ip vrf <vrf-name>
Syntax
Description
<vrf-name> NRF name, a string of 1~16 characters

Instructions � The name is only locally valid and it is used when some inter-
face is bounded with the VPN.
� Enter the VRF configuration mode after the command is exe-
cuted successfully.
Example This example describes how to configure a VPN named zte.
ZXR10(config)#ip vrf zte
ZXR10(config-vrf)#

ip vrf forwarding
Purpose Use this command to associate an interface with a VRF. Cancel the
association with the no form of this command.
Command Modes Interface configuration
Syntax ip vrf forwarding <vrf-name>
no ip vrf forwarding
Syntax
Description
<vrf-name> VRF name, a string of 1~16 characters

Defaults The interface is associated with the global routing table by default.
Instructions The original IP address of the interface where this command is
used is deleted, it needs reconfiguring.
Example This example describes how to associate the interface Loopback1
with the VPN named zte.
ZXR10(config)#interface loopback1
ZXR10(config-if)#ip vrf forwarding zte

Related ip vrf
Commands
rd

Confidential and Proprietary Information of ZTE CORPORATION 45


ZXR10 Command Manual (MPLS Volume)

maximum routes
Purpose Use this command to control the number of routes entering VRF
and give the related alarm.
Command Modes VRF configuration
Syntax maximum routes limit {warn threshold | warn-only}
no maximum routes
Syntax
Description
limit Maximum number of routes allowed, range:
1-42949672955

warn threshold Warn threshold in percent format, range:


1~100

warn-only Only gives a warning message if the maximum


upper limit is exceeded

Defaults None
Instructions This command is supported after the platform version 4. 8.21.
If it is the first time to configure this command, it needs configuring
with VRF instances.
Example 1. This example describes how to set the maximum number of
routes entering VRF as 1000. An alarm will appear when the
routes exceed 75% of the maximum upper limit.
ZXR10(config)#ip vrf zte
ZXR10(config-vrf)#Maximum routes 1000 75

2. This example describes how to set the maximum number of


routes entering VRF as 1000. An alarm will appear when routes
exceed the maximum upper limit.
ZXR10(config)#ip vrf zte
ZXR10(config-vrf)#Maximum routes 1000 warning-only

Related show ip vrf detail


Commands

monitor session
Purpose Use this command to configure port monitor session. Delete the
session with the no form of this command.
Command Modes Global configuration
Syntax monitor session <number>
no monitor session <number>
Syntax
Description
<number> Port monitor session number, range: 1~8

Instructions Only switches support port monitor configuration. Because ZXR10


5900 only support one session temporarily, this command does
not make sense for ZXR10 5900 and it has been deleted.

46 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 3 MPLS BGP VPN Configuration

monitor session destination


Purpose Use this command to add destination monitor ports into sessions.
Command Modes Interface configuration
Syntax monitor session <number> destination
no monitor session
Syntax
Description
<number> Port monitor session number, range: 1~8

monitor session source


Purpose Use this command to add source monitor port into session.
Command Modes Interface configuration
Syntax monitor session <number> source direction {both | cpu-rx |
cpu-tx | rx | tx}
no monitor session
Syntax
Description
<number> Port monitor session number, range: 1~8

both Direction of the traffic collecting is bidirectional

cpu-rx Direction of the traffic collecting is to CPU

cpu-tx Direction of the traffic collecting is from CPU

rx The direction of traffic collecting is receiving

tx The direction of traffic collecting is sending

rd
Purpose Use this command to configure a route distinguisher (RD) for the
VRF.
Command Modes VRF configuration
Syntax rd <route-distinguisher>
Syntax
Description
<route-distinguisher> Route distinguisher of the VRF, in two
formats: <1~65535>:<0~4294967295> or
A.B.C.D:<0~65535>

Defaults There is no route distinguisher by default.


Instructions The VRF does not take effect until the route distinguisher is con-
figured.
Examples This example describes how to configure an route distinguisher for
the VPN named zte.

Confidential and Proprietary Information of ZTE CORPORATION 47


ZXR10 Command Manual (MPLS Volume)

ZXR10(config)#ip vrf zte


ZXR10(config-vrf)#rd 1:1

route-target
Purpose Use this command to create route-target extended community at-
tribute related to the VRF. Delete the attribute with the no com-
mand.
Command Modes VRF configuration
Syntax route-target [import | export | both]<extended-community>
no route-target [import | export | both][<extended-commun
ity>]
Syntax
Description
import Imports routes to the VRF according to the
route-target extended community attribute

export Exports VRF routes carrying the route-target


extended community attribute

both Configures the parameters import and


export at the same time

<extended-communi Route-target extended commun-


ty> ity attribute, in two formats:
<1~65535>:<0~4294967295> or
A.B.C.D:<0~65535>

Defaults There is no route-target extended community attribute related to


the VRF by default.
Example This example describes how to configure the route-target extended
community attribute for the VPN named zte.
ZXR10(config)#ip vrf zte
ZXR10(config-vrf)#route-target import 1:1
ZXR10(config-vrf)#route-target export 1:1

show ip protocol routing vrf


Purpose Use this command to show information about the corresponding
VRF protocol routing table (incoming and outgoing labels).
Command Modes All modes
Syntax show ip protocol routing vrf <vrf-name>[network <ip-addre
ss>[mask <net-mask>]]

48 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 3 MPLS BGP VPN Configuration

Syntax
Description
<vrf-name> VRF name, a string of 1~16 characters

network <ip-addre Network number, in the dotted decimal format


ss>

mask <net-mask> Network mask, in the dotted decimal format

Instructions If the network number parameter is used, the networks matching


the parameter in the protocol routing table will be displayed. If
the network number and network mask parameters are used, the
protocol routes matching the address/mask will be displayed.

show ip protocol routing


vrf-summary
Purpose Use this command to show the total number of the corresponding
VRF routing tables.
Command Modes All modes
Syntax show ip protocol routing vrf-summary <vrf-name>
Syntax
Description
<vrf-name> VRF name, a string of 1~16 characters

show ip route mng


Purpose Use this command to show the route information of management
ports.
Command Modes All modes
Syntax show ip route mng
Example This example describes how to show the route information of man-
agement ports.
ZXR10#show ip route mng

show ip route vpn


Purpose Use this command to show the route information of VPN instances.
Command Modes All modes
Syntax show ip route vpn
Example This example describes how to show the route information of all
VPN instances.

Confidential and Proprietary Information of ZTE CORPORATION 49


ZXR10 Command Manual (MPLS Volume)

ZXR10#show ip route vpn

show ip route vrf


Purpose Use this command to show the VRF route information.
Command Modes All modes
Syntax show ip route vrf <vrf-name>[network <ip-address>[mask
<net-mask>]]
Syntax
Description
<vrf-name> VRF name, a string of 1~16 characters

network <ip-addre Network IP address, in the dotted decimal


ss> format

mask <net-mask> Subnet mask, in the dotted decimal format

Example This example describes how to show the route information of the
VRF named zte.
ZXR10#show ip route vrf zte

show ip route vrf-summary


Purpose Use this command to show the total number of VRF routes.
Command Modes All modes
Syntax show ip route vrf-summary <vrf-name>
Syntax
Description
<vrf-name> VRF name, a string of 1~16 characters

Example This example describes how to show the total number of routes in
the VRF named zte.
ZXR10#show ip route vrf-summary zte

show ip vrf
Purpose Use this command to show the VRF configuration information.
Command Modes All modes
Syntax show ip vrf [brief | detail | interfaces | summary][<vrf-nam
e>]

50 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 3 MPLS BGP VPN Configuration

Syntax
Description
brief Shows the brief VRF information and related
interfaces

detail Shows the detailed VRF information and


related interfaces

interfaces Shows the detailed information of interfaces


associated with the VRF

summary Displays the current VPN total number and


the maximum configured VPN number on the
rack

<vrf-name> Shows the detailed information of interfaces


associated with the VRF

Example This example describes how to show the detailed configuration in-
formation of all the VRFs.
ZXR10#show ip vrf detail

show monitor session


Purpose Use this command to show the content of monitor session entry.
Command Modes Privileged EXEC
Syntax show monitor session <number>
Syntax
Description
<number> Port monitor session number, range: 1~8

tunnel checksum
Purpose Use this command to configure local GRE tunnel to enable the tun-
nel checksum option. Cancel the configuration with the no form
of this command.
Command Modes Interface configuration
Syntax tunnel checksum
no tunnel checksum
Example This example describes how to configure local GRE tunnel to enable
the tunnel checksum option.
ZXR10(config)#interface fei_5/1
ZXR10(config-if)#tunnel checksum

Confidential and Proprietary Information of ZTE CORPORATION 51


ZXR10 Command Manual (MPLS Volume)

tunnel destination
Purpose Use this command to configure a destination address for the tun-
nel. Cancel the configuration with the no form of this command.
Command Modes Interface configuration
Syntax tunnel destination {ipv4 | ipv6}<ip-address>
no tunnel destination
Syntax
Description
<ip-address> Destination IP address or IPv6 address of the
tunnel

Example This example sets the destination address of the tunnel as


10.10.10.2:
ZXR10(config)#interface fei_7/1
ZXR10(config-if)#tunnel destination ipv4 10.10.10.2

History command tunnel source <ip-address>


This command is expressed before the platform version V4.6.01.
The keywords IPv4 and IPv6 are provided after the platform ver-
sion V4.6.01.

tunnel key
Purpose Use this command to configure local GRE tunnel to enable the key
option and configure a key. Cancel the configuration with the no
form of this command.
Command Modes Interface configuration
Syntax tunnel key <key>
no tunnel key
Syntax
Description
<key> Tunnel key, range: 0~4294967295

tunnel mode
Purpose Use this command to configure the tunnel mode. Cancel the con-
figuration with the no form of this command.
Command Modes Interface configuration
Syntax tunnel mode {gre ip | mpls traffic-eng | ipv6ip [6to4]|ipip
v6}
no tunnel mode

52 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 3 MPLS BGP VPN Configuration

Syntax
Description
gre ip Configures the tunnel as GRE tunnel

mpls traffic-eng Configures the tunnel as mpls traffic engine


tunnel

ipv6ip Configures the tunnel as ipv6 over ip tunnel


(provided only in the project supporting IPv6)

ipv6ip 6to4 Configures the tunnel as 6to4 tunnel


(provided only in the project supporting IPv6)

ipipv6 Configures the tunnel as 4in6 tunnel (provided


only in the project supporting IPv6)

Instructions ZXR10 5900 series support 6in4 and 6to4 tunnels only. The other
types of routers and switches supports all of kinds of tunnels.
Example This example describes how to configure the tunnel as GRE tunnel.
ZXR10(config)#interface fei_7/1
ZXR10(config-if)#tunnel mode gre ip

tunnel sequence
Purpose Use this command to configure local GRE tunnel to enable the tun-
nel sequence option. Cancel the configuration with the no form of
this command.
Command Modes Interface configuration
Syntax tunnel sequence
no tunnel sequence

tunnel source
Purpose Use this command to configure the source address for the tunnel.
Cancel the configuration with the no form of this command.
Command Modes Interface configuration
Syntax tunnel source {ipv4 | ipv6}<ip-address>
no tunnel source
Syntax
Description
<ip-address> Source IP address or IPv6 address of the
tunnel

Example This example describes how to set the source address of the tunnel
as 10.10.10.1.
ZXR10(config)#interface fei_2/1 ZXR10(config-if)#tunnel
source ipv4 10.10.10.1

History Command tunnel source <ip-address>

Confidential and Proprietary Information of ZTE CORPORATION 53


ZXR10 Command Manual (MPLS Volume)

This command is expressed before the platform version v4.6.01.


The keywords ipv4 and ipv6 are provided after the platform ver-
sion v4.6.01.

54 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 4

VPLS Configuration

Table of Contents
clear flowstat vpls..............................................................55
clear flowstat vpws ............................................................56
clear mac-table vfi.............................................................56
peer ................................................................................57
pwtype ............................................................................58
show mac-filter .................................................................59
show mac-table.................................................................59
show mpls l2transport vc vpls .............................................60
show mpls l2transport vpn summary....................................62
show vfi ...........................................................................62
show vfi brief ....................................................................63
stp-tunnel enable ..............................................................64
vcid .................................................................................64
vpls apply-mac-filter ..........................................................65
vfi ...................................................................................66
vfi mspw ..........................................................................66
vpls mac-filter...................................................................67
vlan range ........................................................................68
xconnect vfi ......................................................................68

clear flowstat vpls


Purpose Use this command to clear the flow statistics information to which
VPLS corresponds.
Command Modes Privileged EXEC
Syntax clear flowstat vpls [vfi <vfi-name>]
clear flowstat vpls
Syntax
Description
<vfi-name> VFI name that VPLS example(to clear flow
statistic) corresponds to

Instructions Clera VPLS flow statistics information by force.


Only ZXR10 6900 and ZXR10 8900 support this command.
Example This example describes how to clear vfi1 and all vfi flow.
ZXR10#clear flowstat vpls vfi vfi1
ZXR10#clear flowstat vpls

Confidential and Proprietary Information of ZTE CORPORATION 55


ZXR10 Command Manual (MPLS Volume)

Related show mac-table


Commands

clear flowstat vpws


Purpose Use this command to clear the flow statistics information to which
VPWS corresponds.
Command Modes Privileged EXEC
Syntax clear flowstat vpws vcid <vcid>
clear flowstat vpws vlanid <vlan-id>
Syntax
Description
<vcid> Vcid that VPWS corresponds to

<vlan-id> Vlan-id that VPWS corresponds to

Instructions Clera VPWS flow statistics information by force.


Only ZXR10 6900 and ZXR10 8900 support this command.
Example This example describes how to clear VPWS flow statistics.
ZXR10#clear flowstat vpws vcid 2
ZXR10#clear flowstat vpws vlanid 2

Related show mac-table


Commands

clear mac-table vfi


Purpose Use this command to clear the MAC address table of the specified
virtual private LAN service (VPLS).
Command Modes Privileged EXEC
Syntax clear mac-table vfi <vfi-name>
Syntax
Description
<vfi-name> Corresponding VFI name of the VPLS instance
of the MAC address to be cleared

Instructions � Use this command to force to clear the MAC address forwarding
table of the VPLS instead of clear the MAC address by aging it.
� This command is provided only for ZXR10 GER and ZXR10
T64E/T128.
Example This example describes how to clear the MAC address table of vfi1.
ZXR10#clear mac-table vfi vfi1

56 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 4 VPLS Configuration

Related show mac-table


Commands

peer
Purpose Use this command to specify the addresses of other PEs in the
same VPLS domain and establish pseudo-wires. Delete the estab-
lished pseudo-wires with the no form of this command.
Use this command to configure a pair of addresses of other PEs
and the vcid in a static multi-hop pseudo-wire S-PE instance, and
establish pseudo-wires. Delete the established pseudo-wires with
the no form of this command.
Command Modes VFI configuration and CFI MSPW configuration
Syntax For VFI configuration mode,
peer <peer-ip-address>[spoke][tunnel <tunnel-number>]
no peer <peer-ip-address>
For VFI MSPW configuration mode,
peer <peer-ip-address> vcid <vcid>
no peer <peer-ip-address>
Syntax
Description
<peer-ip-address> IP address of the peer PE, in general it is the
router identifier

spoke If the optional parameter spoke is specified,


the type of pseudo-wire is spoke; otherwise,
it is hub

<tunnel-number> Tunnel number used for establishing VPLS,


range: 1~1024

<vcid> Different VPLS instances of the same PE has a


different vcid, VPLS instances with the same
vcid of the different PEs belongs to the same
VPLS, range: 1~4294967294

Defaults The default peer type is “hub” in VFI configuration mode.


The default peer type is “spoke” in VFI MSPW configuration mode.
Instructions This command is supported after the platform version 4.6.02. This
command is supported to be configured under vfi mspw configu-
ration mode after the platform version 4.8.20.
The current solution does not support the VPLS automatic discov-
ery mechanism, thus it is necessary to specify all PE addresses in
the same VPLS. This command uses the parameters specified in
the vcid and pwtype commands to establish a pseudo-wire with
the designated PE. The spoke type is used for VPLS hierarchy and
cross-domain.
Example 1. This example describes how to execute the peer command in
VFI configuration mode on the PE.
ZXR10(config)#vfi vfi1

Confidential and Proprietary Information of ZTE CORPORATION 57


ZXR10 Command Manual (MPLS Volume)

ZXR10(config-vfi)#peer 4.4.4.4

2. This example describes how to execute the peer command in


VFI MSPW configuration mode on the PE.
ZXR10(config)#vfi mspw vfi1
ZXR10(config-vfi-mspw)#peer 4.4.4.4 vcid 40

Related vfi
Commands
vcid
pwtype
vfi mspw

pwtype
Purpose Use this command to specify the type of a pseudo-wire established
by the VPLS instance.
Use this command to specify the type of a pseudo-wire in a static
multi-hop pseudo-wire S-PE configuration instance.
Command Modes] VFI configuration or VFI MSPW configuration
Syntax pwtype {ethernet | ethernet-vlan}
Syntax
Description
ethernet | Pseudo-wire type: Ethernet or Ethernet-vlan
ethernet-vlan

Instructions This command is supported after the platform version 4.6.02.


When a pseudo-wire is established between two PEs, there must
be the negotiation about the type of the pseudo-wire established.
There are two types of the pseudo-wire in VPLS: Ethernet and
Ethernet-vlan. The establishment of a pseudo-wire will fail if the
pseudo-wire types designated by PEs are different.
The two pseudo-wire types correspond to two ways for providing
the VPLS service. If the pseudo-wire type is Ethernet, the VPLS
service is provided in the transparent mode. That is, the PE directly
forwards the user data without checking or processing the vlan
tag of the user data. In this case, the the vlan tag is regarded
as the distinguisher for the user to manage private networks. In
this mode, the input interface offered to the user must be the real
interface.
If the pw type is Ethernet-vlan, the VPLS service is provided in
the rewrite mode. That is, the ingress PE router peels off the vlan
tag in the user data and then forwards the pseudo-wire , while the
egress PE attaches the corresponding vlan tag to the user data
according to the outgoing interface type and then forwards it to
the user.
Example 1. This example describes how to configure the pseudo-wire type
in VFI configuration mode on the PE.
ZXR10(config)#vfi vfi1
ZXR10(config-vfi)#pwtype Ethernet

58 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 4 VPLS Configuration

2. This example describes how to configure the pseudo-wire type


in VFI MSPW configuration mode on the PE.
ZXR10(config)#vfi vfi1
ZXR10(config-vfi-mspw)#pwtype mspw ethernet

Related vfi
Commands
vcid
peer
no peer

show mac-filter
Purpose Use this command to show detailed information about the filtering
of some VPLS MAC .
Command Modes Global configuration
Syntax show mac-filter <rule_number>
Syntax
Description
<rule_number> Rule number for MAC filtering, range: 0~127

Instructions This command is supported by ZXR10 T64E/T128.


Example This example describes how to show detaiedl information about
the filtering of some VPLS MAC .
ZXR10(config)#show mac-filter 1
RuleNo FilterNo MAC_Bottom MAC_Top
1 1 0001.0002.0003 0001.0002.0003
1 0 0002.0003.0004 0002.0003.0006
1 2 0003.0004.0005 0003.0004.0007

The displayed field descriptions are shown below.

Field Description

RuleNo Filter rule number

FilterNo Filter rule entry number

MAC_Bottom Filter rule entry number

MAC_Top Maximum MAC address to be filtered

show mac-table
Purpose Use this command to show the MAC table of a VPLS instance.
Command Modes User EXEC and privileged EXEC
Syntax show mac-table <vfi-name>

Confidential and Proprietary Information of ZTE CORPORATION 59


ZXR10 Command Manual (MPLS Volume)

Syntax
Description
<vfi-name> Name of the Virtual Forwarding Instance (VFI)
in the VPLS

Instructions This command is provided only for ZXR10 GER and ZXR10
T64E/T128.
Example This example describes how to show the MAC table of the vfi1.
ZXR10#show mac-table vfi1
MAC peer-address outIntLab outExtLab outInterface type
0000.0000.2009 Local NULL NULL fei_7/8 dynamic
0000.0000.3005 1.1.1.1 16 3 fei_7/5 dynamic
0000.0000.3004 1.1.1.1 16 3 fei_7/5 dynamic

The displayed field descriptions are shown below.

Field Description

MAC MAC address

peer-address Peer address, namely the remote address

outIntLab Inner outgoing label

outExtLab Outer outgoing label

outInterface Outgoing interface

type MAC address type, statically configured or


dynamically learned

Related clear mac-table vfi


Commands

show mpls l2transport vc


vpls
Purpose Use this command to display information about the pseudo-wire
successfully established .
Command Modes User EXEC and privileged EXEC
Syntax show mpls l2transport vc vpls [{[vcid <vc-id>[<max-vc-id
>]][vfi <vfi-name>][destination <ip-address>][detail]}]
Syntax
Description
<vc-id> Shows VPLS information corresponding with
the designated vc-id, or shows the minimal
vc-id value, range: 0~42949672955

<max-vc-id> Shows the maximal vc-id value, range:


0~42949672955

<vfi-name> Shows VPLS information of the VFI with the


designated name

60 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 4 VPLS Configuration

<ip-address> Shows information about the pseudo—wire


established with the designated peer address

detail Shows detailed VPLS information

Instructions This command is supported after the platform version 4.6.02.


Example 1. This example describes how to show VPLS information of the
VFI named 1.
ZXR10#show mpls l2 vc vpls vfi 1
VFIName LocalCircuit DestAddress VC ID Status
1 VFI 7.7.7.7 1 up
1 VFI 6.6.6.6 1 up

2. This example describes how to show detailed VPLS information


of the VFI named 1.
ZXR10#show mpls l2transport vc vpls vfi 1 detail
Local interface: VFI 1 up
Destination address: 7.7.7.7, VC ID: 1, VC status: up
Tunnel label:
Output interface: fei_3/7, imposed label stack { 16, 17 }
Create time: 00:00:18, last status change time: 00:00:18
Signalling protocol: LDP, peer 7.7.7.7 : 0, up
MPLS VC labels: local 2518, remote 17
Group ID: local 0, remote 0
MTU: local 1500, remote 1500
Remote interface description:
Sequencing: receive disabled, send disabled
Local interface: VFI 1 up
Destination address: 6.6.6.6, VC ID: 1, VC status: up
Tunnel label:
Output interface: fei_3/6, imposed label stack { 50016, 50017 }
Create time: 00:00:18, last status change time: 00:00:18
Signalling protocol: LDP, peer 6.6.6.6 : 0, up
MPLS VC labels: local 2517, remote 50017
Group ID: local 0, remote 0
MTU: local 1500, remote 1500
Remote interface description:
Sequencing: receive disabled, send disabled

The displayed field descriptions are shown below.

Field Description

VFIName VFI name

LocalCircuit Local link type, it indicates the L2VPN VPLS


in this example

DestAddress Remote destination address

VC ID VC identifier

Status VC status of the VPLS

Confidential and Proprietary Information of ZTE CORPORATION 61


ZXR10 Command Manual (MPLS Volume)

Related show mpls l2transport vpn summary


Commands

show mpls l2transport vpn


summary
Purpose Use this command to show the number of VPWSs and VPLSs in the
L2VPN.
Command Modes User EXEC and privileged EXEC
Syntax show mpls l2transport vpn summary
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to show the number of L2VPNs con-
figured on the router.
ZXR10#show mpls l2transport vpn summary
The summary information about configured l2 vpn:
vpn_type current/max
vpws 0/1501
vpls 3/4096

Related show mpls l2transport vc vpls


Commands

show vfi
Purpose Use this command to show detailed information about some virtual
forwarding instance (VFI).
Command Modes User EXEC and privileged EXEC
Syntax show vfi <vfi-name>
Syntax
Description
<vfi-name> Designated virtual forwarding instance (VFI)
name in VPLS

Instructions This command is provided only for ZXR10 GER, ZXR10 T64E/T128,
and ZXR10 6900/8900.
Example This example describes how to show detailed information of a VPLS
virtual forwarding instance (VFI).
ZXR10(config)#show vfi aa
Flag: (spoke) Spoke type PW
(tunnelId:X) Get outer label from MPLSTE tunnel and X is
tunnel ID
Vfi name: aa VCID: 10 PwType: Ethernet StpTunnel: Stp
Enable
Local attachment circuit:
fei_3/1.1
Vlan id: 1
Neighbors connected via pseudowires:
15.15.15.15

The displayed field descriptions are shown below.

62 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 4 VPLS Configuration

Field Description

spoke Topology type is spoke

tunnelId:X The outer tunnel encapsulation type is


RSVPTE, X indicates the corresponding tunnel
identifier

Vfi name Virtual forwarding instance (VFI) name

Local attachment Circuit interfaces locally bounded


circuit

Vlan id VLAN identifier of the interface in the


Ethernet-vlan instance
Vlan range VLAN range of the interface in the Ethernet
instance

Neighbors connected Indicates that those PEs are in adjacency


via pseudowires relations with local instance

Related show vfi brief


Commands

show vfi brief


Purpose Use this command to show brief information about all VPLS in-
stances configured.
Command Modes User EXEC and privileged EXEC
Syntax show vfi brief
Instructions This command is provided only for the ZXR10 GER and ZXR10
T64E/T128.
Example This example describes how to show the current VPLS virtual for-
warding instance (VFI) table.
ZXR10#show vfi brief
Total VFI number is 2
VFI name VCID PWtype
aa 2 Ethernet-vlan
vfi 1 Ethernet

The displayed field descriptions are shown below.

Field Description

Total VFI number is 2 Total number of currently configured virtual


forwarding instances (VFIs)

VFI name Virtual forwarding instance (VFI) name

Name of the VFI VC identifier of the virtual forwarding instance


(VFI)

PWtype Forwarding mode of this instance

Confidential and Proprietary Information of ZTE CORPORATION 63


ZXR10 Command Manual (MPLS Volume)

Related show vfi


Commands

stp-tunnel enable
Purpose Use this command to set stp tunnel in vfi.
Command Modes Vfi configuration
Syntax stp-tunnel enable
no stp-tunnel enable
Syntax
Description
enable Enables STP tunnel in vfi.

Instructions The platform version 4.8.22 and upgrade versions support this
command.
Use this command to set VPLS stp tunnel.
Example This example describes how to set stp tunnel in vfi.
ZXR10(config-vfi)#stp-tunnel enable

Related no vfi
Commands
vid
pwtype
peer
no peer
vpls mac-filter

vcid
Purpose Use this command to specify a virtual channel identifier (VCID) for
the VPLS instance.
Command Modes VFI configuration
Syntax vcid <vcid>
Syntax
Description
<vcid> Different VPLS instances on the same PE
have different virtual channel identifiers
(VCIDs), and VPLS instances with the same
virtual channel identifier (VCID) on different
PEs belong to the same VPLS, range:
1~4294967296

Instructions This command is supported after the platform version 4.6.02.


If VPLS instances on two PE routers belong to the same VPLS, a
pseudo wire (PW) must be established between the PEs for com-
munication of these VPLS instances. The pseudo wire (PW) is es-

64 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 4 VPLS Configuration

tablished to exchange MPLS inner labels which identifies VPLS be-


tween two PEs. MPLS inner labels are also named virtual channel
(VC) labels (the pseudo wire (PW) is composed of the VC label
and the MPLS outer label of the LSP). The virtual channel identi-
fier (VCID) configured by this command is used to identify different
VPLS when VC labels are exchanged between PEs.
Example This example describes how to configure the virtual channel iden-
tifier (VCID) as 100 on the PE.
ZXR10(config)#vfi vfi1
ZXR10(config-vfi)# vcid 100

Related vfi
Commands
pwtype
peer

vpls apply-mac-filter
Purpose Use this command to apply MAC filter rule to a virtual forwarding
instance (VFI) on the PE.
Command Modes VFI configuration
Syntax vpls apply-mac-filter <rule_number> global
no vpls apply-mac-filter <rule_number> global
Syntax
Description
<rule_number> MAC filter rule number

global All members of this virtual forwarding


instance (VFI) are valid

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


� Use this command to apply VPLS MAC filtering.
Example This example describes how to apply MAC filter rule to a virtual
forwarding instance (VFI) member on the PE.
ZXR10(config)#vfi vfi1
ZXR10(config-vfi)#vpls apply-mac-filter 1 global

Related no vfi
Commands
vcid
pwtype
peer
no peer
vpls mac-filter

Confidential and Proprietary Information of ZTE CORPORATION 65


ZXR10 Command Manual (MPLS Volume)

vfi
Purpose Use this command to create a VPLS instance on the PE. Delete the
VPLS instance with the no form of this command.
Command Modes Global configuration
Syntax vfi <vfi-name>
no vfi <vfi-name>
Syntax
Description
<vfi-name> Virtual forwarding instance (VFI), namely the
name of L2 VPN

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


� A virtual forwarding instance (VFI) is a VPLS instance on the PE
router. The virtual forwarding instances (VFIs) with the same
virtual channel identifier (VCID) on different PEs belong to the
same VPLS and they can communicate with each other. After
this command is executed, enter the VFI configuration mode.
Example This example describes how to configure a name for the VPLS in-
stance on the PE.
ZXR10(config)#vfi vfi1
ZXR10(config-vfi)#

Related no vfi
Commands
vid
pwtype
peer
no peer

vfi mspw
Purpose Use this command to configure the multi-hop static pseudo wire
(PW) S-PE.
Command Modes Global configuration
Syntax vfi mspw <vfi-name>
no vfi mspw <vfi-name>
Syntax
Description
<vfi-name> S-PE MSPW VFI name

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


� MSPW VFI is a configuration on PE router, which acts as S-PE
node to implement multi-hop static PW forwarding. This con-
figuration allows the configuration instance to act as a forward-
ing relaying node of the static multi-hop pseudo wire (PW). Use
this command to enter VFI MSPW configuration mode.

66 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 4 VPLS Configuration

Example This example describes how to configure static multi-hop pseudo


wire (PW) forwarding relaying on the PE.
ZXR10(config)#vfi mspw vfi1
ZXR10(config-vfi-mspw)#

Related no vfi mspw


Commands
pwtype
peer
no peer

vpls mac-filter
Purpose Use this command to create a VPLS MAC filter rule, including the
entries. Delete the VPLS MAC filter rule with the no form of this
command.
Command Modes Global configuration
Syntax vpls mac-filter-rule <rule_number><single | range><filter_nu
mber><mac-addr><mac-addr>
no vpls mac-filter-rule <rule_number><filter_number>
Syntax
Description
<rule_number> MAC filter rule number

<single | range> Filter rule type. single or range

<filter_number> MAC filter entry number

<mac-addr> MAC address

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


� Use this command to implement VPLS MAC filtering.
Example This example describes how to configure the VPLS instance name
on the PE.
ZXR10(config)#vpls mac-filter-rule 1
ZXR10(config)#vpls mac-filter-rule 1 single 1 0001.0002.0003

Related no vfi
Commands
vid
pwtype
peer
no peer

Confidential and Proprietary Information of ZTE CORPORATION 67


ZXR10 Command Manual (MPLS Volume)

vlan range
Purpose Use this command to configure the VLAN range on the real inter-
face bounded with the VFI attribute.
Command Modes VFI interface configuration
Syntax vlan range <range num><bottom limit><top limit>
no vlan range <range num>
Syntax
Description
<range num> VLAN range number, range: 1~3

<bottom limit> Lower limit of the VLAN range

<top limit> Upper limit of the VLAN range

Instructions Three VLAN ranges can be configured on local interface once.


This command is provided only for ZXR10 GER and ZXR10
T64E/T128.
Example This example describes how to configure a VLAN range in PE VFI
interface configuration mode.
ZXR10(config)#vfi vfi1
ZXR10(config-vfi)#vlan range 1 10 80

Related no vlan range


Commands

xconnect vfi
Purpose Use this command to add local interface to a virtual forwarding
instance (VFI). Cancel the setting with the no form of this com-
mand.
Command Modes Interface configuration
Syntax xconnect vfi <vfi-name>
no xconnect vfi
Syntax
Description
<vfi-name> Virtual forwarding instance (VFI) name

Instructions � Use this command to add local interface to a virtual forward-


ing instance (VFI), and this interface is used to access virtual
private LAN service (VPLS) for users. The data received from
this interface is user data.
� This command is provided only for ZXR10 GER and ZXR10
T64E/T128.
Example This example describes how to add the interface fei_3/1 to vfi1 in
PE interface mode.
ZXR10(config)#interface fei_3/1
ZXR10(config-if)#xconnect vfi vfi1

68 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5

MPLS Traffic Engineer


ing Configuration

Table of Contents
clear ip rsvp authentication .................................................70
ip explicit-path ..................................................................70
ip rsvp authentication ........................................................71
ip rsvp authentication challenge ..........................................71
ip rsvp authentication challenge-imp ....................................72
ip rsvp authentication lifetime .............................................72
ip rsvp authentication key passphrase ..................................73
ip rsvp authentication type .................................................73
ip rsvp authentication window-size.......................................74
ip rsvp bandwidth ..............................................................74
ip rsvp bfd........................................................................75
ip rsvp signalling hello graceful-restart .................................76
ip rsvp signalling hello graceful-restart refresh interval ...........76
ip rsvp signalling hello graceful-restart refresh misses ............77
ip rsvp signalling hello graceful-restart timers recov-
ery-time...........................................................................77
ip rsvp signalling hello graceful-restart timers restart-
time ................................................................................78
ip rsvp signalling refresh interval .........................................78
ip rsvp signalling refresh misses ..........................................79
mpls oam(Global Configuration) ..........................................79
mpls oam(Interface Configuration).......................................80
mpls static tunnel ..............................................................80
mpls traffic-eng ds-te.........................................................81
mpls traffic-eng ds-te bc-mode............................................81
mpls traffic-eng ds-te exp-maps ..........................................82
mpls traffic-eng ds-te te-class .............................................82
mpls traffic-eng signaling advertise implicit-null.....................83
mpls traffic-eng tunnels(Global Configuration) .......................84
mpls traffic-eng tunnels(Interface Configuration) ...................84
show ip rsvp authentication ................................................85
show ip explicit-path ..........................................................86
show ip rsvp hello graceful-restart .......................................87
show ip rsvp refresh parameter ...........................................87
show mpls traffic-eng autoroute ..........................................88
show mpls traffic-eng ds-te exp-map ...................................88
show mpls traffic-eng ds-te te-class .....................................89
show mpls traffic-eng interface detail ...................................90
show mpls traffic-eng tunnels..............................................91
show mpls traffic-eng tunnels remote-tunnel.........................93
tunnel mpls oam back-up-lsp tunnel ....................................94
tunnel mpls oam tunnelid ...................................................94
tunnel mpls oam type ........................................................95

Confidential and Proprietary Information of ZTE CORPORATION 69


ZXR10 Command Manual (MPLS Volume)

tunnel mpls traffic-eng autoroute announce ..........................95


tunnel mpls traffic-eng autoroute metric ...............................96
tunnel mpls traffic-eng bandwidth........................................97
tunnel mpls traffic-eng bfd..................................................97
tunnel mpls traffic-eng class-type ........................................98
tunnel mpls traffic-eng path-option ......................................98
tunnel mpls traffic-eng record-route.....................................99
tunnel mpls traffic-eng tunnels priority ............................... 100
tunnel static ingress......................................................... 100

clear ip rsvp authentication


Purpose Use this command to clear the Security Assistant (SA) of RSVP on
local device.
Command Modes Privileged EXEC
Syntax clear ip rsvp authentication [A.B.C.D][send | receive]
Syntax
Description
A.B.C.D Neighbor address

send Clears the sendSA relationship with the


neighbor

receive Clears the recvSA relationship with the


neighbor

Instructions � This command is an optional command.


� This command is supported after the platform version 4.8.21.
Example This example describes how to clear all security assistant relation-
ships on local node.
ZXR10#clear ip rsvp authentication

ip explicit-path
Purpose Use this command to configure the next hop for an explicit path in
traffic engineering.
Command Modes Global configuration
Syntax ip explicit-path {name <name>| identifier <identifier>} next
-address <A.B.C.D>{loose | strict}
no ip explicit-path {name <name>| identifier <identifier>}
Syntax
Description
name <name> Explicit path name, 1~16 characters

identifier <identifi Explicit path identifier, range: 1~65535


er>

70 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

strict Strict path

loose Loose path

<A.B.C.D> IP address of the neighbor node, in the dotted


decimal notation

Defaults There is no explicit path by default.


Instructions Use this command to configure an explicit path and specify the
next hop information for the traffic engineering tunnel. The path
can be identified by a name or a digit, and its next hops are ranked
with the sequence configured.
Example This example describes how to configure a explict path named test.
The next hop is a loose path 100.1.1.1.
ZXR10(config)#ip explicit-path name test next-address 100.1.1.1 loose

ip rsvp authentication
Purpose Use this command to enable RSVP authentication on the interface.
Cancel this configuration with the no form of this command.
Command Modes Interface configuration
Syntax ip rsvp authentication
no ip rsvp authentication
Defaults There is no RSVP authentication on the interface by default.
Instructions � This command is a must. This command must be configured
on the interface for enabling RSVP authentication.
� This command is supported after the platform version 4.8.21.
Example This example describes how to enable RSVP authentication on the
interface fei_1/1.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rsvp authentication

ip rsvp authentication
challenge
Purpose Use this command to enable challenge mechanism on the inter-
face of local device. The interface as a receiver requires challenge
mechanism be used to confirm the first sequence. If the neigh-
bor fails to pass the challenge, neighbor packets are not received.
Disable this function with the no form of this command.
Command Modes Interface configuration
Syntax ip rsvp authentication challenge

Confidential and Proprietary Information of ZTE CORPORATION 71


ZXR10 Command Manual (MPLS Volume)

no ip rsvp authentication challenge


Defaults The behavior of this command is disabled on the interface by de-
fault.
Instructions � This command is an optional command.
� This command is supported after the platform version 4.8.21.
Example This example describes how to enable challenge mechanism on
the interface fei_1/1.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rsvp authentication challenge

ip rsvp authentication
challenge-imp
Purpose Use this command to make the interface as the sender require the
challenge mechanism be used on the interface, the interface acts
as a sender. Disable this function by using the no form of this
command.
Command Modes Interface configuration
Syntax ip rsvp authentication challenge-imp
no ip rsvp authentication challenge-imp
Defaults The behavior is enabled by default.
Instructions � This command is an optional command.
� This command is supported after the platform version 4.8.21.
Example This example describes how to make the interface as the sender
require the challenge mechanism be used on the interface fei_1/1.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rsvp authentication challenge-imp

ip rsvp authentication lifetime


Purpose Use this command to configure the lifetime of the authentication
key on the interface. Restore the default value with the no form
of this command.
Command Modes Interface configuration
Syntax ip rsvp authentication lifetime <lifetime>
no ip rsvp authentication lifetime
Syntax
Description
<lifetime> Life time of the authentication key in seconds,
range: 1~86400

Defaults The default lifetime is 1800 seconds (30 minutes).

72 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

Instructions � This command is an optional command for configuring the life-


time of the password of the RSVP authentication on the inter-
face. Each interface supports the lifetime of security assistant
(SA). If the SA is not used during the lifetime, it will not be
deleted. If the SA is used during the lifetime, it will be re-
served.
� This command is supported after the platform version 4.8.21.
Example This example describes how to configure the lifetime of the au-
thentication key as 5 seconds.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rsvp authentication lifetime 5

ip rsvp authentication key


passphrase
Purpose Use this command to configure RSVP authentication key on the
interface. Clear this configuration with the no form of this com-
mand.
Command Modes Interface configuration
Syntax ip rsvp authentication key passphrase <passphrase>
no ip rsvp authentication key passphrase
Syntax
Description
<passphrase> Authentication key configured by user, 8~40
characters

Defaults The interface adopts “rsvpteauth” as the key by default.


Instructions � This command is an optional command.
� This command is supported after the platform version 4.8.21.
Example This example describes how to configure the RSVP authentication
key as zxr102008.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rsvp authentication key passphrase zxr102008

ip rsvp authentication type


Purpose Use this command to configure RSVP authentication type (MD5 or
SHA1). Restore the default type MD5 with the no form of this
command.
Command Modes Interface configuration
Syntax ip rsvp authentication type {md5 | sha1}
no ip rsvp authentication type

Confidential and Proprietary Information of ZTE CORPORATION 73


ZXR10 Command Manual (MPLS Volume)

Syntax
Description
md5 MD5 authentication type

sha1 SHA1 authentication type

Defaults MD5 authentication type is adopted on the interface by default.


Instructions � This command is an optional command.
� This command is supported after the platform version 4.8.21.
Example This example describes how to configure the RSVP authentication
type as MD5 on the interface.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rsvp authentication type md5

ip rsvp authentication
window-size
Purpose Use this command to configure the authentication window size.
Restore the default value with the no form of this command.
Command Modes Interface configuration
Syntax ip rsvp authentication window-size <window-size>
no ip rsvp authentication window-size
Syntax
Description
<window-size> Authentication window size, range: 1~64

Defaults The authentication window size is 1 by default.


Instructions � This command is an optional command for configuring the
RSVP authentication window size on the interface. When
packets are received, the authentication window is used to
save the sequence recently received. If the sequence of the
subsequent packet is new, or it is in the authentication window
but it is never used, it will be received. Otherwise, it will be
refused.
� This command is supported after the platform version 4.8.21.
Example This example describes how to configure the authentication win-
dow size as 5.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rsvp authentication window-size 5

ip rsvp bandwidth
Purpose Use this command to configure the TE bandwidth in interface con-
figuration mode on the interface. Restore default with the no form
of this command.

74 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

Command Modes Interface configuration


Syntax ip rsvp bandwidth <interface-kbps><perflow-kbps>[{bc1 <bc1
-bw-kbps>}]
no ip rsvp bandwidth
Syntax
Description
<interface-kbp> 1~10000000 Maximal bandwidth supporting
traffic engineering on the interface, unit:
kbps, range: 1~10000000

<perflow-kbps> Maximal bandwidth of the flow the traffic


engineering passing through the interface,
unit: kbps, range: 1~10000000

<bc1-bw-kbps> Bcl bandwidth configured by the user, unit:


kbps, range: 1~10000000

Defaults By default, this command is disabled. And the maximal usable


bandwidth of traffic engineering on the interface and that of an
LSP are 75% of the physical bandwidth.
Instructions The maximal bandwidth configured by this command is invalid if
the bandwidth occupied by the UP tunnel is larger than the config-
ured value. In this case, users must shut down the corresponding
UP tunnel to release the occupied bandwidth.
Example This example describes how to configure the maximum TE band-
width as 20000kbps, the maximum flow bandwidth as 2000kpbs.
ZXR10(config)#interface gei_1/1
ZXR10(config-if)#ip rsvp bandwidth 20000 2000

ip rsvp bfd
Purpose Use this command to configure RSVP Bidirectional Forwarding De-
tection (BFD) function on the interface. Delete the configuration
with the no form of this command.
Command Modes Interface configuration
Syntax ip rsvp bfd
no ip rsvp bfd
Defaults The behavior of this command is disabled by default.
Instructions When there is no tunnel passing through this interface, Bidirec-
tional Forwarding Detection (BFD) sessions are not established
even if this command is configured.
Example This example describes how to configure Bidirectional Forwarding
Detection (BFD) function on the interface.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rsvp bfd

Confidential and Proprietary Information of ZTE CORPORATION 75


ZXR10 Command Manual (MPLS Volume)

ip rsvp signalling hello


graceful-restart
Purpose Use this command to enable the graceful restart (GR) function of
MPLS traffic engineering. Disable this function with the no form of
this command.
Command Modes Global configuration
Syntax ip rsvp signalling hello graceful-restart
no ip rsvp signalling hello graceful-restart
Defaults This function is disabled by default.
Example This example describes how to enable the graceful restart (GR)
function of MPLS traffic engineering.
ZXR10(config)#ip rsvp signalling hello graceful-restart

ip rsvp signalling hello


graceful-restart refresh
interval
Purpose Use this command to configure Hello refreshing interval of MPLS
traffic engineering (TE) graceful restart (GR) function. Restore the
default value with the no form of this command.
Command Modes Global configuration
Syntax ip rsvp signalling hello graceful-restart refresh interval <int
erval-value>
no ip rsvp signalling hello graceful-restart refresh interval
Syntax
Description
<interval-value> Hello refresh interval, unit: millisecond,
range: 10~30000

Defaults The default value is 10000 milliseconds by default.


Example This example describes how to configure the Hello refresh interval
as 3000 milliseconds.
ZXR10(config)#ip rsvp signalling hello graceful-restart
refresh interval 3000

76 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

ip rsvp signalling hello


graceful-restart refresh
misses
Purpose Use this command to configure the number of missing Hello
packets of the MPLS traffic engineering (TE) graceful restart
(GR). When the lost number is exceeded, the neighbor judges
the packets as lost. As a result, graceful restart (GR) is enabled.
Restore the default value with the no form of this command.
Command Modes Global configuration
Syntax ip rsvp signalling hello graceful-restart refresh misses <
msg-count >
no ip rsvp signalling hello graceful-restart refresh misses
Syntax
Description
< msg-count > Number of the missing hello packets, range:
4~10

Defaults The default missing number is 4.


Example This example describes how to configure the number of missing
graceful restart hello packets as 3.
ZXR10(config)# ip rsvp signalling hello graceful-restart
refresh misses 3

ip rsvp signalling hello


graceful-restart timers
recovery-time
Purpose Use this command to configure the recovery time of the MPLS traf-
fic engineering (TE) graceful restart(GR). Restore the default value
with the no form of this command.
Command Modes Global configuration
Syntax ip rsvp signalling hello graceful-restart timers recovery-t
ime <time>
no ip rsvp signalling hello graceful-restart timers recovery
-time
Syntax
Description
<time> Recovery time of graceful restart (GR) in
milliseconds, range: 0~30000

Defaults The default value is 120000 milliseconds by default.

Confidential and Proprietary Information of ZTE CORPORATION 77


ZXR10 Command Manual (MPLS Volume)

Example This example describes how to configure the recovery time as


30000 milliseconds.
ZXR10(config)#ip rsvp signalling hello graceful-restart
timers recovery-time 30000

ip rsvp signalling hello


graceful-restart timers
restart-time
Purpose Use this command to configure the restart time of the MPLS traffic
engineering (TE) graceful restart (GR). Restore the default value
with the no form of this command.
Command Modes Global configuration
Syntax ip rsvp signalling hello graceful-restart timers restart-time
<time>
no ip rsvp signalling hello graceful-restart timers restart-t
ime
Syntax
Description
<time> Restart time of the graceful restart (GR) in
milliseconds, range: 0~30000

Defaults The default value is 120000 milliseconds.


Example This example describes how to configure the restart time of the
MPLS traffic engineering (TE) graceful restart (GR) as 30000 mil-
liseconds.
ZXR10(config)#ip rsvp signalling hello graceful-restart
timers restart-time 30000

ip rsvp signalling refresh


interval
Purpose Use this command to configure the time interval of sending refresh
packets. Restore the default setting with the no form of this com-
mand.
Command Modes Global configuration
Syntax ip rsvp signalling refresh interval <interval-value>
no ip rsvp signalling refresh interval

78 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

Syntax
Description
<interval-value> Time interval of sending refresh packets in
seconds, default: 30000 milliseconds, range:
5000~4294967295

Example This exmaple describes how to configure the time interval of send-
ing refresh packets as 60000 milliseconds.
ZXR10(config)#ip rsvp signalling refresh interval 60000

ip rsvp signalling refresh


misses
Purpose Use this command to configure the number of missing refresh
packets. If the number of missing refresh packets reaches the
specified number, RSVP deletes the corresponding message sav-
ing status.
Command Modes Global configuration
Syntax ip rsvp signalling refresh misses <msg-count>
no ip rsvp signalling refresh misses
Syntax
Description
<msg-count> Number of missing refresh packets, range:
2~10

Defaults The default number of missing refresh packets is 4 by default.


Example This example describes how to configure the number of missing
refresh packets as 6.
ZXR10(config)#ip rsvp signalling refresh misses 6

mpls oam(Global
Configuration)
Purpose Use this command to enable MPLS OAM. If not enabling the related
MPLS OAM, the configuration does not take effect. Disable MPLS
OAM with the no command.
Command Modes Global configuration
Syntax mpls oam
no mpls oam
Defaults MPLS OAM is disabled by default.
Instructions Enables MPLS traffic engine in global configuration firstly.
Example This example describes how to enable MPLS OAM in devices.

Confidential and Proprietary Information of ZTE CORPORATION 79


ZXR10 Command Manual (MPLS Volume)

ZXR10(config)#mpls oam

mpls oam(Interface
Configuration)
Purpose Use this command to enable MPLS OAM. If not enabling the related
MPLS OAM, the configuration does not take effect. Disable MPLS
OAM in tunnel with the no command.
Command Modes Tunnel interface configuration
Syntax mpls oam
no mpls oam
Defaults MPLS OAM is disabled by default.
Syntax
Description
enable Enables STP tunnel in vfi.

Instructions Enables MPLS traffic engine in global configuration firstly. This


command takes effect when the tunnel is UP. If the configuration
information is not complete, the configuration is unsuccessful.
Example This example describes how to enable MPLS OAM in tunnel inter-
face.
ZXR10(config)#interface tunnel5
ZXR10(config-if)#mpls oam

mpls static tunnel


Purpose Use this command to set static tunnel lsp information. Delete the
configuration with the no command.
Command Modes Tunnel interface configuration
Syntax mpls static tunnel <tunnel-id> ingress <lsr-id> egress <lsr
-id>[in-port <if-name> in-label <label>][out-port <if-name>
out-label <label>][next-hop <ip-address>]
no mpls static tunnel <tunnel-id> ingress <lsr-id> egress<ls
r-id>
Defaults MPLS OAM is disabled by default.
Syntax
Description
<tunnel-id> Static lsp mark

ingress <lsr-id> Static lsp ingress router-id

egress <lsr-id> Static lsp egress router-id

in-port <if-name> In-port name

80 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

in-label <label In-label name

out-port <if-name> Out-port name

out-label <label> out-label name

next-hop <ip-addre Next hop ip address


ss>

<tunnel-id> The tunnel id

Instructions Enables mpls oam in global configuration firstly.


Example This example describes how to set tunnel1, ingress ip address
1.1.1.1, egress ip address 2.2.2.2, in-label 17, in-port gei_1/2,
out-label 18, out-port gei_1/3, next-hop 20.20.20.1.
ZXR10(config-if)#mpls static tunnel 1 ingress 1.1.1.1 egress 2.2.2.2
in-port gei_1/2 in-label 17 out-port gei_1/3 out-label 18
next-hop 20.20.20.1

mpls traffic-eng ds-te


Purpose Use this command to enable DS-TE function in global configuration
mode. Cancel this configuration with the no form of this command.
Command Modes Global configuration
Syntax mpls traffic-eng ds-te
no mpls traffic-eng ds-te
Defaults DS-TE function is disabled by default.
Instructions This command is supported after the platform version 4.8.20.
Example This example describes how to enable DS-TC function.
ZXR10(config)#mpls traffic-eng ds-te

mpls traffic-eng ds-te


bc-mode
Purpose Use this command to configure the bandwidth constraints (BC)
type of DS-TE. Cancel this configuration with the no form of this
command.
Command Modes Global configuration
Syntax mpls traffic-eng ds-te bc-mode [mam | extend-mam]
no mpls traffic-eng ds-te bc-mode

Confidential and Proprietary Information of ZTE CORPORATION 81


ZXR10 Command Manual (MPLS Volume)

Syntax
Description mam Maximum allocation model

extend-mam Extended maximum allocation model

Defaults The bandwidth constraints (BC) mode is RDM by default.


Example This example describes how to configure the bandwidth constraints
(BC) type of DS-TE as extend-mam.
ZXR10(config)#mpls traffic-eng ds-te bc-mode extend-mam

mpls traffic-eng ds-te


exp-maps
Purpose Use this command to configure the exp-map map relationship.
Cancel this configuration with the no form of this command.
Command Modes Global configuration
Syntax mpls traffic-eng ds-te exp-maps exp <exps> output tunnel
<tunnelid>{classtype <ctype>}
no mpls traffic-eng ds-te exp-maps <teclass>
Syntax
Description <exps> Exp value, range: 0~7

<tunnelid> Tunnel, range: 1~1024

<ctype> Classtype, range: 0~7

Defaults This command is disabled by default.


Instructions This command is supported after the platform version 4.8.21.
Example In this example, the exp-map map is the combination of the cor-
responding tunnel 1 and ct0 of exp1.
ZXR10(config)# mpls traffic-eng ds-te exp-maps exp 1 output
tunnel1 classtype 0

mpls traffic-eng ds-te


te-class
Purpose Use this command to configure the TE-CLASS mapping relationship
in global configuration mode. Cancel this configuration with the no
form of this command.
Command Modes Global configuration
Syntax mpls traffic-eng ds-te te-class te-class<teclass> classtype
<ctype> priority <priority>

82 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

no mpls traffic-eng ds-te te-class te-class <teclass>


Syntax
Description
<teclass> Te-class, range: 0~7

<priority> Priorityl, range: 0~7

<ctype> Classtype, range: 0~1

Defaults By default, the mapping relationship is shown below.

TE-CLASS CType Priority

0 0 7

1 1 7

2 — —

3 — —

4 0 0

5 1 0

6 — —

7 — —

Instructions This command is supported after the platform version 4.8.20.


Example This example describes how to configure the TC-CLASS mapping
named Teclass1, which is the combination of the corresponding
ct0 and the priority 1.
ZXR10(config)# mpls traffic-eng ds-te te-classes te-class 1
class-type 0 priority 1

mpls traffic-eng signaling


advertise implicit-null
Purpose Use this command to configure the RSVP implicit-null function.
Command Modes Global configuration
Syntax mpls traffic-eng signaling advertise implicit-null [force]
no mpls traffic-eng signaling advertise implicit-null [force]
Syntax
Description
force The command with this option takes effect
for all tunnels, including the built and new
tunnels. Without this option, then it only
takes effect for new tunnels

Confidential and Proprietary Information of ZTE CORPORATION 83


ZXR10 Command Manual (MPLS Volume)

Defaults It is implicit-null configuration by default.


Instructions � If the function is enabled on a node, and this node as the trail-
ing node of the tunnel distributes a implicit-null label 3 to the
last but one hop. If this function is disabled on the interface,
a implicit-null label 0 is distributed tothe last but one hop.
� Restore the default implicit-null configuration with the no form
of this command. If there is the force parameter after the
no form of this command, then the new configuration will take
effect on all tunnels (the created and new tunnels). If there is
no force parameter after the no form of this command, then
it only takes effect on the new tunnel.
Example This example describes how to configure RSVP implicit-null func-
tion.
ZXR10(config)#mpls traffic-eng signalling advertise implicit-null

mpls traffic-eng
tunnels(Global
Configuration)
Purpose Use this command to enable MPLS traffic engineering signalling.
Disable the function with the no form of this command.
Command Modes Global configuration
Syntax mpls traffic-eng tunnels
no mpls traffic-eng tunnels
Defaults MPLS traffic engineering is not supported by default..
Instructions To enable the router to support MPLS traffic engineering, users
must configure this command in the global configuration mode and
enable MPLS traffic engineering on the related interfaces.
Example This example describes how to enable MPLS TE.
ZXR10(config)#mpls traffic-eng tunnels

mpls traffic-eng
tunnels(Interface
Configuration)
Purpose Use this command to enable MPLS traffic engineering signalling
on a interface. Disable the function with the no form of this com-
mand.
Command Modes Interface configuration

84 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

Syntax mpls traffic-eng tunnels


no mpls traffic-eng tunnels
Defaults The interface does not support MPLS traffic engineering by default.
Instructions To enable the interface to support MPLS traffic engineering, users
must enable MPLS traffic engineering in global configuration mode,
and then enable MPLS traffic engineering on the interface. The
interface accepts the MPLS traffic engineering signalling request
and floods its resource information through IGP.
Example This example describes how to enable MPLS TE signalling on the
interface.
ZXR10(config)#interface fei_3/1
ZXR10config-if)#mpls traffic-eng tunnels

show ip rsvp authentication


Purpose Use this command to show the status and configuration informa-
tion of all security assistants (SAs) or some neighbor.
Command Modes All modes except User EXEC
Syntax show ip rsvp authentication [<A.B.C.D >]
Syntax
Description
<A.B.C.D> Neighbor address

Defaults The information of all security assistants (SAs) is displayed by de-


fault.
Instructions This command is supported after the platform version 4.8.21.
Example The following contents will be shown after using this command.
ZXR10#show ip rsvp authentication
Neighbor: 10.10.10.2 Key ID (hex): 0a0a0a010000
Interface: fei_1/1
Direction: Send
Expiration: 00:03:59
Last valid seq # sent: 0x1e286cb10
Windowsize: 5
Integriy HF flag: Set

Neighbor: 10.10.10.2 Key ID (hex): 0a0a0a020000


Interface: fei_1/1
Direction: Receive
Expiration: 00:03:31
Last valid seq # rcvd: 0x1e2868f0e
Challenge: Configured
Windowsize: 5
Integriy HF flag: Set
Sequence window:
0x1e2868f0b
0x1e2868f0c
0x1e2868f0d
0x1e2868f0e

The descriptions of the displayed information are shown below.

Field Description

Interface Corresponding interface name of the SA

Confidential and Proprietary Information of ZTE CORPORATION 85


ZXR10 Command Manual (MPLS Volume)

Field Description

Direction Direction of the SA (send or receive)

Expiration Expiration time of the SA

Last valid seq Latest valid sequence

Challenge Whether passes the challenge negotiation

Windowsize SA window size

Integriy HFflag Whether supports the challenge

Sequence window Valid sequence group

show ip explicit-path
Purpose Use this command to show detailed information about the explicit
path.
Command Modes All modes except user EXEC
Syntax show ip explicit-path [name <name>| identifier <identifier>]
Syntax
Description name <name> Path name

identifier <identifi Path identifier, range: 1~65535


er>

Instructions This command is used to show detailed information about the ex-
plicit path. If the router does not support MPLS traffic engineering,
there is no such information displayed.
Example The following contents will be shown after using this command.
(The data below are for reference only):
ZXR10#show ip explicit-path
PATH namepath_123
1. next-address 192.1.1.1 strict
2. next-address 1.1.1.1 loose
PATH identifier 123
1. next-address 10.40.88.36 strict
2. next-address 3.2.1.6 loose
ZXR10#show ip explicit-path name path_123
PATH namepath_123
1. next-address 192.1.1.1 strict
2. next-address 1.1.1.1 loose

The descriptions of the displayed information are shown below.

Field Description

PATH Name of the path or number of flags

1. next-address First IP address in the path

2. next-address Second IP address in the path

86 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

show ip rsvp hello


graceful-restart
Purpose Use this command to show detailed information about the RSVP
Graceful Restart HELLO instance.
Command Modes All modes except user EXEC
Syntax show ip rsvp hello graceful-restart
Instructions This command is supported after the platform version 4.8.01.
Example The following contents will be shown after using this command.
ZXR10#show ip rsvp hello graceful-restart
Graceful Restart: Enabled
Refresh interval: 10000 msecs
Refresh misses: 4
Advertised restart time: 1000 msecs
Advertised recovery time: 120000 msecs

The descriptions of the displayed information are shown below.

Filed Description

Graceful Restart whether graceful restart (GR) is enabled

Refresh interval Hello refreshing interval of GR

Refresh misses Hello missing number of GR

Advertised restart Restart time of the advertisement


time

Advertised recovery Recovery time of the advertisement


time

show ip rsvp refresh


parameter
Purpose Use this command to show the signalling refreshing time and the
configuration information of missing packets.
Command Modes All modes except user EXEC
Syntax show ip rsvp refresh parameter
Instructions This command is supported after the platform version 4.8.01.
Example The following contents will be shown after using this command.
ZXR10#show ip rsvp refresh parameter
RSVP-TE: Enabled
RSVP signalling refresh interval: 30000 msecs
RSVP signalling refresh misses : 4

The descriptions of the displayed information are shown below.

Confidential and Proprietary Information of ZTE CORPORATION 87


ZXR10 Command Manual (MPLS Volume)

Field Description

RSVP signalling Refreshing time of RSVP protocol signalling


refresh interval messages

RSVP signalling Number of refreshing missing messages of


refresh misses RSVP protocol signalling messages

show mpls traffic-eng


autoroute
Purpose Use this command to show the status and configuration informa-
tion of all tunnels with automatic routes.
Command Modes All modes except user EXEC
Syntax show mpls traffic-eng autoroute
Instructions This command is supported after the platform version 4.8.20.
Example The following contents will be shown after using this command.
(The data below is for reference only):
ZXR10# show mpls traffic-eng autoroute
MPLS TE autorouting enabled
destination 1.1.1.25 has 1 tunnels
TunnelId DestRouterId TunnelState Destination State
NextHop MetricType MetricValue
1 1.1.1.25 UP 10.10.10.2 relative -1

The descriptions of the displayed information are shown below.

Field Description

TunnelId Tunnel ID

Destination TE RouteID of the tunnel destination

State Tunnel state

NextHop Next hop address of the tunnel

MetricType Metric type

MetricValue Metric value

show mpls traffic-eng ds-te


exp-map
Purpose Use this command to show exp-map mapping relationship.
Command Modes All modes except user EXEC
Syntax show mpls traffic-eng ds-te exp-map
Instructions This command is supported after the platform version 4.8.21.

88 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

Example The following contents will be shown after using this command.
(The data below is for reference only):
ZXR10#show mpls traffic-eng ds-te exp-map
Exp OutTunnel Ctype
3 1
4 1 2

The descriptions of the displayed information are shown below.

Field Description

Exp Exp-map value

OutTunnel Tunnel identifier

Ctype Ctype corresponding to the tunnel

show mpls traffic-eng ds-te


te-class
Purpose Use this command to show TE-CLASS mapping relationship.
Command Modes All modes except user EXEC
Syntax show mpls traffic-eng ds-te te-class
Instructions This command is supported after the platform version 4.8.20.
Example The following contents will be shown after using this command.
(The data below is for reference only):
ZXR10#show mpls traffic-eng ds-te te-class
TeclassId CType Priority
0 0 7
1 0 1
2 unused
3 unused
4 0 0
5 1 0
6 unused
7 unused

The descriptions of the displayed information are shown below.

Field Description

TeclassID TE-CLASS value

Ctype Ctype corresponding to the tunnel

Priority Tunnel priority

Confidential and Proprietary Information of ZTE CORPORATION 89


ZXR10 Command Manual (MPLS Volume)

show mpls traffic-eng


interface detail
Purpose Use this command to show detailed RSVP information on the in-
terface.
Command Modes All modes except user EXEC
Syntax show mpls traffic-eng interface detail [<interface-name>]
Syntax
Description
<interface-name> Interface where RSTP traffic engineering is
enabled

Defaults Information of all interfaces where RSTP traffic engineering is en-


abled are displayed by default.
Instructions This command is supported after the platform version 4.8.21.
Example The following contents will be shown after using this command.
(The data below are for reference only):
ZXR10#show mpls traffic-eng interface detail fei_1/1
fei_1/1:
Bandwidth:
Curr allocated: 0K bits/sec
Max. allowed (total): 75000K bits/sec
Max. allowed (per flow): 75000K bits/sec
Authentication: enabled
Key: <encrypted>
Type: md5
Challenge: enabled
Challenge-imp: Implemented
Window size: 5
Lifetime: 300

BFD:enable disconnected down unprotected


frr_counter: 0

out_lsp_counter: 0

in_lsp_counter: 0

The descriptions of the displayed information are shown below.

Field Description

Bandwidth Current bandwidth

Authentication Whether authentication is enabled on the


interface

Key Authentication key on the interface

Type Authentication type

Challenge Authentication receiver supporting challenge

Challenge-imp Authentication sender supporting challenge

Window size Authentication window size

Lifetime SA lifetime of the authentication

90 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

Field Description

BFD BFD state

frr_counter FRR number

out_lsp_counter Number of LSPs which take the interface as


the outgoing interface

in_lsp_counter Number of LSPs which take the interface as


the incoming interface

show mpls traffic-eng tunnels


Purpose Use this command to show detailed inforamtion about the MPLS
tunnel.
Command Modes All modes except user EXEC
Syntax show mpls traffic-eng tunnels [brief][summary][tunnel
<tunnel_id>]
Syntax
Description
brief Shows brief tunnel information

tunnel <tunnel_id> Shows local tunnel information

summary Shows statistic tunnel information

Example This example shows brief information (the data below is for refer-
ence only).
ZXR10#show mpls traffic-eng tunnels brief
Signalling Summary:
LSP Tunnels Process: running
RSVP Process: running
Forwarding: enabled
TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT
Tunnel_1 10.112.0.12 - unknown up/down
Tunnel_2 10.110.0.10 - fei_1/4 up/up
Tunnel_3 10.110.0.20 fei_1/2fei_1/4 up/up

The descriptions of the displayed information are shown below.

Field Description

LSP Tunnels Process LSP tunnel state

RSVP Process RSVP protocol state

Forwarding Forwarding state

TUNNEL NAME Tunnel name

DESTINATION Destination address of the tunnel

UP IF Uplink interface of the tunnel

DOWN IF Downlink interface of the tunnel

STATE/PROT Tunnel administration/running state

Confidential and Proprietary Information of ZTE CORPORATION 91


ZXR10 Command Manual (MPLS Volume)

This example shows information about the tunnel namedtunnel11.


ZXR10#show mpls traffic-eng tunnels tunnel11
name: tunnel_11 (Tunnel11) Destination: 2.2.2.2
Status:
Admin: up Oper: up Path: valid Signalling: connected
Path option: 11, type explicit pos_412

Config Parameters:
Bandwidth: 0 kbps (Global) Priority: 0 0 Affinity: 0x0/0x0
Metric Type: IGP (default) Fast-reroute: enable
InLabel:-
OutLabel:pos_5/1,16
RSVP Signalling Info :
src 4.4.4.4 , Dst 2.2.2.2, Tun_Id 11, Tun_Instance 6
RSVP Path Info:
Explicit Route: 67.1.1.2 67.1.1.1 66.1.1.1 66.1.1.2 2.2.2.2
Record Route: NONE
Tspec:ave rate= 0 kbits, burst= 8000 bytes,
peak rate = 0 kbits
RSVP Resv Info:
Record Route: NONE
Fspec:ave rate= 0 kbits, burst= 8000 bytes,
peak rate = 0 kbits

History:
Tunnel:
Time since created: 0 days, 5 hours, 17 minutes
Prior LSP:0
Current LSP: Uptime:0 days, 5 hours, 16 minutes

The descriptions of the displayed information are shown below.

Field Description

Name Tunnel name

Destination Destination address of the tunnel

Admin Tunnel administration state: up/down/Admin-


down (tunnel interface is shutdown)

Oper Tunnel running state: up/down

Path Tunnel path state: valid/invalid

Signalling Tunnel signalling state: down/connected/sig-


nalling

Path option Explicit path configuration

Bandwidth Reserved tunnel bandwidth

Priority Priority for establishing and holding the tunnel

Affinity Tunnel affinity

Fast-reroute Whether the tunnel supports fast reroute:


enable/disable

InLabel Incoming label and the interface of the tunnel

OutLabel Outgoing label and the interface of the tunnel

src Source address of the tunnel

Dst Destination address of the tunnel

92 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

Field Description

Tun_Id Tunnel identifier

Tun_Instance LSP identifier of the tunnel

Explicit Route Explicit path established in the tunnel

Record Route Address of each hop of the tunnel

show mpls traffic-eng tunnels


remote-tunnel
Purpose Use this command to show remote MPLS tunnel in detail.
Command Modes All modes except user EXEC
Syntax show mpls traffic-eng tunnels remote-tunnel [tunnel-id<tu
nnel_id> lsp-id<lsp_id> ingress-id <ingress_id> egress-id<eg
ress_id>]
Syntax
Description
tunnel-id<tunnel_ Tunnel identifier of the remote tunnel
id>

lsp-id<lsp_id> Instance identifier of the remote tunnel

ingress-id Ingress address of the remote tunnel


<ingress_id>

egress-id<egress_ Egress address of the remote tunnel


id>

Example This example describes how to show information about the re-
mote tunnel. The ingress address is 1.1.1.15, the egress address
is1.1.1.25, the tunnel identifier is 2, and the instance identifier is
6.
ZXR10#show mpls traffic-eng tunnels remote-tunnel
tunnel-id 2 lsp-id 6 ingress-id 1.1.1.15 egress-id 1.1.1.25
LSP Tunnel tunnel_2 is signaled, connection is up
InLabel:fei_1/1, 0
OutLabel:-
RSVP Signalling Info :
src 1.1.1.15 , Dst 1.1.1.25, Tun_Id 2, Tun_Instance 6
RSVP Path Info:
Explicit Route: 80.1.2.2 1.1.1.25
Record Route: NONE
Tspec:ave rate= 0 kbits, burst= 2000 bytes,
peak rate = 0 kbits
RSVP Resv Info:
Record Route: NONE

Fspec:ave rate= 0 kbits, burst= 2000 bytes,


peak rate = 0 kbits

The descriptions of the displayed information are shown below.

Confidential and Proprietary Information of ZTE CORPORATION 93


ZXR10 Command Manual (MPLS Volume)

Field Description

InLabel Ingress labels and the interface of the tunnel

OutLabel Egress labels and the interface of the tunnel

src Source address of tunnel

Dst Destination address of tunnel

Tun_Id Tunnel identifier

Tun_Instance LSP identifier of the tunnel

Explicit Route Explicit path established by the tunnel

Record Route Address of each hop of the tunnel

tunnel mpls oam back-up-lsp


tunnel
Purpose Use this command to set OAM backup lsp in tunnel mode.
Command Modes Tunnel configuration
Syntax tunnel mpls oam back-up-lsp tunnel <tunnel-id>
no tunnel mpls oam back-up-lsp
Syntax
Description
<tunnel-id> tunnel id, 1~1024

Defaults No configuration by default.


Instructions This command must be set when tunnel is UP and OAM is disabled.
Example This example describes how to set mpls oam backup tunnel to
tunnel2.
ZXR10(config)#interface tunnel5
ZXR10(config-if)#tunnel mpls oam back-up-lsp tunnel2

tunnel mpls oam tunnelid


Purpose Use this command to set OAM backup lsp in tunnel mode.
Command Modes Tunnel configuration
Syntax tunnel mpls oam tunnelid <tunnel-id> ingress <tunnel-id>
back-forward-lsp < tunnel-index > type {cv | ffd frequence
<time>}
no tunnel mpls oam tunnelid < tunnel-id > ingress <lsr-id>

94 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

Syntax
Description
< tunnel-index > Tunnel number of the reverse direction

<tunnel-id> Tunnel id, 1~1024

<tunnel-id> Static lsp ingress node routerid

<time> Refresh time interval, the value is: 10, 20,


50, 100, 200, 500(in milliseconds)

Defaults No configuration by default.


Instructions This command can be activated by other commands. Users can
choose to enable it or not.
Example This example describes how to set tunnel oam whose tunnelid is
1 and ingress is 1.1.1.1 to cv mode, set reverse tunnel to 2.
ZXR10(config)#interface tunnel5
ZXR10(config-if)#tunnel mpls oam tunnelid 1 ingress 1.1.1.1
back-forward-lsp 2 type cv

tunnel mpls oam type


Purpose Use this command to set detection in tunnel mode.
Command Modes Tunnel configuration
Syntax tunnel mpls oam type {cv|ffd frequence < interval >}
no tunnel mpls oam type
Syntax
Description
< interval > Refresh time interval, the value is: 10, 20,
50, 100, 200, 500(in milliseconds)

Defaults NULL by default.


By default, ffd refresh interval is 500 milliseconds and cv is 1 sec-
ond.
Instructions This command can be set when tunnel is UP and OAM is disabled.
Example This example describes how to set MPLS oam to FFD and time
period to 20 milliseconds.
ZXR10(config)#interface tunnel5
ZXR10(config-if)#tunnel mpls oam type ffd frequence 20

tunnel mpls traffic-eng


autoroute announce
Purpose Use this command to enable MPLS automatic routing on the tunnel
interface. Disable this function with the no form of this command.

Confidential and Proprietary Information of ZTE CORPORATION 95


ZXR10 Command Manual (MPLS Volume)

Command Modes Tunnel interface configuration


Syntax tunnel mpls traffic-eng autoroute announce
no tunnel mpls traffic-eng autoroute announce
Defaults The tunnel does not support automatic routing by default.
Instructions This command is supported after the platform version 4.8.20.
Example This example describes how to enable MPLS automatic routing on
the tunnel interface.
ZXR10(config)#interface tunnel5
ZXR10(config-if)#tunnel mpls traffic-eng autoroute announce

tunnel mpls traffic-eng


autoroute metric
Purpose Use this command to configure the metric type and value of the
tunnel automatic route. Disable this function with the no form of
this command.
Command Modes Tunnel interface configuration
Syntax tunnel mpls traffic-eng autoroute metric {<value>| absolute
<value>| relative <value>}
no tunnel mpls traffic-eng autoroute metric
Syntax
Description
<value> Absolute metric value, range: 1~4294967295

absolute <value> Absolute metric value of the absolute metric


type, range: 1~4294967295

relative <value> Metric value relative to IGP of the relative


metric style, range: -10~10

Defaults The default metric type is IGP. The default metric value is IGP met-
ric value.
Instructions This command is supported after the platform version 4.8.20.
Example 1. This example describes how to configure the metric value of
automatic routes as 2.
ZXR10(config)#interface tunnel5
ZXR10(config-if)# tunnel mpls traffic-eng autoroute metric 2
ZXR10(config-if)# tunnel mpls traffic-eng autoroute metric
absolute 2
ZXR10(config-if)# tunnel mpls traffic-eng autoroute metric
relative -2

2. This example describes how to configure the metric type as


absolute metric, and the metric value is 2.
ZXR10(config)#interface tunnel5
ZXR10(config-if)# tunnel mpls traffic-eng autoroute metric
absolute 2

3. This exmaple describes how to configure the metric type as


relative metric, and the metric value is -2.

96 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

ZXR10(config)#interface tunnel5
ZXR10(config-if)# tunnel mpls traffic-eng autoroute metric
relative -2

tunnel mpls traffic-eng


bandwidth
Purpose Use this command to configure the bandwidth reserved for estab-
lishing a tunnel on the tunnel interface. Restore default with the
no form of this command.
Command Modes Interface configuration
Syntax tunnel mpls traffic-eng bandwidth <bandwidth>
no tunnel mpls traffic-eng bandwidth
Syntax
Description
<bandwidth> Bandwidth reserved for the traffic engineering
tunnel, unit: kbps, range: 0~4294967295

Defaults There is no bandwidth reserved for establishing a tunnel.


Instructions If the interface is used by an UP tunnel, the configuration of this
command is invalid. In this case, shut down the UP tunnel first.
Example This example describes how to configure the reserved bandwidth
as 100kbps.
ZXR10(config)#interface fei_3/1
ZXR10(config-if)#tunnel mpls traffic-eng bandwidth 100

tunnel mpls traffic-eng bfd


Purpose Use this command to enable Bidirectional Forwarding Detection
(BFD) on the tunnel. Cancel this configuration with the no form of
this command.
Command Modes Tunnel interface configuration
Syntax tunnel mpls traffic-eng bfd
no tunnel mpls traffic-eng bfd
Defaults The tunnel does not Bidirectional Forwarding Detection (BFD) by
default.
Example This example describes how to enable Bidirectional Forwarding De-
tection (BFD) on the tunnel.
ZXR10(config)#interface tunnel5
ZXR10(config-if)#tunnel mpls traffic-eng bfd

Confidential and Proprietary Information of ZTE CORPORATION 97


ZXR10 Command Manual (MPLS Volume)

tunnel mpls traffic-eng


class-type
Purpose Use this command to configure the tunnel class type and the band-
width requirement in tunnel interface configuration mode. Cancel
this configuration with the no form of this command.
Command Modes Tunnel interface configuration
Syntax tunnel mpls traffic-eng class-type <ct>[bandwidth <bw>]
no tunnel mpls traffic-eng class-type <ct>
Syntax
Description
<ctr> Class type, range: 0~1

<bw> Bandwidth requirement under the class type,


range: 1~10000000

Defaults The default type is CT0, and there is no bandwidth requirements


by default.
Instructions This command is supported after the platform version 4.8.20.
Example This example describes how to configure the CT type of the tunnel
as 1, and the bandwidth requirement as 1000kps.
ZXR10(config)#interface tunnel5
ZXR10(config-if)# tunnel mpls traffic-eng class-type 1
bandwidth 1000

tunnel mpls traffic-eng


path-option
Purpose Use this command to configure to obtain ERO by dynamic selection
or explicit path statically on tunnel interface of the device. Cancel
the setting with the no command.
Command Modes Tunnel interface configuration
Syntax tunnel mpls traffic-eng path-option <number>{dynamic |
explicit {name <path-name>| identifier <id>}}
no tunnel mpls traffic-eng path-option <number>
Syntax
Description
<number> Number of the option, range: 1~16

name <path-name> Name of the used explicit path, 1~16


characters

dynamic Uses the dynamic path computation mode

identifier <id> Digital identifier of the used explicit path,


range: 1~65535

98 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

Defaults There is no path option configured for the tunnel.


Instructions The establishment of the traffic engineering tunnel provides path
constraints to designate a flag for each optional path.
Example This example describes how to configure the method of obtaining
ERO is dynamic selection.
ZXR10(config)#interface tunnel5
ZXR10(config-if)#tunnel mpls traffic-eng path-option 1 dynamic

The following contents will be shown after using this command.


ZXR10#show mpls traffic-eng tunnels summary
Signalling Summary:
LSP Tunnels Process: running
RSVP Process: run
Forwarding: enabled
Head:6 interfaces,2 active signalling attempts,2 established
Midpoints:0,Tails: 64

The descriptions of the displayed information are shown below.

Field Description

LSP Tunnels Process LSP tunnel state

RSVP Process RSVP protocol state

Forwarding Forwarding state

Head Statistic information of local tunnel

interface Number of tunnels in MPLS traffic engineering

active signalling Number of tunnels successfully established


attempts or being established

established Number of established tunnels

Midpoints Statistic information of local router serving as


the intermediate node of the tunnel

Tails Statistic information of local router serving as


the end node of the tunnel

tunnel mpls traffic-eng


record-route
Purpose Use this command to enable the tunnel path record function on
the tunnel interface. Disable the function with the no form of this
command.
Command Modes Interface configuration
Syntax tunnel mpls traffic-eng record-route
no tunnel mpls traffic-eng record-reroute
Defaults The tunnel path record function is disabled by default.
Example This example describes how to enable the tunnel path record func-
tion.

Confidential and Proprietary Information of ZTE CORPORATION 99


ZXR10 Command Manual (MPLS Volume)

ZXR10(config)#interface fei_5/1
ZXR10(config-if)#tunnel mpls traffic-eng record-route

tunnel mpls traffic-eng


tunnels priority
Purpose Use this command to configure the tunnel priority on the tunnel
interface. Disable this function with the no form of this command.
Command Modes Tunnel interface configuration
Syntax tunnel mpls traffic-eng priority <setup_priority><holdup-prio
rity>
no tunnel mpls traffic-eng priority
Syntax
Description
<setup_priority> Setup priority of the tunnel

<holdup-priority> Holdup priority of the tunnel

Defaults The default priority is 7.


Instructions This command is supported after the platform version 4.8.20.
Example This example describes how to configure the setup priority as 2,
and the holdup priority as 2.
ZXR10(config)#interface tunnel5
ZXR10(config-if)#tunnel mpls traffic-eng priority 2 2

tunnel static ingress


Purpose Use this command to set static tunnel lsp information. Delete the
configuration with the no command.
Command Modes Tunnel configuration
Syntax tunnel static ingress <lsr-id> egress <lsr-id>[out-port <if-na
me> out-label <label>][next-hop <ip-address>]
no tunnel static ingress <lsr-id> egress <lsr-id>
Syntax
Description
ingress <lsr-id> Static lsp ingress node routerid

egress <lsr-id> Static lsp egress node routerid

out-label <label> Out-label

out-port <if-name> Out-port

<ip-address> Next hop ip address

100 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 5 MPLS Traffic Engineering Configuration

Defaults No configuration by default.


Instructions When tunnel is DOWN, set it to UP.
Example This example describes how to set tunnel ingress to 1.1.1.1,
egress to 2.2.2.2, out-label to 17, out-port to gei_1/1, next-hop
to 10.10.10.1.
ZXR10(config)#interface tunnel5
ZXR10(config-if)#tunnel static ingress 1.1.1.1 egress 2.2.2.2
out-port gei_1/1 out-label 17 next-hop 10.10.10.1

Confidential and Proprietary Information of ZTE CORPORATION 101


ZXR10 Command Manual (MPLS Volume)

This page is intentionally blank.

102 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 6

FRR Configuration

Table of Contents
ip rsvp signalling hello...................................................... 103
ip rsvp signalling hello refresh interval................................ 103
ip rsvp signalling hello refresh misses................................. 104
mpls traffic-eng backup_tunnel ......................................... 104
show ip backup route ....................................................... 105
show ip rsvp hello instance detail....................................... 105
show ip rsvp hello instance summary ................................. 106
show mpls traffic-eng fast-reroute ..................................... 107
show mpls traffic-eng interface.......................................... 108
tunnel mpls traffic-eng fast-reroute.................................... 109

ip rsvp signalling hello


Purpose Use this command to enable RSVP hello messages in global con-
figuration and interface configuration mode.
Command Modes Global configuration, interface configuration
Syntax ip rsvp signalling hello
no ip rsvp signalling hello
Instructions � This command id supported after the platform version 4.6.02.
� To enable the router to support RSVP hello messages, this com-
mand must be configured in global configuration mode, and
this command must be enabled on the related interface at the
same time. After this command is enabled, the interface sends
RSVP hello messages to its neighbor at regular time and re-
ceives the return message from the neighbor to detect its life-
time state.

ip rsvp signalling hello


refresh interval
Purpose Use this command to configure the time interval for the interface
to send RSVP hello requests.
Command Modes Interface configuration

Confidential and Proprietary Information of ZTE CORPORATION 103


ZXR10 Command Manual (MPLS Volume)

Syntax ip rsvp signalling hello refresh interval <interval>


no ip rsvp signalling hello refresh interval
Syntax
Description
<interval> Time interval in seconds, range: 10~30000,
default: 100 seconds

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


� The node periodically sends hello request messages (including
the HELLO REQUEST object) to the neighbor at the configured
interval.

ip rsvp signalling hello


refresh misses
Purpose Use this command to specify how many Hello acknowledgments a
node can miss in a row before the node considers that communi-
cation with its neighbor is down
Command Modes Interface configuration
Syntax ip rsvp signalling hello refresh misses <num>
no ip rsvp signalling hello refresh misses
Syntax
Description
<num> Number of sequential Hello acknowledgments
that a node can miss, range: 4~10, default: 4

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


� The node sends HELLO requests to the neighbor and the neigh-
bor answers HELLO acknowledgments. The node will consider
communication with its neighbor is DOWN when the number
of received acknowledgments does not exceed the configured
value. If a link is very congested or has a very heavy load, it
is recommended to set this number to a value higher than the
default value to ensure that Hello does not falsely declare that
a neighbor is down.

mpls traffic-eng
backup_tunnel
Purpose Use this command to assign one or more backup tunnels to a pro-
tected interface.
Command Modes Interface configuration
Syntax mpls traffic-eng backup_tunnel <tunnel-id>

104 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 6 FRR Configuration

no mpls traffic-eng backup_tunnel <tunnel-id>


Syntax
Description
<tunnel-id> Tunnel identifier of the backup tunnel that can
be used in case of a failure

Defaults No backup tunnels are used if this interface goes down.


Instructions � This command is supported after the platform version 4.6.02.
� If there is a link or node failure on the interface, the configured
backup tunnel provides the link protection or node protection
for the main tunnel that needs local protection.
� Only 1:1 mode is supported now. That is to say, there is only
one backup tunnel for the interface to be protected.
� The mutual main/standby mode is not supported.

show ip backup route


Purpose Use this command to show main/standby routing information
about Fast Reroute (FRR).
Command Modes All modes
Syntax show ip backup route
Example This example describes how to show main/standby routing infor-
mation about Fast Reroute (FRR).
ZXR10#show ip backup route

show ip rsvp hello instance


detail
Purpose Use this command to show detailed information about a Hello in-
stance.
Command Modes All modes except user EXEC
Syntax show ip rsvp hello instance detail [filter destination <ip-ad
dress>]
Syntax
Description
<ip-address> IP address of the neighbor node, in the dotted
decimal format

Instructions This command is supported after the platform version 4.6.02 .


Example This example shows detailed information about a Hello instance.
ZXR10#show ip rsvp hello instance detail
Neighbor 200.1.1.1 Source 200.1.1.2
Hello globally enabled
State:UP

Confidential and Proprietary Information of ZTE CORPORATION 105


ZXR10 Command Manual (MPLS Volume)

Type:respond to request
I/F: Eth1/1
LSP protectiong:0
Refresh Interval(msec)
Configured:100
Src_instance 0Xa9f07c13 , Dst_instance 0X9BBAA407

The descriptions of the displayed information are shown below.

Field Description

neighbor IP address of the neighbor

Source IP address of the node sending hello requests

State Communications state: UP indicates


normal communication and LOST indicates
communication is lost or fails

type ACTIVE (the node sends hello requests) ;


PASSIVE (the neighbor sends hello requests)

I/F Interface type

LSP protection Number of the protected LSPs

Refresh Interval Interval for sending the hello requests


Configued

Src_instance Source instance value in the HELLO object

Dst_instance Destination instance value in the HELLO


object

show ip rsvp hello instance


summary
Purpose Use this command to show summary information about a Hello
instance.
Command Modes All modes except user EXEC
Syntax show ip rsvp hello instance summary
Instructions This command is supported after the platform version 4.6.02.
Example This example shows summary information about a Hello instance.
ZXR10#show ip rsvp hello instance summary
Clinet I/F Neighbor Type State LostCnt Lsps
Et1/1 11.0.0.1 PASSIVE UP 0 1
Se2/1 12.0.0.1 PASSIVE UP 0 1

The descriptions of the displayed information are shown below.

106 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 6 FRR Configuration

Field Description

Neighbor IP address of the neighbor

State Communications state: UP indicates


normal communication and LOST indicates
communication is lost or fails

Type ACTIVE (the node sends hello requests);


PASSIVE (the neighbor sends hello requests)

I/F Interface type

LostCnt Number of lost neighbors

show mpls traffic-eng


fast-reroute
Purpose Use this command to display the contents of the Fast ReRoute
database.
Command Modes All modes except user EXEC
Syntax show mpls traffic-eng fast-reroute
Instructions This command is supported after the platform version 4.6.02.
Example This example displays the contents of the Fast ReRoute database.
ZXR10#show mpls traffic-eng fast-reroute
Tunnel head end item information
Protected Tunnel In-label Out intf/label FRR intf/label Status
Tunnel10 Tun hd POS5/0 Tu0:12304 ready
LSP midpoint frr information:
LSP identifier In-label Out intf/label FRR intf/label Status
10.110.0.10 24 [456]

The descriptions of the displayed information are shown below.

Field Description

Protected Tunnel Identifier of the tunnel to be protected

In-label Label value advertised to other nodes by local


node. “Tun hd” indicates the node is the head
node of the tunnel without advertisement of
labels

Out intf/label Outgoing interface of the protected tunnel


label: the label value advertised by the next
hop at the intermediate node

FRR intf/label FRR interface: backup tunnel interface


Label: the label value advertised by the next
hop at the intermediate node

Status FRR current state: ready or active

Confidential and Proprietary Information of ZTE CORPORATION 107


ZXR10 Command Manual (MPLS Volume)

Field Description

Prefix Address for labels to forward packets by

LSP identifier LSP identifier, including source address,


tunnel identidier and lsp identifier

show mpls traffic-eng


interface
Purpose Use this command to display information about interfaces where
RSVP traffic engineering is enbaled.
Command Modes All mods except user EXEC
Syntax show mpls traffic-eng interface [<interface-name >]
Syntax
Description
interface Shows information about a interface where
RSVP traffic engineering is enabled

<interface-name > Locally configured interface with RSVP traffic


engineering function

Defaults All the interfaces with RSVP traffic engineering function will be dis-
played by default.
Instructions This command is supported after the platform version 4.6.02.
Example 1. This example displays information about interfaces where
RSVP traffic engineering is enabled.
ZXR10#show mpls traffic-eng interface
I/F TE Hello interval(ms) misses BK-PATH i/f max(kpbs)
flow max(kpbs)
fei_1/1 YES NO 100 4 NO 75000 75000
fei_1/2 YES NO 100 4 NO 75000 75000
fei_1/4 YES YES 100 4 TUL3 75000 75000

The descriptions of the displayed information are shown below.

Field Description

I/F RSVP TE interface

TE Whether the interface has RSVP TE function

Hello Whether the interface has RSVP hello


function

Interval Time interval for the interface to send the


RSVP hello requests

misses Specifies how many Hello acknowledgments


a node can miss in a row before the node
considers communication with its neighbor
is down

108 Confidential and Proprietary Information of ZTE CORPORATION


Chapter 6 FRR Configuration

Field Description

BK-PATH Whether the interface is configured with


backup tunnel

i/f max Maximal bandwidth of the interface


supporting traffic engineering

flow max Maximal bandwidth of traffic engineering


flow passing through the interface

2. This example displays information about the interface fei_1/4


where RSVP traffic engineering is enabled.
ZXR10#show mpls traffic-eng interface fei_1/4
I/F TE Hello intervalms)misses BK-PATH i/f max(kpbs)
flow max(kpbs)
fei_1/4 YES YES 100 4 TUL3 75000 75000

tunnel mpls traffic-eng


fast-reroute
Purpose Use this command to configure the tunnel to support Fast ReRoute
(FRR).
Command Modes Interface configuration
Syntax tunnel mpls traffic-eng fast-reroute
no tunnel mpls traffic-eng fast-reroute
Defaults The tunnel does not support Fast ReRoute (FRR) by default.
Instructions � This command is supported after the platform version 4.6.02.
� The tunnel supports Fast ReRoute (FRR) and informs the down-
stream node that it needs local protection. The downstream
node tries its best to offer local protection and sends related
information to the head node if local protection is available.

Confidential and Proprietary Information of ZTE CORPORATION 109

Vous aimerez peut-être aussi