ZXR10 8900 Series 10 Gigabit Routing Switch

advertisement
ZXR10 8900 Series
10 Gigabit Routing Switch
Command Reference (MPLS)
Version 2.8.02.C
ZTE CORPORATION
NO. 55, Hi-tech Road South, ShenZhen, P.R.China
Postcode: 518057
Tel: (86) 755 26771900
Fax: (86) 755 26770801
URL: http://ensupport.zte.com.cn
E-mail: support@zte.com.cn
LEGAL INFORMATION
Copyright © 2010 ZTE CORPORATION.
The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution of
this document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPORATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations.
All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE CORPORATION
or of their respective owners.
This document is provided “as is”, and all express, implied, or statutory warranties, representations or conditions are disclaimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose, title or non-infringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the use of or reliance on the
information contained herein.
ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subject
matter of this document. Except as expressly provided in any written license between ZTE CORPORATION and its licensee,
the user of this document shall not acquire any license to the subject matter herein.
ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.
Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.
The ultimate right to interpret this product resides in ZTE CORPORATION.
Revision History
Revision No.
Revision Date
Revision Reason
R1.2
20100205
Edition update
Serial Number: sjzl20093859
Contents
About This Manual............................................. I
Command Introduction .....................................1
Manual Instruction.......................................................... 1
Description of Man-Machine Commands ............................. 1
Auxiliary Function ........................................................... 2
Command Modes............................................................ 3
MPLS LDP Configuration ....................................9
clear mpls ldp ...............................................................10
clear mpls ldp dampening ...............................................10
clear mpls ldp flap .........................................................11
mpls ip (Global Configuration) .........................................11
mpls ip(Interface Configuration) ......................................12
mpls mtu......................................................................12
mpls label range............................................................13
mpls ldp access-fec........................................................13
mpls ldp advertise-labels ................................................15
mpls ldp advertise-labels old-style ...................................16
mpls ldp backoff ............................................................17
mpls ldp bfd .................................................................18
mpls ldp dampening.......................................................19
mpls ldp dampening-acl .................................................19
mpls ldp discovery hello .................................................20
mpls ldp discovery targeted-hello ....................................21
mpls ldp discovery transport-address ...............................22
mpls ldp egress .............................................................23
mpls ldp enable connect-with-dod....................................24
mpls ldp explicit-null ......................................................25
mpls ldp graceful-restart ................................................26
mpls ldp holdtime ..........................................................26
mpls ldp neighbor password............................................27
mpls ldp request-labels ..................................................28
Confidential and Proprietary Information of ZTE CORPORATION
I
ZXR10 8900 Series Command Reference (MPLS)
mpls ldp router-id..........................................................28
mpls ldp style ...............................................................30
mpls ldp target-session ..................................................30
mpls xconnect...............................................................30
show mpls forwarding-table ............................................31
show mpls l2transport binding.........................................32
show mpls l2transport vc................................................33
show mpls label range....................................................35
show mpls ldp backoff ....................................................36
show mpls ldp bindings ..................................................37
show mpls ldp dampening summary.................................39
show mpls ldp flap-statistics summary .............................40
show mpls ldp discovery .................................................41
show mpls interface .......................................................42
show mpls ldp neighbor..................................................42
show mpls ldp graceful-restart ........................................44
show mpls ldp parameters ..............................................45
MPLS BGP VPN Configuration .......................... 47
description ...................................................................47
export map...................................................................48
import map ..................................................................48
ip vrf ...........................................................................49
ip vrf forwarding............................................................49
maximum routes ...........................................................50
monitor session.............................................................50
monitor session destination.............................................51
monitor session source...................................................51
rd................................................................................51
route-target..................................................................52
show ip protocol routing vrf ............................................52
show ip protocol routing vrf-summary ..............................53
show ip route mng.........................................................53
show ip route vpn..........................................................53
show ip route vrf ...........................................................54
show ip route vrf-summary .............................................54
show ip vrf ...................................................................54
show monitor session.....................................................55
tunnel checksum ...........................................................55
tunnel destination..........................................................56
tunnel key ....................................................................56
II
Confidential and Proprietary Information of ZTE CORPORATION
tunnel mode .................................................................56
tunnel sequence ............................................................57
tunnel source ................................................................57
VPLS Configuration.......................................... 59
clear flowstat vpls..........................................................59
clear flowstat vpws ........................................................60
l2protocol-tunnel ...........................................................60
mtu .............................................................................61
peer ............................................................................61
peer static-pw...............................................................63
pwtype.........................................................................63
show mac-filter .............................................................64
show mac-table.............................................................65
show mpls l2transport vc vpls .........................................66
show mpls l2transport vpn summary ................................67
show vfi .......................................................................68
show vfi brief ................................................................69
stp-tunnel enable ..........................................................69
vcid .............................................................................70
vpls apply-mac-filter ......................................................71
vfi ...............................................................................71
vfi mspw ......................................................................72
vpls mac-filter...............................................................72
vlan range ....................................................................73
xconnect vfi ..................................................................74
config fabric vlps ...........................................................74
show fabric vpls config ...................................................75
MPLS Traffic Engineering Configuration........... 77
clear ip rsvp authentication .............................................78
ip explicit-path ..............................................................78
ip rsvp authentication ....................................................79
ip rsvp authentication challenge ......................................79
ip rsvp authentication challenge-imp ................................80
ip rsvp authentication lifetime .........................................80
ip rsvp authentication key passphrase ..............................81
ip rsvp authentication type .............................................81
ip rsvp authentication window-size...................................82
ip rsvp bandwidth ..........................................................82
ip rsvp bfd ....................................................................83
ip rsvp signalling hello (Global Configuration) ....................84
Confidential and Proprietary Information of ZTE CORPORATION
III
ZXR10 8900 Series Command Reference (MPLS)
ip rsvp signalling hello (Interface Configuration) ................84
ip rsvp signalling hello graceful-restart .............................84
ip rsvp signalling hello graceful-restart refresh
interval ................................................................85
ip rsvp signalling hello graceful-restart refresh misses .........85
ip rsvp signalling hello graceful-restart timers
recovery-time .......................................................86
ip rsvp signalling hello graceful-restart timers
restart-time ..........................................................86
ip rsvp signalling refresh interval (Global Configuration) ....................................................................87
ip rsvp signalling refresh interval (Interface
Configuration) .......................................................88
ip rsvp signalling refresh misses (Global Configuration) ....................................................................88
ip rsvp signalling refresh misses (Interface
Configuration) .......................................................89
mpls traffic-eng ds-te.....................................................89
mpls traffic-eng ds-te bc-mode........................................90
mpls traffic-eng ds-te exp-maps ......................................90
mpls traffic-eng ds-te te-class .........................................91
mpls traffic-eng signaling advertise implicit-null.................92
mpls traffic-eng tunnels(Global Configuration) ...................93
mpls traffic-eng tunnels(Interface Configuration) ...............93
show ip rsvp authentication ............................................94
show ip explicit-path ......................................................95
show ip rsvp hello graceful-restart ...................................95
show ip rsvp refresh parameter .......................................96
show mpls traffic-eng ds-te exp-map ...............................96
show mpls traffic-eng ds-te te-class .................................97
show mpls traffic-eng autoroute ......................................98
show mpls traffic-eng interface detail ...............................98
show mpls traffic-eng interface packet-counter ..................99
show mpls traffic-eng tunnels........................................ 100
show mpls traffic-eng tunnels remote-tunnel................... 102
tunnel mpls traffic-eng autoroute announce .................... 103
tunnel mpls traffic-eng autoroute metric ......................... 103
tunnel mpls traffic-eng bandwidth.................................. 104
tunnel mpls traffic-eng path-option ................................ 105
tunnel mpls traffic-eng bfd............................................ 106
IV
Confidential and Proprietary Information of ZTE CORPORATION
tunnel mpls traffic-eng hot-standby ............................... 107
tunnel mpls traffic-eng priority ...................................... 107
tunnel mpls traffic-eng record-route............................... 108
FRR Configuration ......................................... 109
ip rsvp signalling hello.................................................. 109
ip rsvp signalling hello refresh interval............................ 109
ip rsvp signalling hello refresh misses............................. 110
mpls traffic-eng backup_tunnel ..................................... 110
show ip backup route ................................................... 111
show ip rsvp hello instance detail................................... 111
show ip rsvp hello instance summary ............................. 112
show mpls traffic-eng fast-reroute ................................. 113
show mpls traffic-eng interface...................................... 114
tunnel mpls traffic-eng fast-reroute................................ 115
Confidential and Proprietary Information of ZTE CORPORATION
V
ZXR10 8900 Series Command Reference (MPLS)
This page is intentionally blank.
VI
Confidential and Proprietary Information of ZTE CORPORATION
About This Manual
Purpose
Intended
Audience
What Is in This
Manual
Related
Documentation
This manual is ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch Command Reference (MPLS) and applies to ZXR10
8902/8905/8908/8912 10 Gigabit routing switch.
This manual is intended for the following engineers:
�
On-site maintenance engineers
�
Network monitoring engineers
�
System maintenance engineers
This manual contains the following contents:
Chapter
Summary
Chapter 1 Command
Introduction
This chapter describes the use method
of the command manual, command
description, format convention, auxiliary
function and mode.
Chapter 2 MPLS LDP
Configuration
This chapter describes the configuration
and view commands related to MPLS LDP.
Chapter 3 MPLS BGP VPN
Configuration
This chapter describes the configuration
and view commands related to MPLS BGP
VPN.
Chapter 4 VPLS
Configuration
This chapter describes the configuration
and view commands related to VPLS.
Chapter 5 MPLS
Traffic Engineering
Configuration
This chapter describes the configuration
and view commands related to MPLS Traffic
Engineering.
Chapter 6 FRR
Configuration
This chapter describes the configuration
and view commands related to FRR.
The following documentation is related to this manual:
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Hardware Installation Manual
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Hardware Manual
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch User
Manual (Basic Configuration)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch User
Manual (Ethernet Switching)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch User
Manual (IPv4 Routing)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch User
Manual (IPv6)
Confidential and Proprietary Information of ZTE CORPORATION
I
ZXR10 8900 Series Command Reference (MPLS)
II
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch User
Manual (MPLS)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch User
Manual (DPI)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch User
Manual (Firewall)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (Index)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (Basic Configuration Volume I)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (Basic Configuration Volume II)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (Basic Configuration Volume III)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (Ethernet Switching)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (IPv4 Routing Volume I)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (IPv4 Routing Volume II)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (IPv6)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (MPLS)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (Network Management)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (QoS)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (Security)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (Voice and Video)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (Multicast)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (DPI)
�
ZXR10 8900 Series (V2.8.02.C) 10 Gigabit Routing Switch
Command Reference (Firewall)
Confidential and Proprietary Information of ZTE CORPORATION
Chapter
1
Command Introduction
Table of Contents
Manual Instruction..............................................................
Description of Man-Machine Commands .................................
Auxiliary Function ...............................................................
Command Modes................................................................
1
1
2
3
Manual Instruction
ZXR10 8900 Series (V2.8.02.C) 10G Routing Switch Command
Reference includes 16 volumes. For details of each volume, please
refer to preface of this manual.
Commands in ZXR10 8900 Series (V2.8.02.C) 10G Routing Switch
Command Reference (Index) are listed in sequence of from letter a
to letter z and in form of table. Commands of all other volumes are
classified and illustrated according to different function modules.
Each function module corresponds to one chapter and commands
in each chapter are listed in form of second-level directory and in
the sequence of from letter a to letter z.
To search a command information, perform the following steps:
1. Search corresponding command in ZXR10 8900 Series
(V2.8.02.C) 10G Routing Switch Command Reference (Index);
2. Find the details of this command in corresponding volume according to obtained volume information and chapter information related to this command.
Description of Man-Machine
Commands
Each MML command is described by the following items:
�
Command Function
It describes the function implemented by this command.
�
Command Modes
It describes the mode in which this command can be executed.
Confidential and Proprietary Information of ZTE CORPORATION
1
ZXR10 8900 Series Command Reference (MPLS)
�
Command format
It describes the complete format of this command. If no format is available, list it.
�
Parameter Description
It describes parameters in this command in the form and prescribes the range and default value. If different products have
different parameter ranges or default values, an additional
form is used for description.
�
Default Configuration
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.
�
Tips
It firstly 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 platform version X.X.XX. This command is provided from
platform version 4.6.01 by default.
After these information, it describes the use method and precautions of this command.
�
Example
It takes an example to introduce how to use this command.
�
Related Commands
It lists commands related to this command.
�
History Command
It describes history version information related to this command if a command is changed after version upgrade.
Note:
Do not describe the command history if this entry does not exist.
Auxiliary Function
Command help function of ZXR10 devices has the following features:
1. By entering a question mark (?) following DOS prompt in any
command mode, a list of available commands in this command
mode are displayed. With the context-sensitive help function,
the keywords and parameter list of any commands can be displayed.
�
2
By entering a question mark "?" following DOS prompt in
any command mode, a list of all commands in this mode
and brief description of these commands are displayed.
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Command Introduction
�
�
�
Input the question mark following a character or a character string, a list of commands or keywords beginning with
this character or character string is displayed. Note that
there is no space between the character (string) and the
question mark.
Press Tab key following the character string. If the command or keyword beginning with this character string is
unique, complement the command or keyword and attach
a space to the end. Note that there is no space between
the character string and the Tab key.
Input a question mark (?) following the command, keyword or parameter. The next keyword or parameter to be
entered is listed, and also a brief description is given. A
space shall be entered before the question mark.
2. If incorrect command, keyword or parameter is entered, the
error isolation is offered with ^ in the user interface after you
press Enter key. Character ^ locates below the first character
of the entered incorrect command, keyword or parameter.
3. The system allows the command or keyword to be abbreviated
to a character or character string that uniquely identifies this
command or keyword. For example, show command can be
abbreviated to sh or sho.
4. User interface supports the function of recording input commands. Maximum ten history commands can be recorded. This
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.
Command
Function
Press Ctrl-P or the
up arrow key
It re-invokes the latest commands in the
record buffer. Repress these keys to invoke
old commands forwards.
Press Ctrl-N or down
arrow key
Roll commands downwards. When the
last command line is reached, one more
operation will roll the commands from the
beginning of the buffer cyclically.
Use show history command in any mode, and the latest several commands in this mode will be listed.
Command Modes
The command modes in this manual are as follows:
Confidential and Proprietary Information of ZTE CORPORATION
3
ZXR10 8900 Series Command Reference (MPLS)
4
Modes
Prompt
User
Mode
ZXR10>
Privileged
mode
ZXR10#
Global
configuration
mode
Admission
Mode
Command
to Enter the
Mode
Function
Enter this
mode directly
after logging
onto system
View simple
information
User
Mode
enable
Configure
system
parameters
ZXR10(config)#
Privileged
mode
configure
terminal
Configure
global service
parameters
Interface
configuration
mode
ZXR10(configif)#
Global
configuration
mode
interface
It configures
port
parameters
and selects
a port type
depending on
the keyword.
Subinterface
mode
ZXR10 (configsubif)#
Global
configuration
mode
interface
It configures
subinterface
parameters of
NPCI/NPCT.
VLAN
Database
Configuration
Mode
ZXR10(vlandb)#
Privileged
mode
vlan datab
ase
Create or
delete VLAN
in batch
VLAN
Configuration
Mode
ZXR10(configvlan)#
Global
configuration
mode
vlan
Configure
VLAN
parameters.
MSTP
Configuration
Mode
ZXR10(configmstp)#
Global
configuration
mode
spanning-t
ree mst conf
iguration
Configure
MSTP
parameters.
Basic
ACL
Configuration
Mode
ZXR10(configbasic-acl)#
Global
configuration
mode
acl basic
Define basic
ACL rules
Extended
ACL
Configuration
Mode
ZXR10(configext-acl)#
Global
configuration
mode
acl extend
Define
extended ACL
rules
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Command Introduction
Modes
Prompt
Admission
Mode
Command
to Enter the
Mode
Function
LINE
configuration
mode
ZXR10(configline)#
Global
configuration
mode
line console
0
It configures serial
port connection/telnet connection-related
parameters.
L2 ACL
Configuration
Mode
ZXR10(configlink-acl)#
Global
configuration
mode
acl link
Define l2 ACL
rules
Hybrid
ACL
Configuration
Mode
ZXR10(confighybd-acl)#
Global
configuration
mode
acl hybrid
Define hybrid
ACL rules
Router
standard ACL
mode
ZXR10 (configstd-nacl)#
Global
configuration
mode
ip access-list
It defines
router
standard ACL
rules.
Router
extended
ACL
mode
ZXR10 (configext-nacl)#
Global
configuration
mode
ip access-list
It defines
router
extended ACL
rules.
Route
configuration
mode
ZXR10(configrouter)#
Global
configuration
mode
router rip
Configure
RIP protocol
parameters
router ospf
Configure
OSPF protocol
parameters
router isis
Configure
IS-IS protocol
parameters
router bgp
Configure
BGP protocol
parameters
router
pimsm
Configure
PIM-SM
protocol
parameters
ipv6 router
rip
It configures
RIPng
parameters.
ipv6 router
ospf
It configures
OSPFv3
parameters.
line <1~64>
(GAR Devices)
Confidential and Proprietary Information of ZTE CORPORATION
5
ZXR10 8900 Series Command Reference (MPLS)
6
Modes
Prompt
Admission
Mode
Command
to Enter the
Mode
Function
VRF
Configuration
Mode
ZXR10(configvrf)#
Global
configuration
mode
ip vrf
Configure
VRF protocol
parameters
VFI configuration
mode
ZXR10(configvfi)#
Global
configuration
mode
vfi
It configures
VPLS-related
parameters.
Route
address
mode
ZXR10(configrouter-af)#
Route
configuration
mode
(RIP)
address-fam
ily ipv4 vrf
Configure RIP
VRF protocol
parameters
Route
configuration
mode
(BGP)
address-fam
ily vpnv4
Configure
BGP, VPN and
VRF protocol
parameters
address-fam
ily ipv4 vrf
Route
configuration
mode
(BGP4)
address-fam
ily ipv6
It configures
BGP4+
unicast
address
family.
Route
configuration
mode
(ISISv6)
address-fam
ily ipv6
It configures
IS-ISv6
address
family.
ZXR10(configroute-map)#
Global
configuration
mode
route-map
Configure
route map
matching
item and
operations
Channelized
configuration
mode
ZXR10(configcontrol)#
Global
configuration
mode
control
It configures
channelization
for ce1, ce3
and cpos3.
Dial
peer
configuration
mode
ZXR10(configvoip100)#
Global
configuration
mode
dial-peer
voice
It configures
services
related to
integrated
service.
Voice
port
configuration
mode
ZXR10(configvoice-port)#
Global
configuration
mode
voice-port
It configures
voice service.
IPv6
unicast
address
family
configuration
mode
ZXR10(configrouter-af)#
Route
Map
Configuration
Mode
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Command Introduction
Modes
Prompt
Admission
Mode
Command
to Enter the
Mode
Function
IPSec
configuration
mode
ZXR10(configipsec)#
Global
configuration
mode
ipsec
It configures
IPv6 IPSec
protection.
Diagnosis mode
ZXR10(diag)#
Privileged
mode
diagnose
It tests CPU
utilization
and memory
utilization.
Confidential and Proprietary Information of ZTE CORPORATION
7
ZXR10 8900 Series Command Reference (MPLS)
This page is intentionally blank.
8
Confidential and Proprietary Information of ZTE CORPORATION
Chapter
2
MPLS LDP Configuration
Table of Contents
clear mpls ldp ...................................................................10
clear mpls ldp dampening ...................................................10
clear mpls ldp flap .............................................................11
mpls ip (Global Configuration) .............................................11
mpls ip(Interface Configuration) ..........................................12
mpls mtu .........................................................................12
mpls label range................................................................13
mpls ldp access-fec............................................................13
mpls ldp advertise-labels ....................................................15
mpls ldp advertise-labels old-style .......................................16
mpls ldp backoff ................................................................17
mpls ldp bfd .....................................................................18
mpls ldp dampening ..........................................................19
mpls ldp dampening-acl .....................................................19
mpls ldp discovery hello .....................................................20
mpls ldp discovery targeted-hello ........................................21
mpls ldp discovery transport-address ...................................22
mpls ldp egress .................................................................23
mpls ldp enable connect-with-dod........................................24
mpls ldp explicit-null ..........................................................25
mpls ldp graceful-restart ....................................................26
mpls ldp holdtime ..............................................................26
mpls ldp neighbor password................................................27
mpls ldp request-labels ......................................................28
mpls ldp router-id..............................................................28
mpls ldp style ...................................................................30
mpls ldp target-session ......................................................30
mpls xconnect...................................................................30
show mpls forwarding-table ................................................31
show mpls l2transport binding.............................................32
show mpls l2transport vc....................................................33
show mpls label range........................................................35
show mpls ldp backoff........................................................36
show mpls ldp bindings ......................................................37
show mpls ldp dampening summary.....................................39
show mpls ldp flap-statistics summary .................................40
show mpls ldp discovery.....................................................41
show mpls interface ...........................................................42
show mpls ldp neighbor......................................................42
show mpls ldp graceful-restart ............................................44
show mpls ldp parameters ..................................................45
Confidential and Proprietary Information of ZTE CORPORATION
9
ZXR10 8900 Series Command Reference (MPLS)
clear mpls ldp
Purpose
Command Modes
Syntax
Syntax
Description
Instructions
Example
Use this command to reset the LDP router or its connection with
some neighbor.
Privileged EXEC
clear mpls ldp [neighbor <ip-address>]
neighbor <ip-addre
ss>
IP address of the neighbor, in the dotted
decimal format
After this command is configured, the router is reset and interrupted, 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 neighbor 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).
�
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
Command Modes
Syntax
Syntax
Description
Instructions
Example
Use this command to clear LDP routes dampening and unsuppress
the suppressed routes.
Privileged EXEC
clear mpls ldp dampening [<ip-address><net-mask>]
<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
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 suppress 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.
�
This example describes how to reset LDP dampening information.
ZXR10#clear mpls ldp dampening
10
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
Command Modes
Syntax
Syntax
Description
Instructions
Example
Use this command to clear the flapping statistic information of LDP
routers.
Privileged EXEC
clear mpls ldp flap [<ip-address><net-mask>]
<ip-address>
Network IP address, in the dotted decimal
format
<net-mask>
Network mask, in the dotted decimal format
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.
�
This example describes how to rest LDP flapping statistic information.
ZXR10#clear mpls ldp flap
�
This example describes how to reset the flapping statistic information of a LSP.
ZXR10#clear mpls ldp flap 100.1.1.1 32
mpls ip (Global
Configuration)
Purpose
Command Modes
Syntax
Use this command to enable LDP to establish an LSP along a common hop-by-hop routing path. Disable LDP with the no form of
this command.
Global configuration
mpls ip
no mpls ip
Defaults
Instructions
LDP is disabled by default.
�
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
11
ZXR10 8900 Series Command Reference (MPLS)
�
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
Command Modes
Syntax
Use this command to enable LDP label switching on the interface.
Disable LDP label switching with the no form of this command.
Interface configuration
mpls ip
no mpls ip
Defaults
Instructions
Example
This command is disabled by default.
�
This command enables LDP to exchange labels on the interface
of layer 3. Once the command is configured, LSR starts to periodically 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.
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
Commands
show mpls interface
show mpls ldp discovery
mpls mtu
Purpose
Command Modes
Syntax
Use this command to configure mtu attribute of MPLS.
L3 interface mode.
mpls mtu <mtu-value>
no mpls mtu
Syntax
Description
Instruction
12
<mtu value>
size of mtu, range: 12816383.
This command is available after platform version 4.8.23.
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Example
This example describes how to configure mpls mtu on VLAN100
interface mode.
ZXR10(config)#interface vlan100
ZXR10(config-if)#mpls mtu 1452
Related
Commands
mpls ip
mpls label range
Purpose
Command Modes
Syntax
Use this command to configure a label range for LDP. Restore default with the no form of this command.
Global configuration
mpls label range <min-label><max-label>
no mpls label range
Syntax
Description
Example
<min-label>
Minimal available label, range: 16~1048575
<max-label>
Maximal available label, range: 16~1048575
This example describes how to set the label range as 1000~10000.
ZXR10(config)#mpls label range 1000 10000
Related
Commands
show mpls label range
mpls ldp access-fec
Purpose
Command Modes
Syntax
Use this command to control LDP's creation of FEC for which destination 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 command.
Global configuration
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
st>
Destination network to be filtered, basic ACL:
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
Confidential and Proprietary Information of ZTE CORPORATION
13
ZXR10 8900 Series Command Reference (MPLS)
Defaults
Instructions
LDP creates FEC for all destination networks except the route networks obtained by BGP.
�
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
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
Commands
14
show mpls ldp binding
show running-config
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
mpls ldp advertise-labels
Purpose
Command Modes
Syntax
Use this command to control the distribution of locally assigned labels (incoming labels) through LDP. This command controls which
destination network segment labels are advertised to which neighbors. To disable this feature, use the no form of this command.
Global configuration
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
Defaults
Instructions
for <prefix-access-li
st>
Destination network label to be advertised,
basic ACL: 1~99 and 1000~1499
to <peer-access-list>
Advertises which labels to which neighbors,
basic ACL: 1~99 and 1000~1499
All labels are advertised to all neighbors by default.
The no mpls ldp advertise-labels command without any optional 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 optional 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 condition 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 neighbors.
Confidential and Proprietary Information of ZTE CORPORATION
15
ZXR10 8900 Series Command Reference (MPLS)
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 stable 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 advertising any label to any neighbor.
ZXR10(config)#no mpls ldp advertise-labels
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
Commands
mpls ldp advertise-labels old-style
mpls ldp advertise-labels
old-style
Purpose
16
Use this command to allow the <prefix-access-list> argument after the keyword for in the mpls ldp advertise-labels command
to be interpreted according to the earlier Cisco IOS software releases. To disable this feature, use the no form of this command.
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Command Modes
Syntax
Global configuration
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 instruction 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
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 processing 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
Commands
mpls ldp advertise-labels
mpls ldp backoff
Purpose
Command Modes
Syntax
Use this command to configure the parameter of the LDP session
backoff reestablishment mechanism. To restore default, use the
no form of this command.
Global configuration
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
Confidential and Proprietary Information of ZTE CORPORATION
17
ZXR10 8900 Series Command Reference (MPLS)
Instructions
Example
�
The LDP session backoff reestablishment mechanism prevents
two LSRs with incompatible configurations falling into the endless cycle form the establishment of the session to the failure. 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 backoff reestablishment mechanism is defined by the LDP protocol
specifications. There is no need to change tyhe default configuration until the default parameter indeed causes bad behaviors.
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
Related
Commands
show mpls ldp backoff
show mpls ldp parameters
mpls ldp bfd
Purpose
Command Modes
Syntax
Use this command to configure the corresponding parameters of
LDP LSP BFD and trigger the bfd session for creating LSP.
Global configuration
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
18
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Related
Commands
show bfd nei ldp-lsp
mpls ldp dampening
Purpose
Command Modes
Syntax
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.
Global configuration
mpls ldp dampening [<half-life><reuse><suppress><max-su
ppress-time>]
no mpls ldp dampening
Syntax
Description
Defaults
Instructions
Example
<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
me>
Maximum time (in minutes) a route can be
suppressed. range: 1~255, default: 60
minutes
This command is disabled by default.
If there is no parameter after this command, the LDP route dampening 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.
This example describes how to enable LDP route dampening.
ZXR10(config)#mpls ldp dampening
Related
Commands
show running-config
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.
Confidential and Proprietary Information of ZTE CORPORATION
19
ZXR10 8900 Series Command Reference (MPLS)
Command Modes
Syntax
Global configuration
mpls ldp dampening-acl {for <prefix-access-list>| force}
no mpls ldp dampening-acl
Syntax
Description
for <prefix-access-li
st>
Specifies which networks to be filtered. basic
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
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 immediately.
Example
1. This example describes how to record the dampening information 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
Commands
show running-config
mpls ldp discovery hello
Purpose
Command Modes
Syntax
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.
Global configuration
mpls ldp discovery hello {holdtime <holdtime>| interval <int
erval>}
no mpls ldp discovery hello {holdtime | interval}
20
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Syntax
Description
Example
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
This example describes how to set the status holdtime as 100 seconds 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
Related
Commands
show mpls ldp parameter
mpls ldp discovery
targeted-hello
Purpose
Command Modes
Syntax
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 default, use the no form of this command.
Global configuration
mpls ldp discovery targeted-hello {holdtime <holdtime>|
interval <interval>}
no mpls ldp discovery targeted-hello {holdtime | interval}
Syntax
Description
Instructions
Example
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
This command is supported after the platform version 4.6.02.
This example describes how to set the status holdtime as 100 seconds 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
Confidential and Proprietary Information of ZTE CORPORATION
21
ZXR10 8900 Series Command Reference (MPLS)
Related
Commands
show mpls ldp parameter
mpls ldp discovery
transport-address
Purpose
Command Modes
Syntax
Use this command to configure the transmission address parameter carried in hello messages on the layer 3 interface. To disable
this feature, use the no form of this command.
Interface configuration
mpls ldp discovery transport-address {interface |<ip-addre
ss>}
no mpls ldp discovery transport-address
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 mechanism 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 implicit (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.
22
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Tip:
If there are multiple links between routers, these routers must
advertise the same transmission address on the corresponding interfaces.
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
Commands
show mpls ldp discovery
show mpls ldp neighbor
mpls ldp egress
Purpose
Command Modes
Syntax
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.
Global configuration
mpls ldp egress {for <prefix-access-list>| nexthop <nexthopaccess-list>}
no mpls ldp egress {for | nexthop}
Syntax
Description
for <prefix-access-li
st>
Specifies which destination networks to which
popup labels are allocated, range: 1~99
nexthop <nexthop-a
ccess-list>
Specifies the nexthop of the destination
networks, range: 1~99
Defaults
By default, LDP allocates popup labels only to the directly connected networks and makes advertisements to the peer LSR.
Instructions
By default, LDP allocates popup labels only to the directly connected 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 because there is no outgoing label according to the MPLS framework
protocol.
In this case, it is necessary to configure the egress control policy to specify LDP to allocate popup labels to destination networks
Confidential and Proprietary Information of ZTE CORPORATION
23
ZXR10 8900 Series Command Reference (MPLS)
flowing out of MPLS network, and make advertises to the upstream
LSR. Thus upstream LSR will forward the traffic from the MPLS network in the form of IP packets (or explicitly popup label packets).
There are two kinds of control policies: based on destination network 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 configuration and does not reallocate labels to the existing FECs. Therefore, 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 networks 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
Command Modes
Syntax
Use this command to set the compatibility of the label advertisement mode. To disable this feature, use the no form of this command.
Global configuration
mpls ldp enable connect-with-dod
no mpls ldp enable connect-with-dod
Instructions
24
Use this command to make the router to interconnect with LSR
adopting the DOD mode.
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
mpls ldp explicit-null
Purpose
Command Modes
Syntax
Use this command to make the router which is supposed to advertise implicit null labels advertise explicit null labels. To disable this
feature, use the no form of this command.
Global configuration
mpls ldp explicit-null [for <prefix-access-list>][to <peer-acce
ss-list>]
no mpls ldp explicit-null
Syntax
Description
Defaults
Instructions
Example
for <prefix-access-li
st>
Specifies the prefix of the explicit null labels
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
By default, ZXR10 advertises directly connected networks to all
neighbors by means of implicit null labels.
�
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 advertised to all the directly connected networks; if the parameter <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 advertised 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 configure this command when the system is running to avoid inconsistency.
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 implicit 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)#
Confidential and Proprietary Information of ZTE CORPORATION
25
ZXR10 8900 Series Command Reference (MPLS)
mpls ldp graceful-restart
Purpose
Command Modes
Syntax
Use this command to enable the router to support LDP Graceful
restart function.
Global configuration
mpls ldp graceful-restart [timer {max-recovery <interval>|
neighbor-liveness <interval>}]
no mpls ldp graceful-restart [timer {max-recovery | neighb
or-liveness}]
Syntax
Description
Instructions
Example
max-recovery
<interval>
Maximum time for LSR to wait for the label
recovery of the peer neighbor (in seconds), it
needs negotiation. range: 15~600, default:
120 seconds
neighbor-liveness
<interval>
Maximum time for LSR to wait for the LDP
session recovery (in seconds), it needs
negotiation. range: 5~300, default: 120
seconds
�
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 command take effect, because the relevant parameters negotiate
in the initialized messages.
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 seconds.
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
Commands
show mpls ldp graceful-restart
show mpls ldp neighbor graceful-restart
mpls ldp holdtime
Purpose
Command Modes
Syntax
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.
Global configuration
mpls ldp holdtime <seconds>
no mpls ldp holdtime
26
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
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
Related
Commands
show mpls ldp neighbor
show mpls ldp parameters
mpls ldp neighbor password
Purpose
Command Modes
Syntax
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.
Global configuration
mpls ldp neighbor <ip-address> password <password>
no mpls ldp neighbor <ip-address> password
Syntax
Description
Defaults
Instructions
<ip-address>
Address of the neighbor used in TCP
connection or router ID identifying the
neighbor, in the dotted decimal format
password
<password>
MD5 key used for establishing TCP connection
with the neighbor, 3~80 characters
By default, there is no MD5 option in ZXR10 LDP session.
MD5 authentication can be introduced between LDP peers to authenticate 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 command), 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
Confidential and Proprietary Information of ZTE CORPORATION
27
ZXR10 8900 Series Command Reference (MPLS)
mpls ldp request-labels
Purpose
Command Modes
Syntax
Use this command to configure the prefix and downstream neighbors for which LDP sends request messages. To disable this feature, use the no form of this command.
Global configuration
mpls ldp request-labels for <prefix-access-list>
no mpls ldp request-labels
Syntax
Description
Defaults
Instructions
Example
<prefix-access-list>
Prefix access list for the request message to
be sent, range: 1~99
By default, ZXR10 does not send any request messages.
�
This command enables the router to send label request messages 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 configure this command when the system is running to avoid inconsistency.
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
Command Modes
Syntax
Use this command to configure the LDP router identifier. To disable
this feature, use the no form of this command.
Global configuration
mpls ldp router-id <interface-name>[force]
no mpls ldp router-id [force]
Syntax
Description
Defaults
<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
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 designate the address of an interface as the router identifier, and
28
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
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 unavailable sometimes, for example, the routing protocol does not
advertise the IP address elected as the router identifier to neighbors. In addition, the router configuration may cause the LPD
router identifier is uncertain, and this invalidates the neighbor’s
control policy.
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 identifier specified by the mpls ldp router-id command will not take
effect until the next router identifier election, and the router identifier 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 sessions, 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 interface 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 interface fei_1/1 as the router identifier.
ZXR10(config)#mpls ldp router-id fei_1/1
Confidential and Proprietary Information of ZTE CORPORATION
29
ZXR10 8900 Series Command Reference (MPLS)
Related
commands
show mpls ldp discovery
mpls ldp style
Purpose
Command Modes
Syntax
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.
Global configuration
mpls ldp style
no mpls ldp style
Instructions
By default, ZXROS updates the keepalive timer of sessions whenever 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 mechanism of LDP sessions.
ZXR10(config)#mpls ldp style
mpls ldp target-session
Purpose
Command Modes
Syntax
Use this command to configure the address of the indirect remote
target session and establish the target session. To delete the session, use the no form of this command.
Global configuration
mpls ldp target-session <ip-address>
no mpls ldp target-session <ip-address>
Syntax
Description
Instructions
Example
<ip-address>
IP address or router identifier of the remote
neighbor
This command is supported after the platform version 4.6.02.
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
Commands
show mpls ldp neighbor
mpls xconnect
Purpose
30
Use this command to configure the address, VPWS identifier, and
tunnel number of the remote interface. The creation of VPWS is
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
triggered between local interface and the remote interface. Delete
the VPWS with the no form of this command. VPWS service can
be configured to use static PW.
Command Modes
Syntax
Interface configuration
mpls xconnect [static-pw]<ip-address>[<static-p>]<vc-id>[t
unnel <tunnel number>][mtu <mtu value>]
no mpls xconnect
Syntax
Description
Instructions
<ip-address>
IP address of the remote interface or router
identifier of the remote node
<vc-id>
VPWS identifier, range: 1~4294967295
tunnel <tunnel
number>
Tunnel number used for creating VPWS,
range: 1~1024
static-pw
Configure all static PW entries of VPWS
service which use static PW.
<mtu value>
the size of mtu, range: 12816383.
VCID must be unique on local node and the corresponding interface on remote node must have the same VCID. Network-unique
PW identifier is composed of remote node IP address and VCID.
With parameter tunnel, MPLS label is assigned by specified tunnel;
with no parameter tunnel, the label is assigned by LDP.
V4.8.22 and its later versions support to configure VPWS service
of static PW.
V4.08.23 and its later versions support to configure mtu of VPWS
service.
Example
Establish VPWS with vcid to be 99 between interface vlan 99 and
the node whose router-id is 1.1.1.1; establish VPWS with vcid to
be 100 between interface vlan 100 and the node whose is router-id
is 1.1.1.1.
ZXR10(config#)interface vlan99
ZXR10(config-if)#mpls xconnect 1.1.1.1 99
ZXR10(config-if)#exit
ZXR10(config#)interface vlan100
ZXR10(config-if)#mpls xconnect 1.1.1.1 100 mtu 1504
Configure VPWS which uses static PW:
ZXR10(config-if)#mpls xconnect static-pw 1.1.1.1 test 100
Related
Commands
show mpls l2transport binding
show mpls forwarding-table
Command
Function
Command Modes
This checks LIB.
All Modes
Confidential and Proprietary Information of ZTE CORPORATION
31
ZXR10 8900 Series Command Reference (MPLS)
Command format
Parameter
Description
Example
show mpls forwarding-table [<prefix>[{<mask>|<mask-len
>}]]
Parameter
Description
<prefix>
This is prefix of destination address.
<mask>
This is mask of destination address prefix.
<mask-len>
This is length of mask of destination address
prefix, in range of 1~32.
To show current LIB, execute the following commands:
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
Description of displayed fields:
Field
Description
InLabel
This is inlabel.
OutLabel
This is outlabel.
Dest
This is destination network
segment address or destination
host address.
Pfxlen
This is length of prefix.
Interface
This is outgoing interface.
NextHop
This is next hop.
show mpls l2transport
binding
Purpose
Command Modes
Syntax
Syntax
Description
32
Use this command to check label binding information of L2 VPN.
User EXEX and privileged EXEC
show mpls l2transport binding [<vc-id>|<ip-address>| local
-label <local-label>| remote-label <remote-label>]
<vc-id>
VC identifier, range: 1~4294967295
<ip-address>
Remote IP address bounded
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Instructions
Example
local-label
<local-label>
Locally assigned label, range: 0~1048575
remote-label
<remote-label>
Remotely assigned label, range: 0~1048575
This command is supported after the platform version 4.6.02.
This example describes how to show the current L2 transport binding 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
Interface Desc
Port information
Remote Label
Remotely assigned label
show mpls l2transport vc
Purpose
Command Modes
Syntax
Use this command to check the VC information transmitted at
Layer 2.
All modes
show mpls l2transport vc [{vcid <vcidmin>[<vcidmax>]|
interface <interface-name>[<loca-lcircuit-id1>[<local-circuit-id
2>]]| destination <ip-addr>}][detail]
Confidential and Proprietary Information of ZTE CORPORATION
33
ZXR10 8900 Series Command Reference (MPLS)
Syntax
Description
Instructions
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>
Name of the interface bounded with VPWS
<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
<ip-addr>
VC destination address, in the dotted decimal
format
[detail]
Detailed information of an entry
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
fei_1/8.200
VlanID: 600
3.4.5.6
fei_1/8.199
VlanID: 599
3.4.5.6
fei_1/8.198
VlanID: 598
3.4.5.6
fei_1/8.197
VlanID: 597
3.4.5.6
fei_1/8.196
VlanID: 596
3.4.5.6
VCID
600
599
598
597
596
Status
up
up
up
up
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
LocalIntf
LocalCircuit
DestAddress VCID
fei_1/2.5
VlanID: 205
3.4.5.6
205
fei_1/2.4
VlanID: 204
3.4.5.6
204
fei_1/2.3
VlanID: 203
3.4.5.6
203
fei_1/2.2
VlanID: 202
3.4.5.6
202
fei_1/2.1
VlanID: 201
3.4.5.6
201
Status
up
up
up
up
up
3. This example describes how to show VCs with destination address 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
34
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
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(LocalInterface)
Local interface bounded with VPWS
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
time
Period since VC changed recently
Signalling protocol
Signalling protocol for allocating VC labels
MPLS VC labels
VC label
Group ID
Group identifier
MTU
Maximum transmission unit
Remote interface
description
Description of the remote interface
bounded with VPWS
Sequencing
Sequencing function
show mpls label range
Purpose
Use this command to show the label range that LDP can use.
Confidential and Proprietary Information of ZTE CORPORATION
35
ZXR10 8900 Series Command Reference (MPLS)
Command Modes
Syntax
Syntax
Description
Example
User EXEC and privileged EXEC
show mpls label range [detail]
detail
Shows detailed information of labels
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.
Related
Commands
Field
Description
Downstream label
pool
Shows the configured minimal/maximal
usable label value
mpls label range
show mpls ldp backoff
Purpose
Command Modes
Syntax
Example
Use this command to show the configuration of LDP session
backoff reestablishment parameters and the session in the backoff
reestablishment state.
User EXEC and privileged EXEC
show mpls ldp backoff
This example shows the output of the show mpls ldp backoff
command.
ZXR10#show mpls ldp backoff
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.
36
Field
Description
LDP initial/maximum
backoff
Shows backoff parameters of which the unit
is second
LDP Id
ID of LDP neighbor
Backoff(sec)
Shows backoff time
Waiting(sec)
Shows waiting time in the backoff state
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Related
Commands
mpls ldp backoff
show mpls ldp bindings
Purpose
Command Modes
Syntax
Use this command to show information about the binding of
learned LDP labels.
User EXEC and privileged EXEC
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
<label>[<label>]
Shows the entries matching the local label
value, and specifies the label range with the
parameter label – label, range: 0~1048575
remote-label
<label>[<label>]
Shows the entries matching the label value
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
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 downstream 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,
remote binding: lsr: 66.66.0.66:0,
remote binding: lsr: 144.0.0.44:0,
45.0.0.0/255.0.0.0
local binding: label: 19
remote binding: lsr: 155.0.0.55:0,
remote binding: lsr: 66.66.0.66:0,
remote binding: lsr: 144.0.0.44:0,
66.66.0.66/255.255.255.255
local binding: label: 20
remote binding: lsr: 155.0.0.55:0,
remote binding: lsr: 66.66.0.66:0,
remote binding: lsr: 144.0.0.44:0,
103.0.0.0/255.0.0.0
label: 17
label: 18
label: imp-null
label: imp-null
label: 16
label: imp-null
inuse
label: 19
label: imp-null(inuse)
label: 18
Confidential and Proprietary Information of ZTE CORPORATION
37
ZXR10 8900 Series Command Reference (MPLS)
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 network 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
Total number of
Total number of
Total number of
ldp bindings summary
prefixes: 17
Upstream LSP Control Block: 51
Downstream LSP Control Block: 45
Generic label binbings
assigned
learned
prefixes
in labels
17
17
out labels
14
The displayed field descriptions are shown below.
38
Field
Description
Total number of
prefixes
Total number of FECs discovered by LDP
routing or created by downstream mapping
Total number of
Upstream LSP
Control Block
Total number of upstream control blocks
created by LDP
Total number of
Downstream LSP
Control Block
Total number of downstream control blocks
created by LDP
Generic label
binbings
Universal label binding summary
Prefixes
Total number of FECs exchanged hop by
hop by LDP
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Field
Description
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
Command Modes
Syntax
Syntax
Description
Use this command to show the suppressed LSP in the current LDP
flapping routes.
User EXEC and privileged EXEC
show mpls ldp dampening summary [<ip-address><net-mas
k>]
<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
information
If there is not any parameter after this command , all information
about LSP in LDP flapping routes is displayed. If there is a parameter after this command, the dampening information of current LSP
is displayed.
Example
This example describes how to display information about LDP discovery.
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.
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
Confidential and Proprietary Information of ZTE CORPORATION
39
ZXR10 8900 Series Command Reference (MPLS)
Field
Description
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
Command Modes
Syntax
Syntax
Description
Instructions
Example
Use this command to show dampening information of LSP in LDP
flapping routes.
User EXEC and privileged EXEC
show mpls ldp flap-statistics summary [<ip-address><net-m
ask>]
<ip-address>
Ntwork IP address related to dampening
information, in the dotted decimal format
<net-mask>
Network mask, in the dotted decimal format
If there is not any parameter after this command, all information
about LSP in LDP flapping routes is displayed. If there is a parameter after this command, dampening information of current LSP is
dispalyed.
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.
40
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
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
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Field
Description
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
Command Modes
Syntax
Syntax
Description
Example
Use this command to show information about LDP discovery .
User EXEC and privileged EXEC
show mpls ldp discovery [detail]
detail
Shows the detailed information of the
discovered neighbor
This example describes how to show information about LDP discovery .
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
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
Confidential and Proprietary Information of ZTE CORPORATION
41
ZXR10 8900 Series Command Reference (MPLS)
show mpls interface
Purpose
Command Modes
Syntax
Syntax
Description
Use this command to show the interface on which LDP is enabled.
User EXEC and privileged EXEC
show mpls interface [<interface-name>]
<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 interface where LDP is enabled.
ZXR10#show mpls interfaces
Interface
IP
Tunnel
fei_1/1
Yes(ldp)
No
fei_1/2
Yes(ldp)
No
fei_1/3
Yes(ldp)
No
POS3_2/0
Yes(ldp)
No
Operational
No
No
Yes
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
Command Modes
Syntax
Syntax
Description
Example
Use this command to show information about LDP sessions.
User EXEC and privileged EXEC
show mpls ldp neighbor [<neighbor>|<interface-name>][det
ail]
<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
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
42
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
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
Downstream
Indicates the session is in the downstream
autonomous label distribution control mode
Downstream on
demand
Indicates the session in the downstream
label distribution on demand control mode
Up time
Period when the session is in the current
state
LDP discovery
sources
Adjacent relationship list maintaining the
session
interface
Interface where the adjacency relation is
created
Confidential and Proprietary Information of ZTE CORPORATION
43
ZXR10 8900 Series Command Reference (MPLS)
Field
Description
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
peer LDP Ident
IP addresses of all interfaces advertised
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
Command Modes
Syntax
Instructions
Example
Use this command to examine the current configuration information of LDP Graceful Restart.
User EXEC and privileged EXEC
show mpls ldp graceful-restart
This command is supported after the platform version 4.8.20.
This example describes how to show the current configuration information 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.
44
Field
Description
LDP Graceful Restart
is enabled
Route has been configured with LDP GR
Neighbor Liveness
Timer
Time interval of Neighbor Liveness Timer
Max Recovery Timer
Time interval of Max Recovery Timer
Graceful Restartenabled Sessions
Show the current GR process
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
show mpls ldp parameters
Purpose
Command Modes
Syntax
Example
Use this command to show information about current parameters
of LDP.
User EXEC and privileged EXEC
show mpls ldp parameters
This example describes how to show the current parameter information 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
pool
Label pool information
Session hold time
Holdtime of the session
keep alive interval
Interval for sending keepalive messages
Discovery hello
Setting of basic discovery parameters
Downstream on
Demand max hop
count
Reserved version upgrading
LDP initial/maximum
backoff
Setting of parameters for the LDP session
backoff reestablishment mechanism
LDP loop detection
Reserved version upgrading
Confidential and Proprietary Information of ZTE CORPORATION
45
ZXR10 8900 Series Command Reference (MPLS)
This page is intentionally blank.
46
Confidential and Proprietary Information of ZTE CORPORATION
Chapter
3
MPLS BGP VPN
Configuration
Table of Contents
description .......................................................................47
export map.......................................................................48
import map ......................................................................48
ip vrf ...............................................................................49
ip vrf forwarding................................................................49
maximum routes ...............................................................50
monitor session.................................................................50
monitor session destination ................................................51
monitor session source.......................................................51
rd....................................................................................51
route-target......................................................................52
show ip protocol routing vrf ................................................52
show ip protocol routing vrf-summary ..................................53
show ip route mng.............................................................53
show ip route vpn..............................................................53
show ip route vrf ...............................................................54
show ip route vrf-summary.................................................54
show ip vrf .......................................................................54
show monitor session.........................................................55
tunnel checksum ...............................................................55
tunnel destination..............................................................56
tunnel key ........................................................................56
tunnel mode .....................................................................56
tunnel sequence ................................................................57
tunnel source....................................................................57
description
Purpose
Command Modes
Syntax
Use this command to set the description about a VRF. Delete the
description with the no form of this command.
VRF configuration
description <string>
no description
Syntax
Description
<string>
Description about the VRF, a string of 1~16
characters
Confidential and Proprietary Information of ZTE CORPORATION
47
ZXR10 8900 Series Command Reference (MPLS)
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
Command Modes
Syntax
Use this command to set the export route map related to the VRF.
Delete the configuration with the no form of this command.
VRF configuration
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
Commands
import map
import map
Purpose
Command Modes
Syntax
Use this command to set the import route map related to a VRF.
Delete the configuration with the no form of this command.
VRF configuration
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
48
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 MPLS BGP VPN Configuration
Related
Commands
export map
ip vrf
Purpose
Command Modes
Syntax
Use this command to configure a VPN instance (VRF). Delete the
VRF with the no form of this command.
Global configuration
ip vrf <vrf-name>
no ip vrf <vrf-name>
Syntax
Description
Instructions
Example
<vrf-name>
NRF name, a string of 1~16 characters
�
The name is only locally valid and it is used when some interface is bounded with the VPN.
�
Enter the VRF configuration mode after the command is executed successfully.
This example describes how to configure a VPN named zte.
ZXR10(config)#ip vrf zte
ZXR10(config-vrf)#
ip vrf forwarding
Purpose
Command Modes
Syntax
Use this command to associate an interface with a VRF. Cancel the
association with the no form of this command.
Interface configuration
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
Commands
ip vrf
rd
Confidential and Proprietary Information of ZTE CORPORATION
49
ZXR10 8900 Series Command Reference (MPLS)
maximum routes
Purpose
Command Modes
Syntax
Use this command to control the number of routes entering VRF
and give the related alarm.
VRF configuration
maximum routes limit {warn threshold | warn-only}
no maximum routes
Syntax
Description
Defaults
Instructions
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
None
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
Commands
show ip vrf detail
monitor session
Purpose
Command Modes
Syntax
Use this command to configure port monitor session. Delete the
session with the no form of this command.
Global configuration
monitor session <number>
no monitor session <number>
Syntax
Description
Instructions
50
<number>
Port monitor session number, range: 1~8
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.
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 MPLS BGP VPN Configuration
monitor session destination
Purpose
Command Modes
Syntax
Use this command to add destination monitor ports into sessions.
Interface configuration
monitor session <number> destination
no monitor session
Syntax
Description
<number>
Port monitor session number, range: 1~8
monitor session source
Purpose
Command Modes
Syntax
Use this command to add source monitor port into session.
Interface configuration
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
Command Modes
Syntax
Syntax
Description
Defaults
Use this command to configure a route distinguisher (RD) for the
VRF.
VRF configuration
rd <route-distinguisher>
<route-distinguisher>
Route distinguisher of the VRF, in two
formats: <1~65535>:<0~4294967295> or
A.B.C.D:<0~65535>
There is no route distinguisher by default.
Instructions
The VRF does not take effect until the route distinguisher is configured.
Examples
This example describes how to configure an route distinguisher for
the VPN named zte.
Confidential and Proprietary Information of ZTE CORPORATION
51
ZXR10 8900 Series Command Reference (MPLS)
ZXR10(config)#ip vrf zte
ZXR10(config-vrf)#rd 1:1
route-target
Purpose
Command Modes
Syntax
Use this command to create route-target extended community attribute related to the VRF. Delete the attribute with the no command.
VRF configuration
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
ty>
Route-target extended community 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
Command Modes
Syntax
52
Use this command to show information about the corresponding
VRF protocol routing table (incoming and outgoing labels).
All modes
show ip protocol routing vrf <vrf-name>[network <ip-addre
ss>[mask <net-mask>]]
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 MPLS BGP VPN Configuration
Syntax
Description
Instructions
<vrf-name>
VRF name, a string of 1~16 characters
network <ip-addre
ss>
Network number, in the dotted decimal format
mask <net-mask>
Network mask, in the dotted decimal format
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
Command Modes
Syntax
Syntax
Description
Use this command to show the total number of the corresponding
VRF routing tables.
All modes
show ip protocol routing vrf-summary <vrf-name>
<vrf-name>
VRF name, a string of 1~16 characters
show ip route mng
Purpose
Command Modes
Syntax
Example
Use this command to show the route information of management
ports.
All modes
show ip route mng
This example describes how to show the route information of management ports.
ZXR10#show ip route mng
show ip route vpn
Purpose
Command Modes
Syntax
Example
Use this command to show the route information of VPN instances.
All modes
show ip route vpn
This example describes how to show the route information of all
VPN instances.
Confidential and Proprietary Information of ZTE CORPORATION
53
ZXR10 8900 Series Command Reference (MPLS)
ZXR10#show ip route vpn
show ip route vrf
Purpose
Command Modes
Syntax
Syntax
Description
Example
Use this command to show the VRF route information.
All modes
show ip route vrf <vrf-name>[network <ip-address>[mask
<net-mask>]]
<vrf-name>
VRF name, a string of 1~16 characters
network <ip-addre
ss>
Network IP address, in the dotted decimal
format
mask <net-mask>
Subnet mask, in the dotted decimal format
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
Command Modes
Syntax
Syntax
Description
Example
Use this command to show the total number of VRF routes.
All modes
show ip route vrf-summary <vrf-name>
<vrf-name>
VRF name, a string of 1~16 characters
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
Command Modes
Syntax
54
Use this command to show the VRF configuration information.
All modes
show ip vrf [brief | detail | interfaces | summary][<vrf-nam
e>]
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 MPLS BGP VPN Configuration
Syntax
Description
Example
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
This example describes how to show the detailed configuration information of all the VRFs.
ZXR10#show ip vrf detail
show monitor session
Purpose
Command Modes
Syntax
Syntax
Description
Use this command to show the content of monitor session entry.
Privileged EXEC
show monitor session <number>
<number>
Port monitor session number, range: 1~8
tunnel checksum
Purpose
Command Modes
Syntax
Use this command to configure local GRE tunnel to enable the tunnel checksum option. Cancel the configuration with the no form
of this command.
Interface configuration
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
55
ZXR10 8900 Series Command Reference (MPLS)
tunnel destination
Purpose
Command Modes
Syntax
Use this command to configure a destination address for the tunnel. Cancel the configuration with the no form of this command.
Interface configuration
tunnel destination {ipv4 | ipv6}<ip-address>
no tunnel destination
Syntax
Description
Example
<ip-address>
Destination IP address or IPv6 address of the
tunnel
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 version V4.6.01.
tunnel key
Purpose
Command Modes
Syntax
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.
Interface configuration
tunnel key <key>
no tunnel key
Syntax
Description
<key>
Tunnel key, range: 0~4294967295
tunnel mode
Purpose
Command Modes
Syntax
Use this command to configure the tunnel mode. Cancel the configuration with the no form of this command.
Interface configuration
tunnel mode {gre ip | mpls traffic-eng | ipv6ip [6to4]|ipip
v6}
no tunnel mode
56
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
Command Modes
Syntax
Use this command to configure local GRE tunnel to enable the tunnel sequence option. Cancel the configuration with the no form of
this command.
Interface configuration
tunnel sequence
no tunnel sequence
tunnel source
Purpose
Command Modes
Syntax
Use this command to configure the source address for the tunnel.
Cancel the configuration with the no form of this command.
Interface configuration
tunnel source {ipv4 | ipv6}<ip-address>
no tunnel source
Syntax
Description
Example
<ip-address>
Source IP address or IPv6 address of the
tunnel
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
57
ZXR10 8900 Series Command Reference (MPLS)
This command is expressed before the platform version v4.6.01.
The keywords ipv4 and ipv6 are provided after the platform version v4.6.01.
58
Confidential and Proprietary Information of ZTE CORPORATION
Chapter
4
VPLS Configuration
Table of Contents
clear flowstat vpls..............................................................59
clear flowstat vpws ............................................................60
l2protocol-tunnel ...............................................................60
mtu .................................................................................61
peer ................................................................................61
peer static-pw...................................................................63
pwtype ............................................................................63
show mac-filter .................................................................64
show mac-table.................................................................65
show mpls l2transport vc vpls .............................................66
show mpls l2transport vpn summary....................................67
show vfi ...........................................................................68
show vfi brief ....................................................................69
stp-tunnel enable ..............................................................69
vcid .................................................................................70
vpls apply-mac-filter ..........................................................71
vfi ...................................................................................71
vfi mspw ..........................................................................72
vpls mac-filter...................................................................72
vlan range ........................................................................73
xconnect vfi ......................................................................74
config fabric vlps ...............................................................74
show fabric vpls config .......................................................75
clear flowstat vpls
Purpose
Command Modes
Syntax
Use this command to clear the flow statistics information to which
VPLS corresponds.
Privileged EXEC
clear flowstat vpls [vfi <vfi-name>]
clear flowstat vpls
Syntax
Description
Instructions
<vfi-name>
VFI name that VPLS example(to clear flow
statistic) corresponds to
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.
Confidential and Proprietary Information of ZTE CORPORATION
59
ZXR10 8900 Series Command Reference (MPLS)
ZXR10#clear flowstat vpls vfi vfi1
ZXR10#clear flowstat vpls
Related
Commands
show mac-table
clear flowstat vpws
Purpose
Command Modes
Syntax
Use this command to clear the flow statistics information to which
VPWS corresponds.
Privileged EXEC
clear flowstat vpws vcid <vcid>
clear flowstat vpws vlanid <vlan-id>
Syntax
Description
Instructions
<vcid>
Vcid that VPWS corresponds to
<vlan-id>
Vlan-id that VPWS corresponds to
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
Commands
show mac-table
l2protocol-tunnel
Purpose
Command Modes
Syntax
Use this command to configure VPLS layer 2 control message forwarding policy in vfi.
vfi configuration mode
l2protocol-tunnel { all | all-bridge-multicast | garp | lacp |
lldp | mac-control | port-auth | stp | zdp-ztp }
no l2protocol-tunnel { all | all-bridge-multicast | garp | lacp
| lldp | mac-control | port-auth | stp | zdp-ztp }
Syntax
Description
Defaults
60
Paramter
Description
all | all-bridge-mul
ticast | garp | lacp
| lldp | mac-control
| port-auth | stp |
zdp-ztp
message type supported by layer 2 message
transparent transmission function
All kinds of messages are not transparently transmitted by default.
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 VPLS Configuration
Instructions
Use this command to configure VPLS layer 2 control message forwarding policy.
Example
This example applies layer 2 control message forwarding policy in
a vfi on PE to configure all kinds of message transparent transmission.
ZXR10(config-vfi)# l2protocol-tunnel all
Related Command
show vfi
mtu
Purpose
Command Modes
Syntax
Use this command to configure mtu attribute of VFI.
VFI configuration mode
mtu <mtu-value>
no mtu
Syntax
Description
Instructions
<mtu value>
The size of mtu, range:12816383
This command is supported after the platform version 4.8.23.
When establishing PW between two PE’s, two side need to negotiate mtu value of pw. In case mtu values on two sides are different,
pw will fail to be established.
Mtu of VFI can be configured before VFI is associated with interface
or configured with peer, or mtu configuration of VFI will fail to be
modified.
Example
Configure mtu on PE VFI mode:
ZXR10(config)#vfi vfi1
ZXR10(config-vfi)#mtu 1452
Related
Commands
vfi
vcid
peer
peer
Purpose
Use this command to specify the addresses of other PEs in the
same VPLS domain and establish pseudo-wires. Delete the established 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
Confidential and Proprietary Information of ZTE CORPORATION
61
ZXR10 8900 Series Command Reference (MPLS)
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
Defaults
<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
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 configuration mode after the platform version 4.8.20.
The current solution does not support the VPLS automatic discovery 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
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
Commands
vfi
vcid
pwtype
vfi mspw
62
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 VPLS Configuration
peer static-pw
Purpose
Command Modes
Syntax
Use this command to designate other PE addresses in the same
VPLS domain and bind a static PW. Use the no command to delete
remote PE member and release binding with static PW.
VFI configuration mode
at vfi configuration mode:
peer static-pw <peer-ip-address><static-pw-name>[spoke][t
unnel <tunnel-number>]
no peer static-pw <peer-ip-address><static-pw-name>
Syntax
Parameters
Description
Defaults
Instructions
Parameter
Description
<peer-ip-address>
IP address of peer PE, generally router-id is
got.
<static-pw-name>
the name of static PW
spoke
if spoke option parameter is taken, pw type is
spoke type or hub type.
<tunne-number>
1~64 The tunnel number used in establishing
VPLS. The range is 1~64.
At Vfi configuration mode, the default peer type is hub.
This command is supported after platform version 4.08.22.
The current implementation project doesn't support VPLS automatic finding mechanism. Therefore all PE addresses must be
designated to belong to the same VPLS domain. This command
uses parameters that vcid and pwtypte command designate to establish pw with specific PE. Type spoke is used for VPLS gradation
and cross-domain.
The static PW need to be established first and then bind with peer
. One static PW only can bind one time.
Example
configure peer on PE:
ZXR10(config)#vfi vfi1
ZXR10(config-vfi)#peer static-pw 4.4.4.4 static-pw1
Related Command
vfi
vcid
pwtype
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.
Confidential and Proprietary Information of ZTE CORPORATION
63
ZXR10 8900 Series Command Reference (MPLS)
Command Modes]
Syntax
Syntax
Description
Instructions
VFI configuration or VFI MSPW configuration
pwtype {ethernet | ethernet-vlan}
ethernet |
ethernet-vlan
Pseudo-wire type: Ethernet or Ethernet-vlan
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
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
Commands
vfi
vcid
peer
no peer
show mac-filter
Purpose
Command Modes
Syntax
64
Use this command to show detailed information about the filtering
of some VPLS MAC .
Global configuration
show mac-filter <rule_number>
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 VPLS Configuration
Syntax
Description
Instructions
Example
<rule_number>
Rule number for MAC filtering, range: 0~127
This command is supported by ZXR10 T64E/T128.
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
1
1
0001.0002.0003
1
0
0002.0003.0004
1
2
0003.0004.0005
MAC_Top
0001.0002.0003
0002.0003.0006
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
Command Modes
Syntax
Syntax
Description
Instructions
Example
Use this command to show the MAC table of a VPLS instance.
User EXEC and privileged EXEC
show mac-table <vfi-name>
<vfi-name>
Name of the Virtual Forwarding Instance (VFI)
in the VPLS
This command is provided only for ZXR10 GER and ZXR10
T64E/T128.
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
Confidential and Proprietary Information of ZTE CORPORATION
65
ZXR10 8900 Series Command Reference (MPLS)
Related
Commands
Field
Description
outInterface
Outgoing interface
type
MAC address type, statically configured or
dynamically learned
clear mac-table vfi
show mpls l2transport vc
vpls
Purpose
Command Modes
Syntax
Syntax
Description
Instructions
Example
Use this command to display information about the pseudo-wire
successfully established .
User EXEC and privileged EXEC
show mpls l2transport vc vpls [{[vcid <vc-id>[<max-vc-id
>]][vfi <vfi-name>][destination <ip-address>][detail]}]
<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
<ip-address>
Shows information about the pseudo—wire
established with the designated peer address
detail
Shows detailed VPLS information
This command is supported after the platform version 4.6.02.
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
1
VFI
7.7.7.7
1
VFI
6.6.6.6
VC ID
1
1
Status
up
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
66
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 VPLS Configuration
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.
Related
Commands
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
show mpls l2transport vpn summary
show mpls l2transport vpn
summary
Purpose
Command Modes
Syntax
Instructions
Example
Use this command to show the number of VPWSs and VPLSs in the
L2VPN.
User EXEC and privileged EXEC
show mpls l2transport vpn summary
This command is supported after the platform version 4.6.02.
This example describes how to show the number of L2VPNs configured 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
Confidential and Proprietary Information of ZTE CORPORATION
67
ZXR10 8900 Series Command Reference (MPLS)
Related
Commands
show mpls l2transport vc vpls
show vfi
Purpose
Command Modes
Syntax
Syntax
Description
Use this command to show detailed information about some virtual
forwarding instance (VFI).
User EXEC and privileged EXEC
show vfi <vfi-name>
<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.
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
Circuit interfaces locally bounded
Vlan id
VLAN identifier of the interface in the
Ethernet-vlan instance
VLAN range of the interface in the Ethernet
instance
Vlan range
Neighbors connected
via pseudowires
68
Indicates that those PEs are in adjacency
relations with local instance
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 VPLS Configuration
Related
Commands
show vfi brief
show vfi brief
Purpose
Command Modes
Syntax
Use this command to show brief information about all VPLS instances configured.
User EXEC and privileged EXEC
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 forwarding instance (VFI) table.
ZXR10#show vfi brief
Total VFI number is 2
VFI name
VCID
aa
2
vfi
1
PWtype
Ethernet-vlan
Ethernet
The displayed field descriptions are shown below.
Related
Commands
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
show vfi
stp-tunnel enable
Purpose
Command Modes
Syntax
Use this command to set stp tunnel in vfi.
Vfi configuration
stp-tunnel enable
no stp-tunnel enable
Syntax
Description
Instructions
enable
Enables STP tunnel in vfi.
The platform version 4.8.22 and upgrade versions support this
command.
Use this command to set VPLS stp tunnel.
Confidential and Proprietary Information of ZTE CORPORATION
69
ZXR10 8900 Series Command Reference (MPLS)
Example
This example describes how to set stp tunnel in vfi.
ZXR10(config-vfi)#stp-tunnel enable
Related
Commands
no vfi
vid
pwtype
peer
no peer
vpls mac-filter
vcid
Purpose
Command Modes
Syntax
Syntax
Description
Instructions
Use this command to specify a virtual channel identifier (VCID) for
the VPLS instance.
VFI configuration
vcid <vcid>
<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
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 communication of these VPLS instances. The pseudo wire (PW) is established to exchange MPLS inner labels which identifies VPLS between 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 identifier (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 identifier (VCID) as 100 on the PE.
ZXR10(config)#vfi vfi1
ZXR10(config-vfi)# vcid 100
Related
Commands
vfi
pwtype
peer
70
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 VPLS Configuration
vpls apply-mac-filter
Purpose
Command Modes
Syntax
Use this command to apply MAC filter rule to a virtual forwarding
instance (VFI) on the PE.
VFI configuration
vpls apply-mac-filter <rule_number> global
no vpls apply-mac-filter <rule_number> global
Syntax
Description
Instructions
Example
<rule_number>
MAC filter rule number
global
All members of this virtual forwarding
instance (VFI) are valid
�
This command is supported after the platform version 4.8.02.
�
Use this command to apply VPLS MAC filtering.
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
Commands
no vfi
vcid
pwtype
peer
no peer
vpls mac-filter
vfi
Purpose
Command Modes
Syntax
Use this command to create a VPLS instance on the PE. Delete the
VPLS instance with the no form of this command.
Global configuration
vfi <vfi-name>
no vfi <vfi-name>
Syntax
Description
Instructions
<vfi-name>
Virtual forwarding instance (VFI), namely the
name of L2 VPN
�
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.
Confidential and Proprietary Information of ZTE CORPORATION
71
ZXR10 8900 Series Command Reference (MPLS)
Example
This example describes how to configure a name for the VPLS instance on the PE.
ZXR10(config)#vfi vfi1
ZXR10(config-vfi)#
Related
Commands
no vfi
vid
pwtype
peer
no peer
vfi mspw
Purpose
Command Modes
Syntax
Use this command to configure the multi-hop static pseudo wire
(PW) S-PE.
Global configuration
vfi mspw <vfi-name>
no vfi mspw <vfi-name>
Syntax
Description
Instructions
Example
<vfi-name>
S-PE MSPW VFI name
�
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 configuration allows the configuration instance to act as a forwarding relaying node of the static multi-hop pseudo wire (PW). Use
this command to enter VFI MSPW configuration mode.
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
Commands
no vfi mspw
pwtype
peer
no peer
vpls mac-filter
Purpose
Command Modes
72
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.
Global configuration
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 VPLS 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
Instructions
Example
<rule_number>
MAC filter rule number
<single | range>
Filter rule type. single or range
<filter_number>
MAC filter entry number
<mac-addr>
MAC address
�
This command is supported after the platform version 4.8.02.
�
Use this command to implement VPLS MAC filtering.
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
Commands
no vfi
vid
pwtype
peer
no peer
vlan range
Purpose
Command Modes
Syntax
Use this command to configure the VLAN range on the real interface bounded with the VFI attribute.
VFI interface configuration
vlan range <range num><bottom limit><top limit>
no vlan range <range num>
Syntax
Description
Instructions
<range num>
VLAN range number, range: 1~3
<bottom limit>
Lower limit of the VLAN range
<top limit>
Upper limit of the VLAN range
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
Confidential and Proprietary Information of ZTE CORPORATION
73
ZXR10 8900 Series Command Reference (MPLS)
Related
Commands
no vlan range
xconnect vfi
Purpose
Command Modes
Syntax
Use this command to add local interface to a virtual forwarding
instance (VFI). Cancel the setting with the no form of this command.
Interface configuration
xconnect vfi <vfi-name>
no xconnect vfi
Syntax
Description
Instructions
Example
<vfi-name>
Virtual forwarding instance (VFI) name
�
Use this command to add local interface to a virtual forwarding 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.
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
config fabric vlps
Command
Function
This enables/disables VPLS cross-card forwarding function.
Command Modes
Global configuration mode
Command format
config fabric vpls [slot <1-12>]{ enable | disable}
Parameter
Description
Tips
Parameter
Description
<1-12>
This is line card number, in range of 1-12.
enable
This enables VPLS cross-card forwarding
function.
disable
This disables VPLS cross-card forwarding
function.
If line card number is not specified, configuration will function on
all cards.
If line card number is specified, configuration will function on the
specified card (recommended).
74
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 VPLS Configuration
The command shall be configured in global mode on 8902 rack.
Configuration doesn't work for specifying line card.
VPLS cross-card forwarding function shall be configured on corresponding line cards.
Example
To enable VPLS cross-card forwarding function on all cards, execute the following command:
ZXR10(config)#config fabric vpls enable
To disable VPLS cross-card forwarding function on line card in slot
1, execute the following command:
ZXR10(config)#con fabric vpls slot 1 disable
show fabric vpls config
Command
Function
This command is used to show all line cards configured with VPLS
cross-card forwarding function.
Command Modes
All Modes
Command format
show fabric vpls config [slot <1-12>]
Parameter
Description
Example
Parameter
Description
<1-12>
This is line card number, in range of 1-12.
To show all line cards currently configured with VPLS cross-card
forwarding function, execute the following command:
ZXR10(config)#show fabric vpls config slot
vpls 1
enable 2
enable
To show line card in slot 2 currently configured with VPLS crosscard forwarding function, execute the following command:
ZXR10(config)#show fa vpls config slot 2 slot
vpls 2
enable
Confidential and Proprietary Information of ZTE CORPORATION
75
ZXR10 8900 Series Command Reference (MPLS)
This page is intentionally blank.
76
Confidential and Proprietary Information of ZTE CORPORATION
Chapter
5
MPLS Traffic Engineer
ing Configuration
Table of Contents
clear ip rsvp authentication .................................................78
ip explicit-path ..................................................................78
ip rsvp authentication ........................................................79
ip rsvp authentication challenge ..........................................79
ip rsvp authentication challenge-imp ....................................80
ip rsvp authentication lifetime .............................................80
ip rsvp authentication key passphrase ..................................81
ip rsvp authentication type .................................................81
ip rsvp authentication window-size.......................................82
ip rsvp bandwidth ..............................................................82
ip rsvp bfd........................................................................83
ip rsvp signalling hello (Global Configuration) ........................84
ip rsvp signalling hello (Interface Configuration) ....................84
ip rsvp signalling hello graceful-restart .................................84
ip rsvp signalling hello graceful-restart refresh interval ...........85
ip rsvp signalling hello graceful-restart refresh misses ............85
ip rsvp signalling hello graceful-restart timers recovery-time...........................................................................86
ip rsvp signalling hello graceful-restart timers restarttime ................................................................................86
ip rsvp signalling refresh interval (Global Configuration)..........87
ip rsvp signalling refresh interval (Interface Configuration) ................................................................................88
ip rsvp signalling refresh misses (Global Configuration)...........88
ip rsvp signalling refresh misses (Interface Configuration) ................................................................................89
mpls traffic-eng ds-te.........................................................89
mpls traffic-eng ds-te bc-mode............................................90
mpls traffic-eng ds-te exp-maps ..........................................90
mpls traffic-eng ds-te te-class .............................................91
mpls traffic-eng signaling advertise implicit-null.....................92
mpls traffic-eng tunnels(Global Configuration) .......................93
mpls traffic-eng tunnels(Interface Configuration) ...................93
show ip rsvp authentication ................................................94
show ip explicit-path ..........................................................95
show ip rsvp hello graceful-restart .......................................95
show ip rsvp refresh parameter ...........................................96
show mpls traffic-eng ds-te exp-map ...................................96
show mpls traffic-eng ds-te te-class .....................................97
show mpls traffic-eng autoroute ..........................................98
show mpls traffic-eng interface detail ...................................98
show mpls traffic-eng interface packet-counter......................99
show mpls traffic-eng tunnels............................................ 100
Confidential and Proprietary Information of ZTE CORPORATION
77
ZXR10 8900 Series Command Reference (MPLS)
show mpls traffic-eng tunnels remote-tunnel....................... 102
tunnel mpls traffic-eng autoroute announce ........................ 103
tunnel mpls traffic-eng autoroute metric ............................. 103
tunnel mpls traffic-eng bandwidth...................................... 104
tunnel mpls traffic-eng path-option .................................... 105
tunnel mpls traffic-eng bfd................................................ 106
tunnel mpls traffic-eng hot-standby ................................... 107
tunnel mpls traffic-eng priority .......................................... 107
tunnel mpls traffic-eng record-route................................... 108
clear ip rsvp authentication
RSVP SA
clear ip rsvp authentication [A.B.C.D][send | receive]
A.B.C.D
send
sendSA
receive
recvSA
RSVP SA
( ) SA
4.08.21
Example
ZXR10#clear ip rsvp authentication
ip explicit-path
Purpose
Command Modes
Syntax
Use this command to configure the next hop for an explicit path in
traffic engineering.
Global configuration
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
78
name <name>
Explicit path name, 1~16 characters
identifier <identifi
er>
Explicit path identifier, range: 1~65535
strict
Strict path
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
Defaults
loose
Loose path
<A.B.C.D>
IP address of the neighbor node, in the dotted
decimal notation
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
Command Modes
Syntax
Use this command to enable RSVP authentication on the interface.
Cancel this configuration with the no form of this command.
Interface configuration
ip rsvp authentication
no ip rsvp authentication
Defaults
Instructions
Example
There is no RSVP authentication on the interface by default.
�
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.
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
Command Modes
Syntax
Use this command to enable challenge mechanism on the interface of local device. The interface as a receiver requires challenge
mechanism be used to confirm the first sequence. If the neighbor fails to pass the challenge, neighbor packets are not received.
Disable this function with the no form of this command.
Interface configuration
ip rsvp authentication challenge
no ip rsvp authentication challenge
Confidential and Proprietary Information of ZTE CORPORATION
79
ZXR10 8900 Series Command Reference (MPLS)
Defaults
Instructions
Example
The behavior of this command is disabled on the interface by default.
�
This command is an optional command.
�
This command is supported after the platform version 4.8.21.
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
Command Modes
Syntax
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.
Interface configuration
ip rsvp authentication challenge-imp
no ip rsvp authentication challenge-imp
Defaults
Instructions
Example
The behavior is enabled by default.
�
This command is an optional command.
�
This command is supported after the platform version 4.8.21.
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
Command Modes
Syntax
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.
Interface configuration
ip rsvp authentication lifetime <lifetime>
no ip rsvp authentication lifetime
Syntax
Description
Defaults
80
<lifetime>
Life time of the authentication key in seconds,
range: 1~86400
The default lifetime is 1800 seconds (30 minutes).
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
Instructions
Example
�
This command is an optional command for configuring the lifetime of the password of the RSVP authentication on the interface. 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 reserved.
�
This command is supported after the platform version 4.8.21.
This example describes how to configure the lifetime of the authentication key as 5 seconds.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rsvp authentication lifetime 5
ip rsvp authentication key
passphrase
Purpose
Command Modes
Syntax
Use this command to configure RSVP authentication key on the
interface. Clear this configuration with the no form of this command.
Interface configuration
ip rsvp authentication key passphrase <passphrase>
no ip rsvp authentication key passphrase
Syntax
Description
Defaults
Instructions
Example
<passphrase>
Authentication key configured by user, 8~40
characters
The interface adopts “rsvpteauth” as the key by default.
�
This command is an optional command.
�
This command is supported after the platform version 4.8.21.
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
Command Modes
Syntax
Use this command to configure RSVP authentication type (MD5 or
SHA1). Restore the default type MD5 with the no form of this
command.
Interface configuration
ip rsvp authentication type {md5 | sha1}
no ip rsvp authentication type
Confidential and Proprietary Information of ZTE CORPORATION
81
ZXR10 8900 Series Command Reference (MPLS)
Syntax
Description
Defaults
Instructions
Example
md5
MD5 authentication type
sha1
SHA1 authentication type
MD5 authentication type is adopted on the interface by default.
�
This command is an optional command.
�
This command is supported after the platform version 4.8.21.
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
Command Modes
Syntax
Use this command to configure the authentication window size.
Restore the default value with the no form of this command.
Interface configuration
ip rsvp authentication window-size <window-size>
no ip rsvp authentication window-size
Syntax
Description
Defaults
Instructions
Example
<window-size>
Authentication window size, range: 1~64
The authentication window size is 1 by default.
�
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.
This example describes how to configure the authentication window size as 5.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#ip rsvp authentication window-size 5
ip rsvp bandwidth
Purpose
82
Use this command to configure the TE bandwidth in interface configuration mode on the interface. Restore default with the no form
of this command.
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
Command Modes
Syntax
Interface configuration
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 configured 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 bandwidth 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
Command Modes
Syntax
Use this command to configure RSVP Bidirectional Forwarding Detection (BFD) function on the interface. Delete the configuration
with the no form of this command.
Interface configuration
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, Bidirectional 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
83
ZXR10 8900 Series Command Reference (MPLS)
ip rsvp signalling hello
(Global Configuration)
Command
Function
This enables MPLS traffic engineering on local device.
Command Modes
Global configuration mode
Command format
ip rsvp signalling hello
no ip rsvp signalling hello
Default
Configuration
Example
MPLS traffic engineering is disabled by default.
To enable MPLS traffic engineering, execute the following command:
ZXR10(config)# ip rsvp signalling hello
ip rsvp signalling hello
(Interface Configuration)
Command
Function
This enables MPLS traffic engineering on local device.
Command Modes
Interface configuration mode
Command format
ip rsvp signalling hello
no ip rsvp signalling hello
Default
Configuration
Example
MPLS traffic engineering is disabled by default.
To enable MPLS traffic engineering, execute the following command:
ZXR10(config-if)# ip rsvp signalling hello
ip rsvp signalling hello
graceful-restart
Purpose
Command Modes
Syntax
Use this command to enable the graceful restart (GR) function of
MPLS traffic engineering. Disable this function with the no form of
this command.
Global configuration
ip rsvp signalling hello graceful-restart
no ip rsvp signalling hello graceful-restart
Defaults
84
This function is disabled by default.
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
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
Command Modes
Syntax
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.
Global configuration
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
ip rsvp signalling hello
graceful-restart refresh
misses
Purpose
Command Modes
Syntax
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.
Global configuration
ip rsvp signalling hello graceful-restart refresh misses <
msg-count >
no ip rsvp signalling hello graceful-restart refresh misses
Confidential and Proprietary Information of ZTE CORPORATION
85
ZXR10 8900 Series Command Reference (MPLS)
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
Command Modes
Syntax
Use this command to configure the recovery time of the MPLS traffic engineering (TE) graceful restart(GR). Restore the default value
with the no form of this command.
Global configuration
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.
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
Command Modes
86
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.
Global configuration
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering 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 milliseconds.
ZXR10(config)#ip rsvp signalling hello graceful-restart
timers restart-time 30000
ip rsvp signalling
refresh interval (Global
Configuration)
Command
Function
This command is used to configure the interval of sending refresh
packets. By executing command no, default interval is reset.
Command Modes
Global configuration mode
Command format
ip rsvp signalling refresh interval <interval-value>
no ip rsvp signalling refresh interval
Parameter
Description
Example
Parameter
Description
<interval-value>
This is the interval of sending refresh
packets, in milliseconds, 30000 milliseconds
(30 seconds) by default, in range of
5000~65535000.
To configure the interval of MPLS traffic engineering sending refresh packets to 60000 milliseconds, execute the following command:
ZXR10(config)#ip rsvp signaling refresh interval 60000
Confidential and Proprietary Information of ZTE CORPORATION
87
ZXR10 8900 Series Command Reference (MPLS)
ip rsvp signalling refresh
interval (Interface
Configuration)
Command
Function
This command is used to configure the interval of sending refresh
packets. By executing command no, default interval is reset.
Command Modes
Interface configuration mode
Command format
ip rsvp signalling refresh interval <interval-value>
no ip rsvp signalling refresh interval
Parameter
Description
Example
Parameter
Description
<interval-value>
This is the interval of sending refresh packets,
in milliseconds, 30000 milliseconds (30
seconds) by default, in range of 10-300000.
To configure the interval of MPLS traffic engineering sending refresh packets to 60 milliseconds, execute the following command:
ZXR10(config-if)#ip rsvp signaling refresh interval 60
ip rsvp signalling
refresh misses (Global
Configuration)
Command
Function
This command is used to configure the number of lost refresh packets. When refresh packets of the specified number get lost, RSVP
will delete corresponding refresh message save state.
Command Modes
Global configuration mode
Command format
ip rsvp signalling refresh misses <msg-count>
no ip rsvp signalling refresh misses
Parameter
Description
Default
Configuration
Tips
88
Parameter
Description
<msg-count>
This is the number of lost refresh packets, in
range of 2-10.
The default value is 4.
This command is used to configure the number of lost refresh packets. When refresh packets of the specified number get lost, RSVP
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
will delete corresponding refresh message save state. By executing command no, default number configuration is reset.
Example
To configure the number of lost refresh packets in MPLS traffic
engineering to 6, execute the following command:
ZXR10(config)#ip rsvp signaling refresh misses 6
ip rsvp signalling refresh
misses (Interface
Configuration)
Command
Function
This command is used to configure the number of lost refresh packets. When refresh packets of the specified number get lost, RSVP
will delete corresponding refresh message save state.
Command Modes
Interface configuration mode
Command format
ip rsvp signalling refresh misses <msg-count>
no ip rsvp signalling refresh misses
Parameter
Description
Default
Configuration
Parameter
Description
<msg-count>
This is the number of lost refresh packets, in
range of 4-10.
The default value is 4.
Tips
This command is used to configure the number of lost refresh packets. When refresh packets of the specified number get lost, RSVP
will delete corresponding refresh message save state. By executing command no, default number configuration is reset.
Example
To configure the number of lost refresh packets in MPLS traffic
engineering to 6, execute the following command:
ZXR10(config-if)#ip rsvp signaling refresh misses 6
mpls traffic-eng ds-te
Purpose
Command Mode
Syntax
Use this command to enable DSTE function at the global configuration mode. Use the command no to clear the configuration.
Global Configuration Mode
mpls traffic-eng ds-te
no mpls traffic-eng ds-te
Defaults
Instructions
Disable DSTE function by default.
V4.8.20 and its later versions support this command.
Confidential and Proprietary Information of ZTE CORPORATION
89
ZXR10 8900 Series Command Reference (MPLS)
Example
This example shows how to enable DSTE function at global configuration mode.
ZXR10T64(config)#mpls traffic-eng ds-te
mpls traffic-eng ds-te
bc-mode
Purpose
Command Mode
Syntax
Use this command to configure BC mode of DSTE. Use command
no to delete this configuration.
Global Configuration Mode
mpls traffic-eng ds-te bc-mode [mam | extend-mam]
no mpls traffic-eng ds-te bc-mode
Syntax
Description
Defaults
Instructions
Example
Parameter
Description
mam
maximum allocation mode
extend-mam
extended maximum allocation mode
By default, bc-mode is RDM mode function.
V4.8.20 and its later versions support this command.
This example shows how to configure BC mode of DSTE as extended mam mode.
ZXR10T64(config)# mpls traffic-eng ds-te bc-mode extend-mam
mpls traffic-eng ds-te
exp-maps
Purpose
Command Mode
Syntax
Use this command to configure exp-map mapping relationship at
global configuration mode. Use command no to delete this configuration.
Global Configuration Mode
mpls traffic-eng ds-te exp-maps exp <exps> output tunnel
<tunnelid >{classtype < ctype >}
no mpls traffic-eng ds-te exp-maps <teclass>
90
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
Syntax
Description
Parameter
Description
<exps>
exp value configured by user, the range is 07
<tunnelid >
tunnel configured by user, the range is 11024
< ctype >
classtype configured by user, the range is 07
Defaults
By default, there is not configuration.
Example
This example shows how to configure exp-map mapping relationship: exp1 corresponds to the combination of tunnel1 and ct0.
ZXR10(config)# mpls traffic-eng ds-te exp-maps exp 1 output tunnel1
classtype 0
mpls traffic-eng ds-te
te-class
Purpose
Command Mode
Syntax
Use this command to configure TE-CLASS mapping relationship at
global configuration mode. Use command no to delete this configuration.
Global Configuration Mode
mpls traffic-eng ds-te te-class te-class<teclass> classtype <
ctype >priority <priority >
no mpls traffic-eng ds-te te-class te-class <teclass>
Syntax
Description
Defaults
Parameter
Description
<teclass>
te-class configured by user, the range is 07
<priority >
priority configured by user, the range is 07
< ctype >
classtype configured by user, the range is 01
By default, TE-CLASS mapping is as follows:
TE-CLASS
CType
Priority
0
0
7
1
1
7
2
—
—
3
—
—
4
0
7
5
1
7
Confidential and Proprietary Information of ZTE CORPORATION
91
ZXR10 8900 Series Command Reference (MPLS)
Example
TE-CLASS
CType
Priority
6
—
—
7
—
—
This example shows how to configure TE-CLASS mapping relationship: teclass1 corresponds the combination of ct0 and priority1.
ZXR10(config)#mpls traffic-eng ds-te te-classes te-class 1
class-type 0 priority 1
mpls traffic-eng signaling
advertise implicit-null
Command
Function
This configures RSVP implicit null function.
Command Modes
Global configuration mode
Command format
mpls traffic-eng signaling advertise implicit-null [force]
no mpls traffic-eng signaling advertise implicit-null [force]
Parameter
Description
Default
Configuration
Tips
Parameter
Description
force
The command with this option functions on all
tunnels, including the established and new
tunnels. Without this option, it only functions
on new tunnels
It is implicit-null configuration by default.
This configures RSVP implicit null function. If the function is enabled on a node, as the tail node of the tunnel, this node distributes
a implicit-null label 3 to penultimate hop, or a implicit-null label 0 is
distributed. If there is force parameter after the command, then
the new configuration will function on all tunnels (the established
and new tunnels), or it only functions on the new tunnels.
Restore the default implicit-null configuration with the no. If there
is force parameter after the command, then the new configuration
will function on all tunnels (the established and new tunnels), or
it only functions on the new tunnels.
Example
To configure RSVP implicit null function, execute the following command:
ZXR10(config)#mpls traffic-eng
signaling advertise implicit-null
92
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
mpls traffic-eng
tunnels(Global
Configuration)
Purpose
Command Modes
Syntax
Use this command to enable MPLS traffic engineering signalling.
Disable the function with the no form of this command.
Global configuration
mpls traffic-eng tunnels
no mpls traffic-eng tunnels
Defaults
Instructions
Example
MPLS traffic engineering is not supported by default.
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.
This example describes how to enable MPLS TE.
ZXR10(config)#mpls traffic-eng tunnels
mpls traffic-eng
tunnels(Interface
Configuration)
Purpose
Command Modes
Syntax
Use this command to enable MPLS traffic engineering signalling
on a interface. Disable the function with the no form of this command.
Interface configuration
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
Confidential and Proprietary Information of ZTE CORPORATION
93
ZXR10 8900 Series Command Reference (MPLS)
show ip rsvp authentication
Purpose
Command Modes
Syntax
Syntax
Description
Defaults
Instructions
Example
Use this command to show the status and configuration information of all security assistants (SAs) or some neighbor.
All modes except User EXEC
show ip rsvp authentication [<A.B.C.D >]
<A.B.C.D>
Neighbor address
The information of all security assistants (SAs) is displayed by default.
This command is supported after the platform version 4.8.21.
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.
94
Field
Description
Interface
Corresponding interface name of the SA
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
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
show ip explicit-path
Purpose
Command Modes
Syntax
Syntax
Description
Use this command to show detailed information about the explicit
path.
All modes except user EXEC
show ip explicit-path [name <name>| identifier <identifier>]
name <name>
Path name
identifier <identifi
er>
Path identifier, range: 1~65535
Instructions
This command is used to show detailed information about the explicit 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
show ip rsvp hello
graceful-restart
Purpose
Command Modes
Syntax
Instructions
Example
Use this command to show detailed information about the RSVP
Graceful Restart HELLO instance.
All modes except user EXEC
show ip rsvp hello graceful-restart
This command is supported after the platform version 4.8.01.
The following contents will be shown after using this command.
ZXR10#show ip rsvp hello graceful-restart
Graceful Restart: Enabled
Refresh interval: 10000 msecs
Confidential and Proprietary Information of ZTE CORPORATION
95
ZXR10 8900 Series Command Reference (MPLS)
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
time
Restart time of the advertisement
Advertised recovery
time
Recovery time of the advertisement
show ip rsvp refresh
parameter
Purpose
Command Modes
Syntax
Instructions
Example
Use this command to show the signalling refreshing time and the
configuration information of missing packets.
All modes except user EXEC
show ip rsvp refresh parameter
This command is supported after the platform version 4.8.01.
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.
Field
Description
RSVP signalling
refresh interval
Refreshing time of RSVP protocol signalling
messages
RSVP signalling
refresh misses
Number of refreshing missing messages of
RSVP protocol signalling messages
show mpls traffic-eng ds-te
exp-map
Purpose
Command Mode
96
Use this command to show global-configured exp-map mapping
relationship.
All modes except user mode
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
Syntax
Instructions
Example
show mpls traffic-eng ds-te exp-map
V4.8.21 and its later versions support this command.
To show example information (the following instance is only for
reference), execute the following command:
T64# show mpls traffic-eng ds-te exp-map
Exp OutTunnel Ctype
3 1
4 1 2
Description of Displayed Information:
Information
Description
Exp
the value of Exp-map
OutTunnel
tunnelId of tunnel
Ctype
Ctype that tunnel corresponds
show mpls traffic-eng ds-te
te-class
Purpose
Command Mode
Syntax
Instructions
Example
Use this command to show global-configured TE-CLASS mapping
relationship.
All modes except user mode
show mpls traffic-eng ds-te te-class
V4.8.20 and its later versions support this command.
To show example information (the following instance is only for
reference), execute the following command:
ZXR10#T64# 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
Description of Displayed Information:
Information
Description
ExpTeclassId
the value of TE-CLASS
CType
CType of tunnel
Priority
Tunnel priority
Confidential and Proprietary Information of ZTE CORPORATION
97
ZXR10 8900 Series Command Reference (MPLS)
show mpls traffic-eng
autoroute
Purpose
Command Modes
Syntax
Instructions
Example
Use this command to show the status and configuration information of all tunnels with automatic routes.
All modes except user EXEC
show mpls traffic-eng autoroute
This command is supported after the platform version 4.8.20.
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
interface detail
Purpose
Command Modes
Syntax
Syntax
Description
Defaults
Instructions
98
Use this command to show detailed RSVP information on the interface.
All modes except user EXEC
show mpls traffic-eng interface detail [<interface-name>]
<interface-name>
Interface where RSTP traffic engineering is
enabled
Information of all interfaces where RSTP traffic engineering is enabled are displayed by default.
This command is supported after the platform version 4.8.21.
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 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
frr_counter:
disconnected
down unprotected
0
out_lsp_counter:
in_lsp_counter:
0
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
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
interface packet-counter
Command
Function
Command Modes
This shows detailed information about the number of RSVP packets
on interface.
All modes except user mode
Confidential and Proprietary Information of ZTE CORPORATION
99
ZXR10 8900 Series Command Reference (MPLS)
Command format
Parameter
Description
Default
Configuration
Tips
show mpls traffic-eng interface packet-counter [<interfacename>]
Parameter
Description
<interface-name>
This is a locally configured interface with
RSVP TE function.
This command shows the detailed information about the number
of packets on the interface configured with RSVP TE function.
V4.08.21 and its later versions support this command.
show mpls traffic-eng tunnels
Purpose
Command Modes
Syntax
Syntax
Description
Example
Use this command to show detailed information about the MPLS
tunnel.
All modes except user EXEC
show mpls traffic-eng tunnels [brief][summary][tunnel
<tunnel_id>]
brief
Shows brief tunnel information
tunnel <tunnel_id>
Shows local tunnel information
summary
Shows statistic tunnel information
This example shows brief information (the data below is for reference 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.
100
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
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
Field
Description
DOWN IF
Downlink interface of the tunnel
STATE/PROT
Tunnel administration/running state
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/Admindown (tunnel interface is shutdown)
Oper
Tunnel running state: up/down
Path
Tunnel path state: valid/invalid
Signalling
Tunnel signalling state: down/connected/signalling
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
Confidential and Proprietary Information of ZTE CORPORATION
101
ZXR10 8900 Series Command Reference (MPLS)
Field
Description
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
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
Command Modes
Syntax
Syntax
Description
Example
Use this command to show remote MPLS tunnel in detail.
All modes except user EXEC
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>]
tunnel-id<tunnel_
id>
Tunnel identifier of the remote tunnel
lsp-id<lsp_id>
Instance identifier of the remote tunnel
ingress-id
<ingress_id>
Ingress address of the remote tunnel
egress-id<egress_
id>
Egress address of the remote tunnel
This example describes how to show information about the remote 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
102
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
Fspec:ave rate= 0 kbits, burst= 2000 bytes,
peak rate = 0 kbits
The descriptions of the displayed information are shown below.
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 traffic-eng
autoroute announce
Purpose
Command Modes
Syntax
Use this command to enable MPLS automatic routing on the tunnel
interface. Disable this function with the no form of this command.
Tunnel interface configuration
tunnel mpls traffic-eng autoroute announce
no tunnel mpls traffic-eng autoroute announce
Defaults
Instructions
Example
The tunnel does not support automatic routing by default.
This command is supported after the platform version 4.8.20.
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
Command Modes
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.
Tunnel interface configuration
Confidential and Proprietary Information of ZTE CORPORATION
103
ZXR10 8900 Series Command Reference (MPLS)
Syntax
tunnel mpls traffic-eng autoroute metric {<value>| absolute
<value>| relative <value>}
no tunnel mpls traffic-eng autoroute metric
Syntax
Description
Defaults
Instructions
Example
<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
The default metric type is IGP. The default metric value is IGP metric value.
This command is supported after the platform version 4.8.20.
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.
ZXR10(config)#interface tunnel5
ZXR10(config-if)# tunnel mpls traffic-eng autoroute metric
relative -2
tunnel mpls traffic-eng
bandwidth
Purpose
Command Modes
Syntax
Use this command to configure the bandwidth reserved for establishing a tunnel on the tunnel interface. Restore default with the
no form of this command.
Interface configuration
tunnel mpls traffic-eng bandwidth <bandwidth>
no tunnel mpls traffic-eng bandwidth
Syntax
Description
Defaults
104
<bandwidth>
Bandwidth reserved for the traffic engineering
tunnel, unit: kbps, range: 0~4294967295
There is no bandwidth reserved for establishing a tunnel.
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
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
path-option
Purpose
Command Modes
Syntax
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.
Tunnel interface configuration
tunnel mpls traffic-eng path-option <number>{dynamic |
explicit {name <path-name>| identifier <id>}}
no tunnel mpls traffic-eng path-option <number>
Syntax
Description
Defaults
<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
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.
Confidential and Proprietary Information of ZTE CORPORATION
105
ZXR10 8900 Series Command Reference (MPLS)
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
attempts
Number of tunnels successfully established
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 bfd
Purpose
Command Mode
Syntax
Use this command to enable BFD detection on the tunnel of this
device. Use no command to clear this configuration.
Tunnel interface configuration mode
tunnel mpls traffic-eng bfd interval < interval > min_rx <
min_rx > multiplier < multiplier >
no tunnel mpls traffic-eng bfd
Syntax
Description
Parameter
Description
< interval >
the minimum sending interval of specified
BFD control packet
< min_rx >
the minimum receiving interval of specified
BFD control packet
< multiplier >
the detection multiple of specified BFD control
packet
Defaults
Tunnel doesn't support BFD detection.
Example
This example shows how to enable BFD detection of tunnel.
ZXR10(config)#interface tunnel1
ZXR10(config-if)#tunnel mpls traffic-eng bfd interval 300 min_rx 300
multiplier 3
106
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
tunnel mpls traffic-eng
hot-standby
Purpose
Command Mode
Syntax
Use this command to enable MPLS-TE end-to-end protection function on tunnel port of this device. Command no can be used to
disable this function.
Tunnel configuration mode
tunnel mpls traffic-eng hot-standby [protect <primary-pathoption> secondary <secondary-path-option>]
no tunnel mpls traffic-eng hot-standby
Syntax
Description
Defaults
Instructions
Parameter
Description
<primary-path-opti
on>
path-option of protected master ISP
<secondary-path-opt
ion>
path-option of hot-standby ISP
There is not configuration by default.
V4.8.23 and its later versions support this command.
The
command tunnel mpls traffic-eng hot-standby is used to set
backup lsp automatically when master lsp is up.
When lsp, whose value of path-option is <primary-path-option>,
is up, the command tunnel mpls traffic-eng hot-standby
protect <primary-path-option> secondary <secondary-path-op
tion> is used to configure backup lsp according to the path whose
path-option is <secondary-path-option>. When master lsp is up,
path-option is not <primary-path-option>, then do MBB to make
path-option of master lsp as <primary-path-option>, and then
create backup lsp according to the path whose path-option is
<secondary-path-option>.
Example
This example shows how to enable tunnel end-to-end protection
function.
ZXR10(config)#interface tunnel1
ZXR10(config-if)#tunnel mpls traffic-eng hot-standby
ZXR10(config)#interface tunnel1
ZXR10(config-if)#tunnel mpls traffic-eng hot-standby protect 1
secondary 2
tunnel mpls traffic-eng
priority
Command
Function
Command Modes
This command is used to configure tunnel priority on tunnel port
of local device. Command no can be used to disable this function.
Tunnel interface configuration mode
Confidential and Proprietary Information of ZTE CORPORATION
107
ZXR10 8900 Series Command Reference (MPLS)
Command format
tunnel mpls traffic-eng priority <setup_prirority><holdup-pri
ority>
no tunnel mpls traffic-eng priority
Parameter
Description
Default
Configuration
Tips
Example
Parameter
Description
<setup_prirority>
This is setup priority of tunnel.
<holdup-priority>
This is holdup priority of tunnel.
The default priority of interface is 7.
V4.8.20 and its later versions support this command.
To configure setup priority 2 and holdup priority 2 for tunnel, execute the following commands:
ZXR10(config)#interface tunnel5
ZXR10(config-if)# tunnel mpls traffic-eng priority 2 2
tunnel mpls traffic-eng
record-route
Purpose
Command Modes
Syntax
Use this command to enable the tunnel path record function on
the tunnel interface. Disable the function with the no form of this
command.
Interface configuration
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 function.
ZXR10(config)#interface fei_5/1
ZXR10(config-if)#tunnel mpls traffic-eng record-route
108
Confidential and Proprietary Information of ZTE CORPORATION
Chapter
6
FRR Configuration
Table of Contents
ip rsvp signalling hello...................................................... 109
ip rsvp signalling hello refresh interval................................ 109
ip rsvp signalling hello refresh misses................................. 110
mpls traffic-eng backup_tunnel ......................................... 110
show ip backup route ....................................................... 111
show ip rsvp hello instance detail....................................... 111
show ip rsvp hello instance summary ................................. 112
show mpls traffic-eng fast-reroute ..................................... 113
show mpls traffic-eng interface.......................................... 114
tunnel mpls traffic-eng fast-reroute.................................... 115
ip rsvp signalling hello
Purpose
Command Modes
Syntax
Use this command to enable RSVP hello messages in global configuration and interface configuration mode.
Global configuration, interface configuration
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 command 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 receives the return message from the neighbor to detect its lifetime state.
ip rsvp signalling hello
refresh interval
Purpose
Command Modes
Use this command to configure the time interval for the interface
to send RSVP hello requests.
Interface configuration
Confidential and Proprietary Information of ZTE CORPORATION
109
ZXR10 8900 Series Command Reference (MPLS)
Syntax
ip rsvp signalling hello refresh interval <interval>
no ip rsvp signalling hello refresh interval
Syntax
Description
Instructions
<interval>
Time interval in seconds, range: 10~30000,
default: 100 seconds
�
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
Command Modes
Syntax
Use this command to specify how many Hello acknowledgments a
node can miss in a row before the node considers that communication with its neighbor is down
Interface configuration
ip rsvp signalling hello refresh misses <num>
no ip rsvp signalling hello refresh misses
Syntax
Description
Instructions
<num>
Number of sequential Hello acknowledgments
that a node can miss, range: 4~10, default: 4
�
This command is supported after the platform version 4.6.02.
�
The node sends HELLO requests to the neighbor and the neighbor 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
Command Modes
Syntax
110
Use this command to assign one or more backup tunnels to a protected interface.
Interface configuration
mpls traffic-eng backup_tunnel <tunnel-id>
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 6 FRR Configuration
no mpls traffic-eng backup_tunnel <tunnel-id>
Syntax
Description
Defaults
Instructions
<tunnel-id>
Tunnel identifier of the backup tunnel that can
be used in case of a failure
No backup tunnels are used if this interface goes down.
�
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
Command Modes
Syntax
Example
Use this command to show main/standby routing information
about Fast Reroute (FRR).
All modes
show ip backup route
This example describes how to show main/standby routing information about Fast Reroute (FRR).
ZXR10#show ip backup route
show ip rsvp hello instance
detail
Command
Function
This command is used to show the detailed information of RSVP
hello example.
Command Modes
All modes except user mode
Command format
show ip rsvp hello instance detail [<ip-address>]
Parameter
Description
Tips
Example
Parameter
Description
<ip-address>
This is IP address of the neighbor node, which
is expressed in dotted decimal notation.
V4.6.02 and its later versions support this command.
To show example information (the following instance is only for
reference), execute the following command:
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
111
ZXR10 8900 Series Command Reference (MPLS)
Type:respond to request I/F: Eth1/1 LSP protectiong:0 Refresh
Interval(msec) Configured:100 Src_instance 0Xa9f07c13 ,
Dst_instance 0X9BBAA407
Description of displayed fields:
Field
Description
neighbor
This is neighbor IP address.
source
This is the IP address of node sending hello
request packet.
state
This is communication status. UP indicates
communication is normal and LOST indicates
packets get lost or communication fails to be
established.
type
ACTIVE indicates node sends request packet
and PASSIVE indicates neighbor sends
request packet.
I/F
This is interface type.
LSP protection
This is the number of protected LSPs.
Refresh Interval
Configued
This is the interval of sending request packets.
Src_instance
This is source instance in HELLO object.
Dst_instance
This is destination instance in HELLO object.
show ip rsvp hello instance
summary
Purpose
Command Modes
Syntax
Instructions
Example
Use this command to show summary information about a Hello
instance.
All modes except user EXEC
show ip rsvp hello instance summary
This command is supported after the platform version 4.6.02.
This example shows summary information about a Hello instance.
ZXR10#show ip rsvp hello instance summary
Clinet I/F
Neighbor
Type
State
Et1/1
11.0.0.1
PASSIVE
UP
Se2/1
12.0.0.1
PASSIVE
UP
LostCnt Lsps
0
1
0
1
The descriptions of the displayed information are shown below.
112
Field
Description
Neighbor
IP address of the neighbor
State
Communications state: UP indicates
normal communication and LOST indicates
communication is lost or fails
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 6 FRR Configuration
Field
Description
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
Command Modes
Syntax
Instructions
Example
Use this command to display the contents of the Fast ReRoute
database.
All modes except user EXEC
show mpls traffic-eng fast-reroute
This command is supported after the platform version 4.6.02.
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
Prefix
Address for labels to forward packets by
LSP identifier
LSP identifier, including source address,
tunnel identidier and lsp identifier
Confidential and Proprietary Information of ZTE CORPORATION
113
ZXR10 8900 Series Command Reference (MPLS)
show mpls traffic-eng
interface
Purpose
Command Modes
Syntax
Syntax
Description
Defaults
Instructions
Example
Use this command to display information about interfaces where
RSVP traffic engineering is enbaled.
All mods except user EXEC
show mpls traffic-eng interface [<interface-name >]
interface
Shows information about a interface where
RSVP traffic engineering is enabled
<interface-name >
Locally configured interface with RSVP traffic
engineering function
All the interfaces with RSVP traffic engineering function will be displayed by default.
This command is supported after the platform version 4.6.02.
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
flow max(kpbs)
fei_1/1 YES NO
100
4
NO
fei_1/2 YES NO
100
4
NO
fei_1/4 YES YES 100
4
TUL3
i/f
max(kpbs)
75000
75000
75000
75000
75000
75000
The descriptions of the displayed information are shown below.
114
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
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
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 6 FRR Configuration
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
Command Modes
Syntax
Use this command to configure the tunnel to support Fast ReRoute
(FRR).
Interface configuration
tunnel mpls traffic-eng fast-reroute
no tunnel mpls traffic-eng fast-reroute
Defaults
Instructions
The tunnel does not support Fast ReRoute (FRR) by default.
�
This command is supported after the platform version 4.6.02.
�
The tunnel supports Fast ReRoute (FRR) and informs the downstream 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
115
Download