Trainer 1. Play 5. Trainer 2. Name Button N. Erase All Hole. Command. Buttons. (See page 5). Power ..... and manually mo
2550 Garcia Avenue. Mountain View, CA 94043. U.S.A.. OpenBoot Command
Reference. Part No: 801-7042-10. Revision 1, August 1994. Sun Microsystems ...
MLwiN 2.0 Command Manual. Version 2.0.01. October 2003. Jon Rasbash.
William Browne. Harvey Goldstein. Centre for Multilevel Modelling. Institute of ...
Mar 3, 2006 ... GR64 & GS64. AT Command Manual. The AT Command Manual reference of all
AT Commands provided in the. GR64 and GS64 modules.
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip'
In this method, the RN module sleeps as soon as the GPIO8 pin is set high. To enable this feature, use the set sys trigg
Digi may make improvements and/or changes in this manual or in the product(s)
..... Presentation of command syntax in this manual follows these conven- tions:.
20. Manta. .... vast, fresh-water oceans, a supply that will help restore Earth to its
former glory, .... your units, producing units themselves, setting up islands as
required, and ..... capsules required for hacking or rebuilding the Command
Cen
layer provisioning (grooming) in IP/MPLS-DWDM networks. Although many ... peta-exabyte file transfers [3]. As such, these trends ... asynchronous transfer mode (ATM) networks have used peer ... studies multi-segment DWDM networks and tables three int
JCIDS Manual. 19 Jan 2012. 1. MANUAL FOR THE OPERATION OF THE JOINT
CAPABILITIES INTEGRATION. AND DEVELOPMENT SYSTEM. References: ...
Dec 24, 2010 - SIMCom Wireless Solutions Ltd, copying of this document and giving it to others and the using or communic
Jun 11, 2013 ... June 2013 ... position of the Fireline Paramedic (FEMP). ... nwcg.gov/branches/
pre/rmc/iems/policyguides/minimum_stds_for_medical_units.pdf.
Dec 24, 2010 - 2.2.33 AT+GCAP Request Complete TA Capabilities List . ...... 0 Disconnect ALL calls on the channel the c
Part II describes advanced MPLS VPN connectivity including the integration of ..... crafted with care and precision, und
Jul 7, 2015 ... PDF Command Line Suite, Version 4.5. Page 2 of 63 ... PDF Tools AG – Premium
PDF Technology. Table of ... List all installed license keys.
Also refer to your equipment owner's manual for other important safety
information. This manual contains ... Hot Parts! Engine components can get
extremely hot from operation. To ...... In other states, 1997 and later model year
engines are.
7 Jul 2011 ... SIM908 AT Command Manual_V1.01 .... 1.6.2 Hardware flow control (RTS/CTS
flow control)............................................................16.
Dec 24, 2010 - Document Title: SIM900 AT Command Manual. Version: 1.03. Date: 2010-12-24. Status: ...... 4.2.9 AT+CPMS P
Page 3 of 22. Atari 2600 missile command manual. Atari 2600 missile command manual. Open. Extract. Open with. Sign In. M
introduces additional complexity in troubleshooting MPLS networks. .... The mpls
ip propagate-ttl [local | forwarded] command enables a router to manipulate the ...
MPLS and VPN Architectures, Volume II, begins with a brief refresher of the
MPLS VPN. Architecture. Part II describes advanced MPLS VPN connectivity ...
47 Configuring the Server Remotely from the Command Line. 48 Changing
Server Settings. 48. Using the serversetup Tool. 48. Using the serveradmin Tool.
49.
CAN. Automotive Diagnostic Command Set User Manual. Automotive Diagnostic
Command Set User Manual. January 2007. 372139A-01 ...
Page 2 of 288. Revision History. Date. Version. Change. Remark. 2009-08-03.
1.0.0. First version. T5300 AT Command Set User Manual ...
About This Manual.............................................. i Command Introduction .....................................1 Manual Use Guide........................................................... 1 Description of Man-Machine Commands ............................. 1 Auxiliary Function ........................................................... 2 Command Mode ............................................................. 3
show mpls ldp backoff ....................................................33 show mpls ldp bindings ..................................................34 show mpls ldp dampening summary.................................36 show mpls ldp flap-statistics summary .............................37 show mpls ldp discovery .................................................38 show mpls interface .......................................................39 show mpls ldp neighbor..................................................39 show mpls ldp graceful-restart ........................................41 show mpls ldp parameters ..............................................42
MPLS BGP VPN Configuration .......................... 43 description ...................................................................43 export map...................................................................44 import map ..................................................................44 ip vrf ...........................................................................45 ip vrf forwarding............................................................45 maximum routes ...........................................................46 monitor session.............................................................46 monitor session destination.............................................47 monitor session source...................................................47 rd................................................................................47 route-target..................................................................48 show ip protocol routing vrf ............................................48 show ip protocol routing vrf-summary ..............................49 show ip route mng.........................................................49 show ip route vpn..........................................................49 show ip route vrf ...........................................................50 show ip route vrf-summary .............................................50 show ip vrf ...................................................................50 show monitor session.....................................................51 tunnel checksum ...........................................................51 tunnel destination..........................................................52 tunnel key ....................................................................52 tunnel mode .................................................................52 tunnel sequence ............................................................53 tunnel source ................................................................53
ZXR10 Router/Ethernet Switch Command Manual (Voice and Video Service Volume)
Confidential and Proprietary Information of ZTE CORPORATION
Chapter
1
Command Introduction Table of Contents Manual Use Guide............................................................... Description of Man-Machine Commands ................................. Auxiliary Function ............................................................... Command Mode .................................................................
1 1 2 3
Manual Use Guide The commands in other volumes are classified by functional modules, and each functional module corresponds to a chapter and the commands in the chapter are organized in the form of level 2 directory and in the order of a–z. To search a command, do as follows: 1. Find the desired command by referring to ZXR10 Router/Ethernet Switch Command Manual — Command Index. 2. Find command details by the volume, chapter/section and page of the obtained command.
Description of Man-Machine Commands Each MML command is described by the following items: �
Function It describes the function implemented by this command.
�
Command Mode It describes the mode in which this command can be executed.
�
Format It describes the complete format of this command, including the no format if possible.
�
Parameter Description It describes parameters in this command in the form and prescribes the range and default value. If different products have
Confidential and Proprietary Information of ZTE CORPORATION
1
ZXR10 Command Manual (MPLS Volume)
different parameter ranges or default values, an additional form is used for description. �
Default The default value is available in the case that this command is not set. The default parameter value is not described here for value selection. Additional description shall be given if different products have different default values.
�
Instructions First describes the platform version information about this command. For example, “The platform version X.X.XX or later supports this command” indicates this command is provided from the beginning of the platform version X.X.XX. This command is provided from the platform version 2.6 by default. Second describes the use method and precautions of this command.
�
Example It describes the use of this command in an example.
�
Related Commands Lists the command(s) related to this command.
�
History Command It describes history version information related to this command if a command is changed after version upgrade.
Do not describe the history command if this entry does not exist.
Auxiliary Function The auxiliary function for ZXR10 devices is as follows. 1. In any command mode, enter a question mark (?) after the DOS prompt of the system, a list of available commands in the command mode will be displayed. With the context-sensitive help function, the keywords and parameter lists of any commands can be obtained. i.
In any command mode, enter a question mark "?" after the DOS prompt of the system, and a list of all commands in the mode and the brief description of the commands will be displayed.
ii. Input the question mark behind a character or character string to view the list of commands or keywords beginning with this character or character string. Note that there is no space between the character (string) and the question mark. iii. Press TAB behind the character string. If the command or keyword beginning with this character string is unique, it shall be completed with a space at the end. Note that there is no space between the character string and the TAB.
2
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Command Introduction
iv. Input a question mark after a command, a keyword or a parameter, the next keyword or parameter to be input will be listed, and also a brief explanation will be given. Note that a space must be entered before the question mark. 2. If incorrect command, keyword or parameter is input, the error isolation is offered with ^ in the user interface after you press ENTER. The ^ is below the first character of the input incorrect command, keyword or parameter. 3. ZXR10 router/Ethernet switch allows the command or keyword to be abbreviated into a character or character string that uniquely identifies this command or keyword. For example, the show command can be abbreviated to sh or sho. 4. The user interface supports the function of recording input commands. A maximum of ten history commands can be recorded. The function is very useful in re-invocation of a long or complicated command or ingress. To re-invoke a command from the record buffer, conduct one of the following operations, as shown below. Command
Function
Press CTRL-P or the up arrow key
Re-invokes the latest command in the record buffer. Repeat these keys to invoke old commands forwards.
Press CTRL-N or the down arrow key
Rolls the commands downward. When the last command line is reached, one more operation will roll the commands from the begging of the buffer cyclically.
In any mode, execute the show history command to list the latest commands input in this mode.
Command Mode The command modes in this manual are shown below. Mode
Prompt
Exec mode
ZXR10>
Privileged mode
ZXR10#
Global configuration mode
ZXR10(config)#
Entry Command
Functions
enters directly after logging the system
Views simple information
Exec mode
enable
Configures system parameters
Privileged mode
configure terminal
Configures global service parameters
Admission Mode
Confidential and Proprietary Information of ZTE CORPORATION
3
ZXR10 Command Manual (MPLS Volume)
4
Mode
Prompt
Admission Mode
Entry Command
Functions
Interface configuration mode
ZXR10(configif)#
Global configuration mode
interface
Configures port parameters and selects a port type depending on the keyword
Subinterface mode
ZXR10 (configsubif)#
Global configuration mode
interface
Configures subinterface parameters of the NPCI/NPCT
VLAN database configuration mode
ZXR10(vlandb)#
Privileged mode
vlan datab ase
Creates or deletes VLANs in batches
VLAN configuration mode
ZXR10(configvlan)#
Global configuration mode
vlan
Configures VLAN parameters
MSTP configuration mode
ZXR10(configmstp)#
Global configuration mode
spanning-t ree mst conf iguration
Configures MSTP parameters
Basic ACL configuration mode
ZXR10(configbasic-acl)#
Global configuration mode
acl basic
Defines basic ACL rule
Extended ACL configuration mode
ZXR10(configext-acl)#
Global configuration mode
acl extend
Defines extended ACL rule
Line configuration mode
ZXR10(configline)#
Global configuration mode
line console 0
Configures parameters related to serial port and telnet connection
Layer 2 ACL configuration mode
ZXR10(configlink-acl)#
Global configuration mode
acl link
Confidential and Proprietary Information of ZTE CORPORATION
line (GAR)
Defines layer 2 ACL rule
Chapter 1 Command Introduction
Mode
Prompt
Admission Mode
Entry Command
Functions
Hybrid ACL configuration mode
ZXR10(confighybd-acl)#
Global configuration mode
acl hybrid
Defines hybrid ACL rule
Router standard ACL mode
ZXR10 (configstd-nacl)#
Global configuration mode
ip access-list
Defines router standard ACL rule
Router extended ACL mode
ZXR10 (configext-nacl)#
Global configuration mode
ip access-list
Defines router extended ACL rule
Route configuration mode
ZXR10(configrouter)#
Global configuration mode
router rip
Configures RIP parameters
router ospf
Configures OSPF parameters
router isis
Configures IS-IS parameters
router bgp
Configures BGP parameters
router pimsm
Configures PIM-SM parameters
ipv6 router rip
Configures RIPng parameters.
ipv6 router ospf
Configures OSPFv3 parameters
VRF configuration mode
ZXR10(configvrf)#
Global configuration mode
ip vrf
Configures VRF parameters
VFI configuration mode
ZXR10(configvfi)#
Global configuration mode
vfi
Configures VPLS related parameters
Confidential and Proprietary Information of ZTE CORPORATION
5
ZXR10 Command Manual (MPLS Volume)
6
Mode
Prompt
Admission Mode
Entry Command
Functions
IPv4 address family configuration mode
ZXR10(configrouter-af)#
Route configuration mode (RIP)
address-fam ily ipv4 vrf
Configures RIP VRF parameters
Route configuration mode (BGP)
address-fam ily vpnv4
Configures BGP VPN and VRF parameters
address-fam ily ipv4 vrf
Route configuration mode (BGP4+)
address-fam ily ipv6
Configures BGP4+ unicast address family
Route configuration mode (ISISv6)
address-fam ily ipv6
Configures IS-ISv6 address family
ZXR10(configroute-map)#
Global configuration mode
route-map
Configures route map matching item and operation
Channelization configuration mode
ZXR10(configcontrol)#
Global configuration mode
control
Configures channelization for ce1, ce3 and cpos3
Dial peer configuration mode
ZXR10(configvoip100)#
Global configuration mode
dial-peer voice
Configures business related to integrated service
Voice port configuration mode
ZXR10(configvoice-port)#
Global configuration mode
voice-port
Configures voice service
IPSec configuration mode
ZXR10(configipsec)#
Global configuration mode
ipsec
Configures IPv6 IPSec protection
Diagnosis mode
ZXR10(diag)#
Privileged mode
diagnose
Tests CPU and memory usage
IPv6 unicast address family configuration mode
ZXR10(configrouter-af)#
Route map configuration mode
Confidential and Proprietary Information of ZTE CORPORATION
Use this command to reset the LDP router or its connection with some neighbor. Privileged EXEC clear mpls ldp [neighbor ] neighbor
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
Use this command to clear LDP routes dampening and unsuppress the suppressed routes. Privileged EXEC clear mpls ldp dampening []
The network IP address relates to clear damp information, in the dotted decimal notation
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
8
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
�
This example describes how to reset dampening information of a LSP.
Use this command to clear the flapping statistic information of LDP routers. Privileged EXEC clear mpls ldp flap []
Network IP address, in the dotted decimal format
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
9
ZXR10 Command Manual (MPLS Volume)
�
Use the no form of this command to disable LDP to establish an LSP along a common hop-by-hop routing path no matter whether LDP is enabled on the interface or not.
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 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 no mpls label range
Syntax Description
10
Minimal available label, range: 16~1048575
Maximal available label, range: 16~1048575
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Example
This example describes how to set the label range as 1000~10000. ZXR10(config)#mpls label range 1000 10000
Related 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 | host-route-o nly | bgp | force} no mpls ldp access-fec [bgp]
Syntax Description
Defaults Instructions
for
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
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 command can make filter be based on access list. FEC can be created for all destination addresses allowed by the access list. Only standard ACL is supported now.
�
The mpls ldp access-fec host-route-only command make FEC be created only for the destination address with 32-bit mask. The mpls ldp access-fec host-route-only command is especially valid in the MPLS/BGP VPN application, because under such application, LDP only exchanges the label of the next-hop address (that is, the outer label, the label to the PE) of VPN routes. The mpls ldp access-fec host-route-only command can effectively decrease the number of FECs.
�
This command does not collide with the above two policies. By default, FEC is not created for route networks obtained by
Confidential and Proprietary Information of ZTE CORPORATION
11
ZXR10 Command Manual (MPLS Volume)
BGP. This command can make FEC also be created for route networks obtained by BGP. �
Use the mpls ldp access-fec command to configure policy but it does not take effect immediately. But The mpls ldp acce ss-fec force command makes the configuration take effect immediately.
Tip: mpls ldp access-fec for 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
show mpls ldp binding show running-config
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 [to ]] no mpls ldp advertise-labels [for [to ]]
Syntax Description
12
for
Destination network label to be advertised, basic ACL: 1~99 and 1000~1499
to
Advertises which labels to which neighbors, basic ACL: 1~99 and 1000~1499
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Defaults Instructions
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.
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
Confidential and Proprietary Information of ZTE CORPORATION
13
ZXR10 Command Manual (MPLS Volume)
2. This example describes how to make the router advertise labels of networks 10.101.0.0 and 10.221.0.0 to all neighbors. ZXR10(config)#ip access-list standard 10 ZXR10(config-std-nacl)#permit 10.101.0.0 0.0.255.255 ZXR10(config-std-nacl)#permit 10.221.0.0 0.0.255.255 ZXR10(config-std-nacl)#exit ZXR10(config)#mpls ldp advertise-labels for 10 ZXR10(config)#no mpls ldp advertise-labels
3. This example describes how to make the router advertise the 59.0.0.0 label to LSR 155.0.0.55 only and advertise the 35.0.0.0 label to LSR 133.0.0.33 only. ZXR10(config)#ip access-list standard 10 ZXR10(config-ext-nacl)#permit 59.0.0.0 0.255.255.255 ZXR10(config-ext-nacl)#exit ZXR10(config)#ip access-list standard 11 ZXR10(config-ext-nacl)#permit 155.0.0.55 0.0.0.0 ZXR10(config-ext-nacl)#exit ZXR10(config)#ip access-list standard 20 ZXR10(config-ext-nacl)#permit 35.0.0.0 0.255.255.255 ZXR10(config-ext-nacl)#exit ZXR10(config)#ip access-list standard 21 ZXR10(config-ext-nacl)#permit 133.0.0.33 0.0.0.0 ZXR10(config-ext-nacl)#exit ZXR10(config)#mpls ldp advertise-labels for 10 to 11 ZXR10(config)#mpls ldp advertise-labels for 20 to 21
Related Commands
mpls ldp advertise-labels old-style
mpls ldp advertise-labels old-style Purpose
Command Modes Syntax
Use this command to allow the 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. Global configuration mpls ldp advertise-labels old-style no mpls ldp advertise-labels old-style
Defaults
By default, ZXR10 interprets the parameter after the keyword for according to the rule described in the instruction of the mpls ldp advertise-labels command.
Instructions
Generally, the parameter 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 after the keyword for in the mpls ldp advertise-labels command is interpreted in a different way as follows: One (prefix acl, peer acl) pair “applies to” a prefix only when the prefix ACL “matches” the prefix, and the match condition is that
14
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
prefix ACL permits or denies the prefix explicitly. The parameter prefix ACL with “permit any” or “deny any” matches all prefixes. The difference between the Cisco early rules and the general 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 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 no mpls ldp backoff
Syntax Description
Instructions
Example
Initial backoff time in seconds, range: 10~65535, default: 15 seconds
Maximum backoff time in seconds, range: 10~65535, default: 120 seconds
�
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
Confidential and Proprietary Information of ZTE CORPORATION
15
ZXR10 Command Manual (MPLS Volume)
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 interval min_rx Multiplier no mpls ldp bfd interval min_rx Multiplier
Syntax Description
Specifies the LSP address for creating bfd. It is generally a remote address network
Specifies the sub network mask length of remote address. range: 1~32
Specifies the minimal sending interval, in milliseconds. range: 50~999
Specifies the minimal receiving interval, in milliseconds. range: 50~999
Specifies the multiplier when the detection overtimes. range: 3~50
Instructions
This command triggers the creation of LSP BFD, and specifies the network address of LSP.
Example
This example describes how to triggers the creation of BFD of LSP 2.2.2.2. ZXR10(config)#mpls ldp bfd 2.2.2.2 32 interval 50 min_rx 50 multiplier 3
Related 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 [] no mpls ldp dampening
16
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Syntax Description
Defaults Instructions
Example
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 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
A route is suppressed when its penalty exceeds this limit. range: 1~20000, default: 2000
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 value should be larger than the 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
Command Modes Syntax
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. Global configuration mpls ldp dampening-acl {for | force} no mpls ldp dampening-acl
Syntax Description
for
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
Confidential and Proprietary Information of ZTE CORPORATION
17
ZXR10 Command Manual (MPLS Volume)
the actual network that it needs to filter the networks for which there is no need to record the dampening information. The mpls ldp access-fec force command takes effect 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 | interval } no mpls ldp discovery hello {holdtime | interval}
Syntax Description
Example
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 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
18
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
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 | interval } no mpls ldp discovery targeted-hello {holdtime | interval}
Syntax Description
Instructions Example
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 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
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 |} no mpls ldp discovery transport-address
Confidential and Proprietary Information of ZTE CORPORATION
19
ZXR10 Command Manual (MPLS Volume)
Syntax Description
interface
Specifies the interface address as the transmission address advertised in the hello message
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 parameter is used, the LDP advertises the designated IP address in the hello message on the interface. If the configuration of the transmission address is changed during the precess of the running of the interface, ZXR10 router will delete the current adjacency relationship on the interface. If there is no other adjacent relationship maintaining the session maintained by the current adjacent relationship on the interface (multiple links do not exist), the session will be closed. The adjacency relationship (and the session) will be reestablished after a hello message is received from the peer.
Tip: If there are multiple links between routers, these routers must advertise the same transmission address on the corresponding 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
20
show mpls ldp discovery show mpls ldp neighbor
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
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 | nexthop } no mpls ldp egress {for | nexthop}
Syntax Description
for
Specifies which destination networks to which popup labels are allocated, range: 1~99
nexthop
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 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 ) directly specifies which destination where local LSR is terminated. 2. The egress control policy based on next hop (mpls ldp egress nexthop ) 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 or the next hop is permitted by , 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. There-
Confidential and Proprietary Information of ZTE CORPORATION
21
ZXR10 Command Manual (MPLS Volume)
fore, it is not recommended to configure this command when the system is running to avoid inconsistency. Example
1. The router allocates popup labels to all subnet routes in 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
Use this command to make the router to interconnect with LSR adopting the DOD mode.
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 ][to ] no mpls ldp explicit-null
22
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Syntax Description
Defaults Instructions
Example
for
Specifies the prefix of the explicit null labels replacing implicit ones, range: 1~99
to
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 and the directly connected networks permitted by . If the parameter is not specified in the command, explicit null labels will be advertised to all the directly connected networks; if the parameter 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)#
Use this command to enable the router to support LDP Graceful restart function. Global configuration mpls ldp graceful-restart [timer {max-recovery | neighbor-liveness }]
Confidential and Proprietary Information of ZTE CORPORATION
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
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 no mpls ldp holdtime
Syntax Description
Holdtime for LDP sessions not to receive subsequent LDP messages (in seconds), range: 15~65535, default: 180 seconds
Instructions
When a session is set up between two LSRs, the smaller value of the configured parameters of the two LSRs will be taken as the negotiated holdtime.
Example
This example describes how to set the holdtime as to 30 seconds. ZXR10(config)#mpls ldp holdtime 30
24
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Related 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 password no mpls ldp neighbor password
Syntax Description
Defaults Instructions
Address of the neighbor used in TCP connection or router ID identifying the neighbor, in the dotted decimal format
password
MD5 key used for establishing TCP connection 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
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 no mpls ldp request-labels
Syntax Description
Prefix access list for the request message to be sent, range: 1~99
Confidential and Proprietary Information of ZTE CORPORATION
25
ZXR10 Command Manual (MPLS Volume)
Defaults Instructions
Example
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 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 [force] no mpls ldp router-id [force]
Syntax Description
Defaults
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 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
26
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.
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
The mpls ldp router-id command specifies the IP address of an interface as the router identifier. Note that the interface whose IP address serves as the router identifier must be in the UP state. If the optional parameter force is not specified, the router 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
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
Confidential and Proprietary Information of ZTE CORPORATION
27
ZXR10 Command Manual (MPLS Volume)
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 no mpls ldp target-session
Syntax Description
Instructions Example
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
Command Modes Syntax
Use this command to configure the address, VPWS identifier, and tunnel number of the remote interface. The creation of VPWS is triggered between local interface and the remote interface. Delete the VPWS with the no form of this command. Interface configuration mpls xconnect [tunnel ] no mpls xconnect
Syntax Description
Instructions
28
IP address of the remote interface or router identifier of the remote node
VPWS identifier, range: 1~4294967295
tunnel
Tunnel number used for creating VPWS, range: 1~1024
�
This command is supported after the platform version 4.6.02.
�
The vc-id must be unique among local nodes, and the corresponding interface of the remote node must be assigned with the same vc-id. The unique PW identifier throughout the network is composed of the remote node address and the vd-id.
�
If there is the tunnel parameter, MPLS labels are allocated by the specified tunnel. If there is no tunnel parameter, MPLS labels are allocated by LDP.
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Example
In this example, VPWS with vc-id 100 is established with the node whose router identifier is 1.1.1.1 on the interface fei_2/1. ZXR10(config#)interface fei_2/1 ZXR10(config-if)#mpls xconnect 1.1.1.1 100
Related Commands
show mpls l2transport binding
show mpls forwarding-table Purpose Command Modes Syntax Syntax Description
Example
Use this command to check the label forwarding information database. All modes show mpls forwarding-table [[{|}]]
Destination address prefix in the forwarding information database
Mask of destination address prefix
Mask length of destination address prefix, 1 ~ 32
This example describes how to show information about the current neighbor . ZXR10(config)#show mpls forwarding-table Mpls Ldp Forwarding-table: InLabel OutLabel Dest Pfxlen Interface 201 Pop tag 3.4.5.6 32 fei_1/1 202 Pop tag 120.1.1.0 24 fei_1/1
NextHop 101.1.1.2 101.1.1.2
ZXR10(config)#show mpls forwarding-table 120.1.1.0 Mpls Ldp Forwarding-table: InLabel OutLabel Dest Pfxlen Interface NextHop 202 Pop tag 120.1.1.0 24 fei_1/1 101.1.1.2
The displayed field descriptions are shown below. Field
Description
InLabel
Incoming label
OutLabel
Outgoing label
Dest
Destination network or destination host address
Pfxlen
Prefix length
Interface
Outgoing interface
NextHop
Next hop
Confidential and Proprietary Information of ZTE CORPORATION
29
ZXR10 Command Manual (MPLS Volume)
show mpls l2transport binding Purpose Command Modes Syntax Syntax Description
Instructions Example
Use this command to check label binding information of L2 VPN. User EXEX and privileged EXEC show mpls l2transport binding [|| local -label | remote-label ]
VC identifier, range: 1~4294967295
Remote IP address bounded
local-label
Locally assigned label, range: 0~1048575
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.
30
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
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Field
Description
Interface Desc
Port information
Remote Label
Remotely assigned label
show mpls l2transport vc Purpose Command Modes Syntax
Syntax Description
Instructions
Use this command to check the VC information transmitted at Layer 2. All modes show mpls l2transport vc [{vcid []| interface [[]]| destination }][detail] vcid
Shows information based on vcid
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
Upper limit of the vcid show range, 1~4294967295
interface
Name of the interface bounded with VPWS
Vlan ID for Ethernet, or vpi for the ATM interface, range: 0~65535
Vlan ID for Ethernet, or vpi for the ATM interface, range: 0~65535
destination
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
Confidential and Proprietary Information of ZTE CORPORATION
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 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.
32
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
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Field
Description
Signalling protocol
Signalling protocol for allocating VC labels
MPLS VC labels
VC label
Group ID
Group identifier
MTU
Maximum transmission unit
Remote interface description
Description of the remote interface bounded with VPWS
Sequencing
Sequencing function
show mpls label range Purpose Command Modes Syntax Syntax Description
Example
Use this command to show the label range that LDP can use. 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
Confidential and Proprietary Information of ZTE CORPORATION
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
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 [{|}[longer-prefixes]][local-label []][remote-l abel []][neighbor []][detail] show mpls ldp bindings summary
Syntax Description
34
IP address of the destination network, in the dotted decimal format
Network mask, in the dotted decimal format
Mask length, range: 0~32
longer-prefixes
Shows the label bindings of the network matching the designated network but with longer mask
local-label []
Shows the entries matching the local label value, and specifies the label range with the parameter label – label, range: 0~1048575
remote-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
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Instructions
This command shows all entries and downstream bindings in the LDP FEC table if there is no parameter specified.
Example
1. This example describes how to show all entries and 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 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, remote binding: lsr: 144.0.0.44:0, remote binding: lsr: 66.66.0.66:0,
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.
Confidential and Proprietary Information of ZTE CORPORATION
35
ZXR10 Command Manual (MPLS Volume)
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
Use this command to show the suppressed LSP in the current LDP flapping routes. User EXEC and privileged EXEC show mpls ldp dampening summary []
Network IP address related to the dampening information, in the dotted decimal format
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.
36
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Field
Description
d
The LSP is suppressed
InLable
Ingress label
OutLable
Egress Label
Network
NetworkIP address and mask length of LSP
From
LDP Router identifier of the remote neighbor
Reuse
Time from the last time to receiving packets to now
Penalty
Penalty value. Values of LSP reuse and suppression are decided by this value
Use this command to show dampening information of LSP in LDP flapping routes. User EXEC and privileged EXEC show mpls ldp flap-statistics summary []
Ntwork IP address related to dampening information, in the dotted decimal format
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. Field
Description
d, *, h
d implies this LSP is suppressed now. * implies the current lsp exists in history link list, and LDP is valid. h implies the current lsp exists in history link list, and ldp is invalid
Confidential and Proprietary Information of ZTE CORPORATION
37
ZXR10 Command Manual (MPLS Volume)
Field
Description
InLable
Ingress label
OutLable
Egress Label
Network
Network IP address and mask length of LSP
NH
Next hop address
From
LDP Router identifier of the remote neighbor
Flaps
Flapping time of current lsp
Duration
Time from the first time to drop packets until now
Reuse
Time from the last time to receive packets until now
Penalty
Penalty value, values of LSP reuse and suppression are decided by this value
show mpls ldp discovery Purpose 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.
38
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
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Field
Description
Src IP addr
Source address of hello messages sent from neighbors
Transport IP addr
Transmission address of the TCP connection indicated by neighbor
IP addr
Transmission address of the TCP connection indicated by neighbor
show mpls interface Purpose 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
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
Use this command to show information about LDP sessions. User EXEC and privileged EXEC show mpls ldp neighbor [|][det ail]
Confidential and Proprietary Information of ZTE CORPORATION
39
ZXR10 Command Manual (MPLS Volume)
Syntax Description
Example
IP address of the neighbor, in the dotted decimal format
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 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.
40
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
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 MPLS LDP Configuration
Field
Description
Downstream
Indicates the session is in the downstream autonomous label distribution control mode
Downstream on 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
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.
Confidential and Proprietary Information of ZTE CORPORATION
41
ZXR10 Command Manual (MPLS Volume)
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
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.
42
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
Chapter
3
MPLS BGP VPN Configuration Table of Contents description .......................................................................43 export map.......................................................................44 import map ......................................................................44 ip vrf ...............................................................................45 ip vrf forwarding................................................................45 maximum routes ...............................................................46 monitor session.................................................................46 monitor session destination ................................................47 monitor session source.......................................................47 rd....................................................................................47 route-target......................................................................48 show ip protocol routing vrf ................................................48 show ip protocol routing vrf-summary ..................................49 show ip route mng.............................................................49 show ip route vpn..............................................................49 show ip route vrf ...............................................................50 show ip route vrf-summary.................................................50 show ip vrf .......................................................................50 show monitor session.........................................................51 tunnel checksum ...............................................................51 tunnel destination..............................................................52 tunnel key ........................................................................52 tunnel mode .....................................................................52 tunnel sequence ................................................................53 tunnel source....................................................................53
description Purpose 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 no description
Syntax Description
Description about the VRF, a string of 1~16 characters
Confidential and Proprietary Information of ZTE CORPORATION
43
ZXR10 Command Manual (MPLS Volume)
Defaults
There is no description by default.
Example
This example describes how to set the description about the VPN named zte as ZTE-VPN. ZXR10(config)#ip vrf zte ZXR10(config-vrf)#description zte-vpn
export map Purpose 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 no export map
Syntax Description
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 no import map
Syntax Description
Name of the route map, a string of 1~16 characters
Defaults
There is no route map related to the VRF by default.
Example
This example describes how to set the import route map related to the VPN named zte. The name of the route map is inmap. ZXR10(config)#ip vrf zte ZXR10(config-vrf)#import map inmap
44
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 MPLS BGP VPN Configuration
Related 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 no ip vrf
Syntax Description
Instructions
Example
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 no ip vrf forwarding
Syntax Description
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
45
ZXR10 Command Manual (MPLS Volume)
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 no monitor session
Syntax Description
Instructions
46
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
Use this command to add source monitor port into session. Interface configuration monitor session source direction {both | cpu-rx | cpu-tx | rx | tx} no monitor session
Syntax Description
Port monitor session number, range: 1~8
both
Direction of the traffic collecting is bidirectional
Use this command to configure a route distinguisher (RD) for the VRF. VRF configuration rd
Route distinguisher of the VRF, in two formats: : or A.B.C.D:
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
47
ZXR10 Command Manual (MPLS Volume)
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] no route-target [import | export | both][]
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
Route-target extended community attribute, in two formats: : or A.B.C.D:
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
48
Use this command to show information about the corresponding VRF protocol routing table (incoming and outgoing labels). All modes show ip protocol routing vrf [network [mask ]]
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 MPLS BGP VPN Configuration
Syntax Description
Instructions
VRF name, a string of 1~16 characters
network
Network number, in the dotted decimal format
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, 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
49
ZXR10 Command Manual (MPLS Volume)
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 [network [mask ]]
VRF name, a string of 1~16 characters
network
Network IP address, in the dotted decimal format
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, 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
50
Use this command to show the VRF configuration information. All modes show ip vrf [brief | detail | interfaces | summary][]
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
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
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
51
ZXR10 Command Manual (MPLS Volume)
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} no tunnel destination
Syntax Description
Example
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 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 no tunnel key
Syntax Description
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
52
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 MPLS BGP VPN Configuration
Syntax Description
gre ip
Configures the tunnel as GRE tunnel
mpls traffic-eng
Configures the tunnel as mpls traffic engine tunnel
ipv6ip
Configures the tunnel as ipv6 over ip tunnel (provided only in the project supporting IPv6)
ipv6ip 6to4
Configures the tunnel as 6to4 tunnel (provided only in the project supporting IPv6)
ipipv6
Configures the tunnel as 4in6 tunnel (provided only in the project supporting IPv6)
Instructions
ZXR10 5900 series support 6in4 and 6to4 tunnels only. The other types of routers and switches supports all of kinds of tunnels.
Example
This example describes how to configure the tunnel as GRE tunnel. ZXR10(config)#interface fei_7/1 ZXR10(config-if)#tunnel mode gre ip
tunnel sequence Purpose
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} no tunnel source
Syntax Description
Example
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
Confidential and Proprietary Information of ZTE CORPORATION
53
ZXR10 Command Manual (MPLS Volume)
This command is expressed before the platform version v4.6.01. The keywords ipv4 and ipv6 are provided after the platform version v4.6.01.
54
Confidential and Proprietary Information of ZTE CORPORATION
Chapter
4
VPLS Configuration Table of Contents clear flowstat vpls..............................................................55 clear flowstat vpws ............................................................56 clear mac-table vfi.............................................................56 peer ................................................................................57 pwtype ............................................................................58 show mac-filter .................................................................59 show mac-table.................................................................59 show mpls l2transport vc vpls .............................................60 show mpls l2transport vpn summary....................................62 show vfi ...........................................................................62 show vfi brief ....................................................................63 stp-tunnel enable ..............................................................64 vcid .................................................................................64 vpls apply-mac-filter ..........................................................65 vfi ...................................................................................66 vfi mspw ..........................................................................66 vpls mac-filter...................................................................67 vlan range ........................................................................68 xconnect vfi ......................................................................68
clear flowstat vpls Purpose Command Modes Syntax
Use this command to clear the flow statistics information to which VPLS corresponds. Privileged EXEC clear flowstat vpls [vfi ] clear flowstat vpls
Syntax Description
Instructions
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. ZXR10#clear flowstat vpls vfi vfi1 ZXR10#clear flowstat vpls
Confidential and Proprietary Information of ZTE CORPORATION
55
ZXR10 Command Manual (MPLS Volume)
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 clear flowstat vpws vlanid
Syntax Description
Instructions
Vcid that VPWS corresponds to
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
Use this command to clear the MAC address table of the specified virtual private LAN service (VPLS). Privileged EXEC clear mac-table vfi
Corresponding VFI name of the VPLS instance of the MAC address to be cleared
�
Use this command to force to clear the MAC address forwarding table of the VPLS instead of clear the MAC address by aging it.
�
This command is provided only for ZXR10 GER and ZXR10 T64E/T128.
This example describes how to clear the MAC address table of vfi1. ZXR10#clear mac-table vfi vfi1
56
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 VPLS Configuration
Related Commands
show mac-table
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 Syntax
VFI configuration and CFI MSPW configuration For VFI configuration mode, peer [spoke][tunnel ] no peer For VFI MSPW configuration mode, peer vcid no peer
Syntax Description
Defaults
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 used for establishing VPLS, range: 1~1024
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
Confidential and Proprietary Information of ZTE CORPORATION
57
ZXR10 Command Manual (MPLS Volume)
ZXR10(config-vfi)#peer 4.4.4.4
2. This example describes how to execute the peer command in VFI MSPW configuration mode on the PE. ZXR10(config)#vfi mspw vfi1 ZXR10(config-vfi-mspw)#peer 4.4.4.4 vcid 40
Related Commands
vfi vcid pwtype vfi mspw
pwtype Purpose
Use this command to specify the type of a pseudo-wire established by the VPLS instance. Use this command to specify the type of a pseudo-wire in a static multi-hop pseudo-wire S-PE configuration instance.
This command is supported after the platform version 4.6.02. When a pseudo-wire is established between two PEs, there must be the negotiation about the type of the pseudo-wire established. There are two types of the pseudo-wire in VPLS: Ethernet and Ethernet-vlan. The establishment of a pseudo-wire will fail if the pseudo-wire types designated by PEs are different. The two pseudo-wire types correspond to two ways for providing the VPLS service. If the pseudo-wire type is Ethernet, the VPLS service is provided in the transparent mode. That is, the PE directly forwards the user data without checking or processing the vlan tag of the user data. In this case, the the vlan tag is regarded as the distinguisher for the user to manage private networks. In this mode, the input interface offered to the user must be the real interface. If the pw type is Ethernet-vlan, the VPLS service is provided in the rewrite mode. That is, the ingress PE router peels off the vlan tag in the user data and then forwards the pseudo-wire , while the egress PE attaches the corresponding vlan tag to the user data according to the outgoing interface type and then forwards it to the user.
Example
1. This example describes how to configure the pseudo-wire type in VFI configuration mode on the PE. ZXR10(config)#vfi vfi1 ZXR10(config-vfi)#pwtype Ethernet
58
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 VPLS Configuration
2. This example describes how to configure the pseudo-wire type in VFI MSPW configuration mode on the PE. ZXR10(config)#vfi vfi1 ZXR10(config-vfi-mspw)#pwtype mspw ethernet
Related Commands
vfi vcid peer no peer
show mac-filter Purpose Command Modes Syntax Syntax Description
Instructions Example
Use this command to show detailed information about the filtering of some VPLS MAC . Global configuration show mac-filter
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
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
Use this command to show the MAC table of a VPLS instance. User EXEC and privileged EXEC show mac-table
Confidential and Proprietary Information of ZTE CORPORATION
59
ZXR10 Command Manual (MPLS Volume)
Syntax Description
Instructions Example
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.
Related Commands
Field
Description
MAC
MAC address
peer-address
Peer address, namely the remote address
outIntLab
Inner outgoing label
outExtLab
Outer outgoing label
outInterface
Outgoing interface
type
MAC address type, statically configured or dynamically learned
Use this command to display information about the pseudo-wire successfully established . User EXEC and privileged EXEC show mpls l2transport vc vpls [{[vcid []][vfi ][destination ][detail]}]
Shows VPLS information corresponding with the designated vc-id, or shows the minimal vc-id value, range: 0~42949672955
Shows the maximal vc-id value, range: 0~42949672955
Shows VPLS information of the VFI with the designated name
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 VPLS Configuration
Instructions Example
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 Remote interface description: Sequencing: receive disabled, send disabled Local interface: VFI 1 up Destination address: 6.6.6.6, VC ID: 1, VC status: up Tunnel label: Output interface: fei_3/6, imposed label stack { 50016, 50017 } Create time: 00:00:18, last status change time: 00:00:18 Signalling protocol: LDP, peer 6.6.6.6 : 0, up MPLS VC labels: local 2517, remote 50017 Group ID: local 0, remote 0 MTU: local 1500, remote 1500 Remote interface description: Sequencing: receive disabled, send disabled
The displayed field descriptions are shown below. Field
Description
VFIName
VFI name
LocalCircuit
Local link type, it indicates the L2VPN VPLS in this example
DestAddress
Remote destination address
VC ID
VC identifier
Status
VC status of the VPLS
Confidential and Proprietary Information of ZTE CORPORATION
61
ZXR10 Command Manual (MPLS Volume)
Related Commands
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
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
Designated virtual forwarding instance (VFI) name in VPLS
Instructions
This command is provided only for ZXR10 GER, ZXR10 T64E/T128, and ZXR10 6900/8900.
Example
This example describes how to show detailed information of a VPLS virtual forwarding instance (VFI). ZXR10(config)#show vfi aa Flag: (spoke) Spoke type PW (tunnelId:X) Get outer label from MPLSTE tunnel and X is tunnel ID Vfi name: aa VCID: 10 PwType: Ethernet StpTunnel: Stp Enable Local attachment circuit: fei_3/1.1 Vlan id: 1 Neighbors connected via pseudowires: 15.15.15.15
The displayed field descriptions are shown below.
62
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 VPLS Configuration
Field
Description
spoke
Topology type is spoke
tunnelId:X
The outer tunnel encapsulation type is RSVPTE, X indicates the corresponding tunnel identifier
Vfi name
Virtual forwarding instance (VFI) name
Local attachment circuit
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 Related Commands
Indicates that those PEs are in adjacency relations with local instance
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. Field
Description
Total VFI number is 2
Total number of currently configured virtual forwarding instances (VFIs)
VFI name
Virtual forwarding instance (VFI) name
Name of the VFI
VC identifier of the virtual forwarding instance (VFI)
PWtype
Forwarding mode of this instance
Confidential and Proprietary Information of ZTE CORPORATION
63
ZXR10 Command Manual (MPLS Volume)
Related Commands
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.
Example
This example describes how to set stp tunnel in vfi. ZXR10(config-vfi)#stp-tunnel enable
Use this command to specify a virtual channel identifier (VCID) for the VPLS instance. VFI configuration 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 es-
64
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 VPLS Configuration
tablished 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
Use this command to apply MAC filter rule to a virtual forwarding instance (VFI) on the PE. VFI configuration vpls apply-mac-filter global no vpls apply-mac-filter global
Syntax Description
Instructions
Example
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
Confidential and Proprietary Information of ZTE CORPORATION
65
ZXR10 Command Manual (MPLS Volume)
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 no vfi
Syntax Description
Instructions
Example
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.
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 no vfi mspw
Syntax Description
Instructions
66
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.
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 VPLS Configuration
Example
This example describes how to configure static multi-hop pseudo wire (PW) forwarding relaying on the PE. ZXR10(config)#vfi mspw vfi1 ZXR10(config-vfi-mspw)#
Related Commands
no vfi mspw pwtype peer no peer
vpls mac-filter Purpose
Command Modes Syntax
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 vpls mac-filter-rule no vpls mac-filter-rule
Syntax Description
Instructions
Example
MAC filter rule number
Filter rule type. single or range
MAC filter entry number
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
Confidential and Proprietary Information of ZTE CORPORATION
67
ZXR10 Command Manual (MPLS Volume)
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 no vlan range
Syntax Description
Instructions
VLAN range number, range: 1~3
Lower limit of the VLAN range
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
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 no xconnect vfi
Syntax Description
Instructions
Example
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
68
Confidential and Proprietary Information of ZTE CORPORATION
Chapter
5
MPLS Traffic Engineer ing Configuration Table of Contents clear ip rsvp authentication .................................................70 ip explicit-path ..................................................................70 ip rsvp authentication ........................................................71 ip rsvp authentication challenge ..........................................71 ip rsvp authentication challenge-imp ....................................72 ip rsvp authentication lifetime .............................................72 ip rsvp authentication key passphrase ..................................73 ip rsvp authentication type .................................................73 ip rsvp authentication window-size.......................................74 ip rsvp bandwidth ..............................................................74 ip rsvp bfd........................................................................75 ip rsvp signalling hello graceful-restart .................................76 ip rsvp signalling hello graceful-restart refresh interval ...........76 ip rsvp signalling hello graceful-restart refresh misses ............77 ip rsvp signalling hello graceful-restart timers recovery-time...........................................................................77 ip rsvp signalling hello graceful-restart timers restarttime ................................................................................78 ip rsvp signalling refresh interval .........................................78 ip rsvp signalling refresh misses ..........................................79 mpls oam(Global Configuration) ..........................................79 mpls oam(Interface Configuration).......................................80 mpls static tunnel ..............................................................80 mpls traffic-eng ds-te.........................................................81 mpls traffic-eng ds-te bc-mode............................................81 mpls traffic-eng ds-te exp-maps ..........................................82 mpls traffic-eng ds-te te-class .............................................82 mpls traffic-eng signaling advertise implicit-null.....................83 mpls traffic-eng tunnels(Global Configuration) .......................84 mpls traffic-eng tunnels(Interface Configuration) ...................84 show ip rsvp authentication ................................................85 show ip explicit-path ..........................................................86 show ip rsvp hello graceful-restart .......................................87 show ip rsvp refresh parameter ...........................................87 show mpls traffic-eng autoroute ..........................................88 show mpls traffic-eng ds-te exp-map ...................................88 show mpls traffic-eng ds-te te-class .....................................89 show mpls traffic-eng interface detail ...................................90 show mpls traffic-eng tunnels..............................................91 show mpls traffic-eng tunnels remote-tunnel.........................93 tunnel mpls oam back-up-lsp tunnel ....................................94 tunnel mpls oam tunnelid ...................................................94 tunnel mpls oam type ........................................................95
Confidential and Proprietary Information of ZTE CORPORATION
clear ip rsvp authentication Purpose Command Modes Syntax Syntax Description
Instructions
Example
Use this command to clear the Security Assistant (SA) of RSVP on local device. Privileged EXEC clear ip rsvp authentication [A.B.C.D][send | receive] A.B.C.D
Neighbor address
send
Clears the sendSA relationship with the neighbor
receive
Clears the recvSA relationship with the neighbor
�
This command is an optional command.
�
This command is supported after the platform version 4.8.21.
This example describes how to clear all security assistant relationships on local node. 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 | identifier } next -address {loose | strict} no ip explicit-path {name | identifier }
Syntax Description
70
name
Explicit path name, 1~16 characters
identifier
Explicit path identifier, range: 1~65535
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
Defaults
strict
Strict path
loose
Loose path
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
Confidential and Proprietary Information of ZTE CORPORATION
71
ZXR10 Command Manual (MPLS Volume)
no ip rsvp authentication challenge 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 no ip rsvp authentication lifetime
Syntax Description
Defaults
72
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 no ip rsvp authentication key passphrase
Syntax Description
Defaults Instructions
Example
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
73
ZXR10 Command Manual (MPLS Volume)
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 no ip rsvp authentication window-size
Syntax Description
Defaults Instructions
Example
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
74
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 [{bc1 }] no ip rsvp bandwidth
Syntax Description
1~10000000 Maximal bandwidth supporting traffic engineering on the interface, unit: kbps, range: 1~10000000
Maximal bandwidth of the flow the traffic engineering passing through the interface, unit: kbps, range: 1~10000000
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
75
ZXR10 Command Manual (MPLS Volume)
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
This function is disabled by default.
Example
This example describes how to enable the graceful restart (GR) function of MPLS traffic engineering. ZXR10(config)#ip rsvp signalling hello graceful-restart
ip rsvp signalling hello graceful-restart refresh interval Purpose
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 no ip rsvp signalling hello graceful-restart refresh interval
The default value is 10000 milliseconds by default.
Example
This example describes how to configure the Hello refresh interval as 3000 milliseconds. ZXR10(config)#ip rsvp signalling hello graceful-restart refresh interval 3000
76
Confidential and Proprietary Information of ZTE CORPORATION
Chapter 5 MPLS Traffic Engineering Configuration
ip rsvp signalling hello graceful-restart refresh misses Purpose
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
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