ZXR10. Router/Ethernet Switch Command Manual (MPLS Volume) Version 4.8.22

Similar documents
ZXR10 T600/T1200. Carrier Class High-End Router. Version Command Manual (Voice and Video Service Volume)

MPLS. Cisco MPLS. Cisco Router Challenge 227. MPLS Introduction. The most up-to-date version of this test is at:

MPLS-based Layer 3 VPNs

Introducing Basic MPLS Concepts

IMPLEMENTING CISCO MPLS V3.0 (MPLS)

MPLS VPN over mgre. Finding Feature Information. Prerequisites for MPLS VPN over mgre

WAN Topologies MPLS. 2006, Cisco Systems, Inc. All rights reserved. Presentation_ID.scr Cisco Systems, Inc. All rights reserved.

Multiprotocol Label Switching Load Balancing

Cisco IOS MPLS configuration

MPLS VPN Route Target Rewrite

Content CHAPTER 1 MPLS OVERVIEW

HP Networking BGP and MPLS technology training

Exercise 4 MPLS router configuration

- Multiprotocol Label Switching -

MPLS Concepts. Overview. Objectives

How Routers Forward Packets

Cisco Configuring Basic MPLS Using OSPF

Configuring MPLS Hub-and-Spoke Layer 3 VPNs

Enterprise Network Simulation Using MPLS- BGP

INTRODUCTION TO L2VPNS

Table of Contents. Cisco Configuring a Basic MPLS VPN

MPLS L2VPN (VLL) Technology White Paper

How To Import Ipv4 From Global To Global On Cisco Vrf.Net (Vf) On A Vf-Net (Virtual Private Network) On Ipv2 (Vfs) On An Ipv3 (Vv

Implementing Cisco Service Provider Next-Generation Edge Network Services **Part of the CCNP Service Provider track**

Designing and Developing Scalable IP Networks

How To Understand The Benefits Of An Mpls Network

Why Is MPLS VPN Security Important?

MPLS Basics. For details about MPLS architecture, refer to RFC 3031 Multiprotocol Label Switching Architecture.

MikroTik RouterOS Introduction to MPLS. Prague MUM Czech Republic 2009

Brocade to Cisco Comparisons

Layer 3 Routing User s Manual

RFC 2547bis: BGP/MPLS VPN Fundamentals

GLBP - Gateway Load Balancing Protocol

Configuring Static and Dynamic NAT Translation

Interconnecting Cisco Networking Devices Part 2

Virtual Leased Lines - Martini

MPLS-based Virtual Private Network (MPLS VPN) The VPN usually belongs to one company and has several sites interconnected across the common service

Implementing Cisco MPLS

Configuring a Load-Balancing Scheme

Implementing MPLS VPNs over IP Tunnels on Cisco IOS XR Software

How To Make A Network Secure

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS

Frame Mode MPLS Implementation

ZXUN USPP. Configuration Management Description. Universal Subscriber Profile Platform. Version: V

Kingston University London

NetStream (Integrated) Technology White Paper HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

"Charting the Course...

Cisco Exam Implementing Cisco Service Provider Next-Generation Egde Network Services Version: 7.0 [ Total Questions: 126 ]

Implementing MPLS VPNs over IP Tunnels

IPv6 over MPLS VPN. Contents. Prerequisites. Document ID: Requirements

Configuring Ethernet over MPLS

MP PLS VPN MPLS VPN. Prepared by Eng. Hussein M. Harb

Configuring SNMP and using the NetFlow MIB to Monitor NetFlow Data

MPLS VPN Security BRKSEC-2145

How To Set Up Bgg On A Network With A Network On A Pb Or Pb On A Pc Or Ipa On A Bg On Pc Or Pv On A Ipa (Netb) On A Router On A 2

How To Learn Cisco Cisco Ios And Cisco Vlan

Interconnecting Cisco Network Devices 1 Course, Class Outline

DD2491 p MPLS/BGP VPNs. Olof Hagsand KTH CSC

Configuring a Basic MPLS VPN

Networking. Palo Alto Networks. PAN-OS Administrator s Guide Version 6.0. Copyright Palo Alto Networks

Quick Note 20. Configuring a GRE tunnel over an IPSec tunnel and using BGP to propagate routing information. (GRE over IPSec with BGP)

Leveraging Advanced Load Sharing for Scaling Capacity to 100 Gbps and Beyond

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

LAB THREE STATIC ROUTING

Introduction to MPLS-based VPNs

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

How To Configure Some Basic OSPF Routing Scenarios. Introduction. Technical Guide. List of terms

NetNumen U31 R06. Backup and Recovery Guide. Unified Element Management System. Version: V

IMPLEMENTING CISCO MPLS V2.3 (MPLS)

Configuring and Testing Border Gateway Protocol (BGP) on Basis of Cisco Hardware and Linux Gentoo with Quagga Package (Zebra)

7750 SR OS System Management Guide

Quidway MPLS VPN Solution for Financial Networks

Computer Networks Administration Help Manual Sana Saadaoui Jemai Oliver Wellnitz

Exam Name: BGP + MPLS Exam Exam Type Cisco Case Studies: 3 Exam Code: Total Questions: 401

Example: Advertised Distance (AD) Example: Feasible Distance (FD) Example: Successor and Feasible Successor Example: Successor and Feasible Successor

INTERCONNECTING CISCO NETWORK DEVICES PART 1 V2.0 (ICND 1)

Design of MPLS networks VPN and TE with testing its resiliency and reliability

CCNA 2 v5.0 Routing Protocols Final Exam Answers

Tomás P. de Miguel DIT-UPM. dit UPM

Cisco Router Configuration Tutorial

AMPLS - Advanced Implementing and Troubleshooting MPLS VPN Networks v4.0

How to Configure Cisco 2600 Routers

Fault Management In MPLS Networks

Protection Methods in Traffic Engineering MPLS Networks

Skills Assessment Student Training Exam

Lab 4.2 Challenge Lab: Implementing MPLS VPNs

Objectives. Router as a Computer. Router components and their functions. Router components and their functions

IP Routing Configuring RIP, OSPF, BGP, and PBR

Chapter 1 Implement EIGRP operations Chapter 2 Implement multiarea OSPF operations Chapter 4 Implement Cisco IOS routing features...

Network Scenarios Pagina 1 di 35

Using OSPF in an MPLS VPN Environment

IP/MPLS-Based VPNs Layer-3 vs. Layer-2

: Interconnecting Cisco Networking Devices Part 2 v1.1

APPLICATION NOTE 211 MPLS BASICS AND TESTING NEEDS. Label Switching vs. Traditional Routing

Configuring the Transparent or Routed Firewall

Traffic Mirroring Commands on the Cisco IOS XR Software

SEC , Cisco Systems, Inc. All rights reserved.

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

How To Understand Bg

Boosting Capacity Utilization in MPLS Networks using Load-Sharing MPLS JAPAN Sanjay Khanna Foundry Networks

Transcription:

ZXR10 Router/Ethernet Switch Command Manual (MPLS Volume) Version 4.8.22 ZTE CORPORATION ZTE Plaza, Keji Road South, Hi-Tech Industrial Park, Nanshan District, Shenzhen, P. R. China 518057 Tel: (86) 755 26771900 Fax: (86) 755 26770801 URL: http://ensupport.zte.com.cn E-mail: support@zte.com.cn

LEGAL INFORMATION Copyright 2006 ZTE CORPORATION. The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution of this document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPO- RATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations. All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE CORPORATION or of their respective owners. This document is provided as is, and all express, implied, or statutory warranties, representations or conditions are disclaimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose, title or non-infringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the use of or reliance on the information contained herein. ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subject matter of this document. Except as expressly provided in any written license between ZTE CORPORATION and its licensee, the user of this document shall not acquire any license to the subject matter herein. ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice. Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information. The ultimate right to interpret this product resides in ZTE CORPORATION. Revision History Revision No. Revision Date Revision Reason R1.0 Dec. 28, 2008 First Edition Serial Number: sjzl20086538

About This Manual...i Command Introduction...1 Manual Use Guide... 1 of Man-Machine Commands... 1 Auxiliary Function... 2 Command Mode... 3 MPLS LDP Configuration...7 clear mpls ldp... 8 clear mpls ldp dampening... 8 clear mpls ldp flap... 9 mpls ip (Global Configuration)... 9 mpls ip(interface Configuration)...10 mpls label range...10 mpls ldp access-fec...11 mpls ldp advertise-labels...12 mpls ldp advertise-labels old-style...14 mpls ldp backoff...15 mpls ldp bfd...16 mpls ldp dampening...16 mpls ldp dampening-acl...17 mpls ldp discovery hello...18 mpls ldp discovery targeted-hello...19 mpls ldp discovery transport-address...19 mpls ldp egress...21 mpls ldp enable connect-with-dod...22 mpls ldp explicit-null...22 mpls ldp graceful-restart...23 mpls ldp holdtime...24 mpls ldp neighbor password...25 mpls ldp request-labels...25 mpls ldp router-id...26 mpls ldp style...27 mpls ldp target-session...28 mpls xconnect...28 show mpls forwarding-table...29 show mpls l2transport binding...30 show mpls l2transport vc...31 show mpls label range...33

show mpls ldp backoff...33 show mpls ldp bindings...34 show mpls ldp dampening summary...36 show mpls ldp flap-statistics summary...37 show mpls ldp discovery...38 show mpls interface...39 show mpls ldp neighbor...39 show mpls ldp graceful-restart...41 show mpls ldp parameters...42 MPLS BGP VPN Configuration...43 description...43 export map...44 import map...44 ip vrf...45 ip vrf forwarding...45 maximum routes...46 monitor session...46 monitor session destination...47 monitor session source...47 rd...47 route-target...48 show ip protocol routing vrf...48 show ip protocol routing vrf-summary...49 show ip route mng...49 show ip route vpn...49 show ip route vrf...50 show ip route vrf-summary...50 show ip vrf...50 show monitor session...51 tunnel checksum...51 tunnel destination...52 tunnel key...52 tunnel mode...52 tunnel sequence...53 tunnel source...53 VPLS Configuration...55 clear flowstat vpls...55 clear flowstat vpws...56 clear mac-table vfi...56 peer...57

pwtype...58 show mac-filter...59 show mac-table...59 show mpls l2transport vc vpls...60 show mpls l2transport vpn summary...62 show vfi...62 show vfi brief...63 stp-tunnel enable...64 vcid...64 vpls apply-mac-filter...65 vfi...66 vfi mspw...66 vpls mac-filter...67 vlan range...68 xconnect vfi...68 MPLS Traffic Engineering Configuration...69 clear ip rsvp authentication...70 ip explicit-path...70 ip rsvp authentication...71 ip rsvp authentication challenge...71 ip rsvp authentication challenge-imp...72 ip rsvp authentication lifetime...72 ip rsvp authentication key passphrase...73 ip rsvp authentication type...73 ip rsvp authentication window-size...74 ip rsvp bandwidth...74 ip rsvp bfd...75 ip rsvp signalling hello graceful-restart...76 ip rsvp signalling hello graceful-restart refresh interval...76 ip rsvp signalling hello graceful-restart refresh misses... 77 ip rsvp signalling hello graceful-restart timers recovery-time...77 ip rsvp signalling hello graceful-restart timers restart-time...78 ip rsvp signalling refresh interval...78 ip rsvp signalling refresh misses...79 mpls oam(global Configuration)...79 mpls oam(interface Configuration)...80 mpls static tunnel...80

mpls traffic-eng ds-te...81 mpls traffic-eng ds-te bc-mode...81 mpls traffic-eng ds-te exp-maps...82 mpls traffic-eng ds-te te-class...82 mpls traffic-eng signaling advertise implicit-null...83 mpls traffic-eng tunnels(global Configuration)...84 mpls traffic-eng tunnels(interface Configuration)...84 show ip rsvp authentication...85 show ip explicit-path...86 show ip rsvp hello graceful-restart...87 show ip rsvp refresh parameter...87 show mpls traffic-eng autoroute...88 show mpls traffic-eng ds-te exp-map...88 show mpls traffic-eng ds-te te-class...89 show mpls traffic-eng interface detail...90 show mpls traffic-eng tunnels...91 show mpls traffic-eng tunnels remote-tunnel...93 tunnel mpls oam back-up-lsp tunnel...94 tunnel mpls oam tunnelid...94 tunnel mpls oam type...95 tunnel mpls traffic-eng autoroute announce...95 tunnel mpls traffic-eng autoroute metric...96 tunnel mpls traffic-eng bandwidth...97 tunnel mpls traffic-eng bfd...97 tunnel mpls traffic-eng class-type...98 tunnel mpls traffic-eng path-option...98 tunnel mpls traffic-eng record-route...99 tunnel mpls traffic-eng tunnels priority... 100 tunnel static ingress... 100 FRR Configuration...103 ip rsvp signalling hello... 103 ip rsvp signalling hello refresh interval... 103 ip rsvp signalling hello refresh misses... 104 mpls traffic-eng backup_tunnel... 104 show ip backup route... 105 show ip rsvp hello instance detail... 105 show ip rsvp hello instance summary... 106 show mpls traffic-eng fast-reroute... 107 show mpls traffic-eng interface... 108 tunnel mpls traffic-eng fast-reroute... 109

About This Manual Intended Audience What Is in This Manual This manual provides procedures and guidelines that support the operation of ZXR10 router and Ethernet switch. This manual is intended for engineers and technicians who perform operation activities on ZXR10 router and Ethernet switch. This manual contains the following chapters: Chapter Chapter 1, Command Introduction Chapter 2, MPLS LDP Configuration Chapter 3, MPLS VPN Configuration Chapter 4, VPLS Configuration Chapter 5, MPLS Traffic Engineering Configuration Chapter 6, FRR Configuration Summary This describes the use method of the command manual, command description, format convention, auxiliary function and mode. Describes how to configure MPLS route switching and show commands, including the MPLS and tunnel configuration commands. Describes how to configure MPLS VPN and show commands. Describes how to configure VPLS and show commands. Describes how to configure MPLS traffic engineering and show commands. Describes how to configure FRR and show commands. Related Documentation The following documentation is related to this manual: ZXR10 Router/Ethernet Switch Command Manual (Command Index Volume) ZXR10 Router/Ethernet Switch Command Manual (Ethernet Switch Volume) ZXR10 Router/Ethernet Switch Command Manual (Basic Configuration Volume I) ZXR10 Router/Ethernet Switch Command Manual (Basic Configuration Volume II) ZXR10 Router/Ethernet Switch Command Manual (Basic Configuration Volume III) ZXR10 Router/Ethernet Switch Command Manual (Remote Access Volume) ZXR10 Router/Ethernet Switch Command Manual (IPv4 Routing Volume I) ZXR10 Router/Ethernet Switch Command Manual (IPv4 Routing Volume II) Confidential and Proprietary Information of ZTE CORPORATION i

ZXR10 Command Manual (MPLS Volume) ZXR10 Router/Ethernet Switch Command Manual (QoS Volume) ZXR10 Router/Ethernet Switch Command Manual (Security Volume) ZXR10 Router/Ethernet Switch Command Manual (Network Management Volume) ZXR10 Router/Ethernet Switch Command Manual (Multicast Volume) ZXR10 Router/Ethernet Switch Command Manual (IPv6 Volume) ZXR10 Router/Ethernet Switch Command Manual (Voice and Video Service Volume) ii Confidential and Proprietary Information of ZTE CORPORATION

C h a p t e r 1 Command Introduction Table of Contents Manual Use Guide... 1 of Man-Machine Commands... 1 Auxiliary Function... 2 Command Mode... 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. 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 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. 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 Press CTRL-P or the up arrow key Press CTRL-N or the down arrow key Function Re-invokes the latest command in the record buffer. Repeat these keys to invoke old commands forwards. 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 Admission Mode Entry Command Functions Exec mode ZXR10> enters directly after logging the system Views simple information Privileged mode ZXR10# Exec mode enable Configures system parameters Global configuration mode ZXR10(config)# Privileged mode configure terminal Configures global service parameters Confidential and Proprietary Information of ZTE CORPORATION 3

ZXR10 Command Manual (MPLS Volume) 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 line <1~64 >(GAR) Configures parameters related to serial port and telnet connection Layer 2 ACL configuration mode ZXR10(configlink-acl)# Global configuration mode acl link Defines layer 2 ACL rule 4 Confidential and Proprietary Information of ZTE CORPORATION

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 router ospf Configures RIP parameters 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) Mode Prompt Admission Mode Entry Command Functions IPv4 address family configuration mode ZXR10(configrouter-af)# Route configuration mode (RIP) Route configuration mode (BGP) address-fam ily ipv4 vrf address-fam ily vpnv4 address-fam ily ipv4 vrf Configures RIP VRF parameters Configures BGP VPN and VRF parameters IPv6 unicast address family configuration mode ZXR10(configrouter-af)# Route configuration mode (BGP4+) Route configuration mode (IS- ISv6) address-fam ily ipv6 address-fam ily ipv6 Configures BGP4+ unicast address family Configures IS-ISv6 address family Route map configuration mode 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 6 Confidential and Proprietary Information of ZTE CORPORATION

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

ZXR10 Command Manual (MPLS Volume) clear mpls ldp Use this command to reset the LDP router or its connection with some neighbor. Privileged EXEC clear mpls ldp [neighbor <ip-address>] neighbor <ip-addre ss> IP address of the neighbor, in the dotted decimal format Instructions After this command is configured, the router is reset and interrupted, and all LDP sessions are reestablished. The recheck of the access-fec and egress policies, advertisement and request policies, and the explicit pop-up label advertisement policy is performed on all FECS. The resetting of the session with the designated neighbor means the interruption and the reestablishment of the LDP session with this neighbor only. The recheck is only performed on the policy related with this neighbor (advertisement, request, and exp-null policies). This example describes how to reset LDP. ZXR10#clear mpls ldp This example describes how to reset the session with the LSR whose router ID is 100.1.1.1. ZXR10#clear mpls ldp neighbor 100.1.1.1 clear mpls ldp dampening Use this command to clear LDP routes dampening and unsuppress the suppressed routes. Privileged EXEC clear mpls ldp dampening [<ip-address><net-mask>] <ip-address> The network IP address relates to clear damp information, in the dotted decimal notation <net-mask> Network mask, in the dotted decimal notation Instructions After this command is configured, the router will clear and reset LDP dampening information already generated, and the router will unsuppress the suppressed LSP; the router will reset flapping 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. ZXR10#clear mpls ldp dampening clear mpls ldp flap Use this command to clear the flapping statistic information of LDP routers. Privileged EXEC clear mpls ldp flap [<ip-address><net-mask>] <ip-address> Network IP address, in the dotted decimal format <net-mask> Network mask, in the dotted decimal format Instructions After this command is configured, the router will clear the count of the flapping of LDP entities where flapping has already occurred, and the router will reset the count of the flapping of some specified LSP; only the count of the flapping of this LSP is cleared and reset and it will be recounted from 0. 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) 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 LDP is disabled by default. Instructions his command enables LDP to establish an LSP along a common hop-by-hop routing path. In addition, it is necessary to enable LDP on the interface to realize dynamic label switching on the interface. Confidential and Proprietary Information of ZTE CORPORATION 9

ZXR10 Command Manual (MPLS Volume) Use the no form of this command to disable LDP to establish an LSP along a common hop-by-hop routing path no matter whether LDP is enabled on the interface or not. mpls ip(interface Configuration) 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 This command is disabled by default. Instructions This command enables LDP to exchange labels on the interface of layer 3. Once the command is configured, LSR starts to 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. Related Commands 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 show mpls interface show mpls ldp discovery mpls label range Use this command to configure a label range for LDP. Restore default with the no form of this command. Global configuration mpls label range <min-label><max-label> no mpls label range <min-label> Minimal available label, range: 16~1048575 <max-label> Maximal available label, range: 16~1048575 10 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 MPLS LDP Configuration This example describes how to set the label range as 1000~10000. Related Commands ZXR10(config)#mpls label range 1000 10000 show mpls label range mpls ldp access-fec Use this command to control LDP s creation of FEC for which destination networks and make sure whether FEC can be created for routing networks obtained by BGP; this command controls FEC filter policy. To disable this feature, use the no form of this command. Global configuration mpls ldp access-fec {for <prefix-access-list> host-route-o nly bgp force} no mpls ldp access-fec [bgp] for <prefix-access-li st> Destination network to be filtered, basic ACL: 1~99 and 1000~1499 host-route-only bgp force Creates FEC only for the destination network (host address) with 32-bit mask Creates FEC for the specified route network obtained from BGP Takes effect immediatedly LDP creates FEC for all destination networks except the route networks obtained by BGP. Instructions By default, LDP creates FEC for all destination networks except the route networks obtained by BGP. However, the number of networks may be so large that it needs to filter the network for which FEC need not be created ; or the network administrator wants to control the creation of FEC, that is, FEC is created only for the authorized network. This command can realize such functions. The mpls ldp access-fec for <prefix-access-list> command can make filter be based on access list. FEC can be created for all destination addresses allowed by the access list. Only standard ACL is supported now. The mpls ldp access-fec host-route-only command make FEC be created only for the destination address with 32-bit mask. The mpls ldp access-fec host-route-only command is especially valid in the MPLS/BGP VPN application, because under such application, LDP only exchanges the label of the next-hop address (that is, the outer label, the label to the PE) of VPN routes. The mpls ldp access-fec host-route-only command can effectively decrease the number of FECs. This command does not collide with the above two policies. By default, FEC is not created for route networks obtained by Confidential and Proprietary Information of ZTE CORPORATION 11

ZXR10 Command Manual (MPLS Volume) BGP. This command can make FEC also be created for route networks obtained by BGP. Use the mpls ldp access-fec command to configure policy but it does not take effect immediately. But The mpls ldp acce ss-fec force command makes the configuration take effect immediately. Tip: mpls ldp access-fec for <prefix-access-list> and mpls ldp acce ss-fec host-route-only are mutually exclusive. Thus the network administrator can choose only one control policy at any time. 1. This example describes how to configure the router to create FEC only for the destination address with 32-bit mask: Related Commands 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 show mpls ldp binding show running-config mpls ldp advertise-labels Use this command to control the distribution of locally assigned labels (incoming labels) through LDP. This command controls which destination network segment labels are advertised to which neighbors. To disable this feature, use the no form of this command. Global configuration mpls ldp advertise-labels [for <prefix-access-list>[to <peer-a ccess-list>]] no mpls ldp advertise-labels [for <prefix-access-list>[to <pee r-access-list>]] for <prefix-access-li st> Destination network label to be advertised, basic ACL: 1~99 and 1000~1499 to <peer-access-list> Advertises which labels to which neighbors, basic ACL: 1~99 and 1000~1499 12 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 MPLS LDP Configuration 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. 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) Related Commands 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 mpls ldp advertise-labels old-style mpls ldp advertise-labels old-style Instructions Use this command to allow the <prefix-access-list> argument after the keyword for in the mpls ldp advertise-labels command to be interpreted according to the earlier Cisco IOS software releases. To disable this feature, use the no form of this command. Global configuration mpls ldp advertise-labels old-style no mpls ldp advertise-labels old-style By default, ZXR10 interprets the parameter <prefix-access-list> after the keyword for according to the rule described in the instruction of the mpls ldp advertise-labels command. Generally, the parameter <prefix-access-list> after the keyword for conforms to the following rules: One (prefix acl, peer acl) pair applies to a prefix only when the prefix ACL matches the prefix, and the match condition is that the prefix ACL permits the prefix. This is the general processing method of access list. In the early Cisco IOS version, however, the parameter <prefix-ac cess-list> after the keyword for in the mpls ldp advertise-labels command is interpreted in a different way as follows: One (prefix acl, peer acl) pair applies to a prefix only when the prefix ACL matches the prefix, and the match condition is that 14 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 MPLS LDP Configuration Related Commands 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. This example describes how to configure the router to use the early rules of Cisco to interpret the parameter <prefix-access-list> after the keyword for in the mpls ldp advertise-labels command. ZXR10(config)#mpls ldp advertise-labels old-style mpls ldp advertise-labels mpls ldp backoff Use this command to configure the parameter of the LDP session backoff reestablishment mechanism. To restore default, use the no form of this command. Global configuration mpls ldp backoff <initial-backoff><maximum-backoff> no mpls ldp backoff <initial-backoff> Initial backoff time in seconds, range: 10~65535, default: 15 seconds <maximum-backoff> Maximum backoff time in seconds, range: 10~65535, default: 120 seconds Instructions The LDP session backoff reestablishment mechanism prevents two LSRs with incompatible configurations falling into the 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 Use this command to configure the corresponding parameters of LDP LSP BFD and trigger the bfd session for creating LSP. Global configuration mpls ldp bfd <FEC address><mask length> interval <interval> min_rx <min_rx> Multiplier <multiplier> no mpls ldp bfd <FEC address><mask length> interval <inter val> min_rx <min_rx> Multiplier <multiplier> <FEC address> Specifies the LSP address for creating bfd. It is generally a remote address network <mask length> <interval> <min_rx> <multiplier> 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 Related Commands This command triggers the creation of LSP BFD, and specifies the network address of LSP. 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 show bfd nei ldp-lsp mpls ldp dampening Use this command to configure LDP to enable the route dampening or modify the various LDP route dampening factors. Disable this command by using no form of this command. Global configuration mpls ldp dampening [<half-life><reuse><suppress><max-su ppress-time>] no mpls ldp dampening 16 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 MPLS LDP Configuration <half-life> <reuse> <suppress> <max-suppress-ti me> 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 Instructions Related Commands This command is disabled by default. If there is no parameter after this command, the LDP route dampening will be valid with default values. The parameters have to be configured together. If any one parameter is configured, then other parameters have to be configured. The parameter <suppre ss> value should be larger than the <reuse> value. This example describes how to enable LDP route dampening. ZXR10(config)#mpls ldp dampening show running-config mpls ldp dampening-acl 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 <prefix-access-list> force} no mpls ldp dampening-acl for <prefix-access-li st> Specifies which networks to be filtered. basic ACL: 1~99 and 1000~1499 force Takes effect immediately Instructions 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. 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. 1. This example describes how to record the dampening information for LSP of networks 10.101.0.0 and 10.221.0.0. Related Commands 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 show running-config mpls ldp discovery hello Use this command to configure the interval for sending LDP hello discovery messages and the timeout time of the discovered LDP neighbor between the directly connected LSRs. To restore default, use the no form of this command. Global configuration mpls ldp discovery hello {holdtime <holdtime> interval <int erval>} no mpls ldp discovery hello {holdtime interval} holdtime <holdtime> Holdtime (in seconds) of the status if the neighbor discovered by LDP can not receive any subsequent hello messages, range: 1~2147483, default: 15 seconds interval <interval> Interval of LDP s periodically sending hello messages (in seconds), range: 1~2147483, default: 5 seconds This example describes how to set the status holdtime as 100 seconds and the interval for sending hello messages as 20 seconds. ZXR10(config)#mpls ldp discovery hello holdtime 100 ZXR10(config)#mpls ldp discovery hello interval 20 18 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 MPLS LDP Configuration Related Commands show mpls ldp parameter mpls ldp discovery targeted-hello Use this command to configure the interval for sending LDP hello discovery messages and the timeout time of the discovered LDP neighbor between the indirectly connected LSRs. To restore default, use the no form of this command. Global configuration mpls ldp discovery targeted-hello {holdtime <holdtime> interval <interval>} no mpls ldp discovery targeted-hello {holdtime interval} holdtime <holdtime> Holdtime of the status if the neighbor discovered by LDP can not receive any subsequent hello messages (in seconds), range: 1~2147483, default: 45 seconds interval <interval> Interval of LDP s periodically sending hello messages (in seconds), range: 1~2147483, default: 15 seconds Instructions This command is supported after the platform version 4.6.02. Related Commands 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 show mpls ldp parameter mpls ldp discovery transport-address Use this command to configure the transmission address parameter carried in hello messages on the layer 3 interface. To disable this feature, use the no form of this command. Interface configuration mpls ldp discovery transport-address {interface <ip-addre ss>} no mpls ldp discovery transport-address Confidential and Proprietary Information of ZTE CORPORATION 19

ZXR10 Command Manual (MPLS Volume) interface <ip-address> 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 Instructions By default, ZXR10 takes the router identifier as the transmission address advertised in the hello message on the frame interface. A TCP connection must be established before an LDP session is set up between LDP routers, which requires every router know the peer transmission address (IP address). The LDP discovery mechanism enables the LDP router to advertise its own transmission address used for establishing TCP connection to the peer. The advertisement of the transmission address can be explicit (that is, the transmission address appears in the hello message) or implicit (that is, there is no transmission address appearing in the hello message). The receiver of hello messages takes the source IP address of the hello message as the transmission address to set up TCP connection with the sender. The mpls ldp discovery transport-address command provides a way to change the default behavior of the router. If the interface parameter is used, LDP advertises the IP address of the interface in the hello message on the interface. If the <ip-address> parameter is used, the LDP advertises the designated IP address in the hello message on the interface. If the configuration of the transmission address is changed during the precess of the running of the interface, ZXR10 router will delete the current adjacency relationship on the interface. If there is no other adjacent relationship maintaining the session maintained by the current adjacent relationship on the interface (multiple links do not exist), the session will be closed. The adjacency relationship (and the session) will be reestablished after a hello message is received from the peer. Tip: If there are multiple links between routers, these routers must advertise the same transmission address on the corresponding interfaces. Related Commands 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 show mpls ldp discovery show mpls ldp neighbor 20 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 MPLS LDP Configuration mpls ldp egress Use this command to control LDP to allocate popup labels to the designated indirectly connected destination networks (that is, the egress control policy). To disable this feature, use the no form of this command. Global configuration mpls ldp egress {for <prefix-access-list> nexthop <nexthopaccess-list>} no mpls ldp egress {for nexthop} for <prefix-access-li st> Specifies which destination networks to which popup labels are allocated, range: 1~99 nexthop <nexthop-a ccess-list> Specifies the nexthop of the destination networks, range: 1~99 Instructions By default, LDP allocates popup labels only to the directly connected networks and makes advertisements to the peer LSR. 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 <prefix-access-list>) directly specifies which destination where local LSR is terminated. 2. The egress control policy based on next hop (mpls ldp egress nexthop <nexthop-access-list>) specifies which neighbors are non-mpls routers so that the traffic of these neighbors as next hops is the traffic out of MPLS. Local router allocates popup labels for this traffic. As long as a route meets either of the two policies, that is, the destination prefix is permitted by <prefix-access-list> or the next hop is permitted by <nexthop-access-list>, the LDP will allocate a popup label to it. The policy takes effect only on the refreshed FECs after the configuration and does not reallocate labels to the existing FECs. 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. 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 Instructions 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 Use this command to make the router to interconnect with LSR adopting the DOD mode. mpls ldp explicit-null Use this command to make the router which is supposed to advertise implicit null labels advertise explicit null labels. To disable this feature, use the no form of this command. Global configuration mpls ldp explicit-null [for <prefix-access-list>][to <peer-acce ss-list>] no mpls ldp explicit-null 22 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 MPLS LDP Configuration for <prefix-access-li st> Specifies the prefix of the explicit null labels replacing implicit ones, range: 1~99 to <peer-access-list> Specifies which neighbors that the explicit null labels replaces implicit ones is advertised to, range: 1~99 By default, ZXR10 advertises directly connected networks to all neighbors by means of implicit null labels. Instructions By default, ZXR10 advertises directly connected networks to all neighbors by means of implicit null labels. The implicit null label causes the Penultimate Hop Poping (PHP) router to make PHP. Sometimes, however, it is prohibited for the PHP router to make such action so that the explicit null label is used in the outgoing label forwarding packet. The mpls ldp explicit-null command enables the router to advertise explicit null labels to the neighbors permitted by<pe er-access-list> and the directly connected networks permitted by <prefix-access-list>. If the parameter <prefix-access-list> is not specified in the command, explicit null labels will be advertised to all the directly connected networks; if the parameter <peer-access-list> is not specified in the command, explicit null labels will be advertised to all neighbors. This command takes effect only to the label advertisement messages after the configuration. If labels have been advertised before the policy is configured, and the matched networks and neighbors will not change unless the session is interrupted and reestablished. Therefore, it is not recommended to configure this command when the system is running to avoid inconsistency. 1. This example describes how to make LDP advertise all direct routes by explicit null labels to all neighbors. ZXR10(config)#mpls ldp explicit-nul 2. This example describes how to advertise explicit null labels to the directly connected network 137.5.0.0, and advertise implicit null labels to other directly connected networks. ZXR10(config)#mpls ldp explicit-null for 10 ZXR10(config)#ip access-list standard 10 ZXR10(config-std-nacl)#permit 137.5.0.0 0.0.255.255 ZXR10(config-std-nacl)#deny any ZXR10(config-ext-nacl)# mpls ldp graceful-restart Use this command to enable the router to support LDP Graceful restart function. Global configuration mpls ldp graceful-restart [timer {max-recovery <interval> neighbor-liveness <interval>}] Confidential and Proprietary Information of ZTE CORPORATION 23

ZXR10 Command Manual (MPLS Volume) no mpls ldp graceful-restart [timer {max-recovery neighb or-liveness}] max-recovery <interval> Maximum time for LSR to wait for the label recovery of the peer neighbor (in seconds), it needs negotiation. range: 15~600, default: 120 seconds neighbor-liveness <interval> Maximum time for LSR to wait for the LDP session recovery (in seconds), it needs negotiation. range: 5~300, default: 120 seconds Instructions This command is supported after the platform version 4.6.03. Related Commands 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 show mpls ldp graceful-restart show mpls ldp neighbor graceful-restart mpls ldp holdtime Use this command to configure the holdtime for LDP sessions not to receive any subsequent LDP messages. To restore default, use the no form of this command. Global configuration mpls ldp holdtime <seconds> no mpls ldp holdtime <seconds> Holdtime for LDP sessions not to receive subsequent LDP messages (in seconds), range: 15~65535, default: 180 seconds Instructions When a session is set up between two LSRs, the smaller value of the configured parameters of the two LSRs will be taken as the negotiated holdtime. 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 Use this command to configure MD5 key for LDP to establish a TCP connection with a neighbor. To disable this feature, use the no form of this command. Global configuration mpls ldp neighbor <ip-address> password <password> no mpls ldp neighbor <ip-address> password <ip-address> Address of the neighbor used in TCP connection or router ID identifying the neighbor, in the dotted decimal format password <password> MD5 key used for establishing TCP connection with the neighbor, 3~80 characters Instructions 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. 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 Use this command to configure the prefix and downstream neighbors for which LDP sends request messages. To disable this feature, use the no form of this command. Global configuration mpls ldp request-labels for <prefix-access-list> no mpls ldp request-labels <prefix-access-list> Prefix access list for the request message to be sent, range: 1~99 Confidential and Proprietary Information of ZTE CORPORATION 25

ZXR10 Command Manual (MPLS Volume) By default, ZXR10 does not send any request messages. Instructions This command enables the router to send label request messages for some prefixes. If the parameter <prefix-access-list> is configured, the router will send label request messages to its downstream router with the prefix permitted by the list. This command takes effect only on the FECs created after the configuration or those of the downstream LSRs discovered after the configuration. Therefore, it is not recommended to configure this command when the system is running to avoid inconsistency. This example describes how to configure the router to send label request messages to the FEC in the network 10.1.1.0/16. ZXR10(config)#mpls ldp request-labels for 10 ZXR10(config)#ip access-list standard 10 ZXR10(config-ext-nacl)#permit 10.1.1.0 0.0.255.255 ZXR10(config-ext-nacl)#exit mpls ldp router-id Use this command to configure the LDP router identifier. To disable this feature, use the no form of this command. Global configuration mpls ldp router-id <interface-name>[force] no mpls ldp router-id [force] <interface-name> Specifies the IP address of an interface as the router identifier of LDP (if the interface is in the UP state) force Immediately changes the router identifier Instructions 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. 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. 26 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 MPLS LDP Configuration Related commands 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. 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 show mpls ldp discovery mpls ldp style Instructions 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 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. 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 Use this command to configure the address of the indirect remote target session and establish the target session. To delete the session, use the no form of this command. Global configuration mpls ldp target-session <ip-address> no mpls ldp target-session <ip-address> <ip-address> IP address or router identifier of the remote neighbor Instructions This command is supported after the platform version 4.6.02. Related Commands 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 show mpls ldp neighbor mpls xconnect 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 <ip-address><vc-id>[tunnel <tunnel number>] no mpls xconnect <ip-address> IP address of the remote interface or router identifier of the remote node <vc-id> VPWS identifier, range: 1~4294967295 tunnel <tunnel number> Tunnel number used for creating VPWS, range: 1~1024 Instructions 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. 28 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 MPLS LDP Configuration Related Commands 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 show mpls l2transport binding show mpls forwarding-table Use this command to check the label forwarding information database. All modes show mpls forwarding-table [<prefix>[{<mask> <mask-len >}]] <prefix> Destination address prefix in the forwarding information database <mask> Mask of destination address prefix <mask-len> Mask length of destination address prefix, 1 ~ 32 This example describes how to show information about the current neighbor. ZXR10(config)#show mpls forwarding-table Mpls Ldp Forwarding-table: InLabel OutLabel Dest Pfxlen Interface NextHop 201 Pop tag 3.4.5.6 32 fei_1/1 101.1.1.2 202 Pop tag 120.1.1.0 24 fei_1/1 101.1.1.2 ZXR10(config)#show mpls forwarding-table 120.1.1.0 Mpls Ldp Forwarding-table: InLabel OutLabel Dest Pfxlen Interface NextHop 202 Pop tag 120.1.1.0 24 fei_1/1 101.1.1.2 The displayed field descriptions are shown below. Field InLabel OutLabel Dest Pfxlen Interface NextHop Incoming label Outgoing label Destination network or destination host address Prefix length Outgoing interface Next hop Confidential and Proprietary Information of ZTE CORPORATION 29

ZXR10 Command Manual (MPLS Volume) show mpls l2transport binding Use this command to check label binding information of L2 VPN. User EXEX and privileged EXEC show mpls l2transport binding [<vc-id> <ip-address> local -label <local-label> remote-label <remote-label>] <vc-id> VC identifier, range: 1~4294967295 <ip-address> local-label <local-label> remote-label <remote-label> Remote IP address bounded Locally assigned label, range: 0~1048575 Remotely assigned label, range: 0~1048575 Instructions This command is supported after the platform version 4.6.02. This example describes how to show the current L2 transport binding information. ZXR10(config)#show mpls l2transport binding Destination Address: 3.4.5.6, VC ID: 201 Local Label: 16 Cbit: 0 VC Type: VLAN GroupID: 0 MTU: 1500 Interface Desc: fei_1/2.1 Remote Label: 16 Cbit: 0 VC Type: VLAN GroupID: 0 MTU: 1500 Interface Desc: fei_5/5.1 Destination Address: 3.4.5.6, VC ID: 202 Local Label: 17 Cbit: 0 VC Type: VLAN GroupID: 0 MTU: 1500 Interface Desc: fei_1/2.2 Remote Label: 17 Cbit: 0 VC Type: VLAN GroupID: 0 MTU: 1500 Interface Desc: fei_5/5.2 The displayed field descriptions are shown below. Field Destination Address VC ID Local Label Cbit VC Type GroupID MTU Peer address ID of VC Locally assigned label Flag of control field Type of VC Group ID information Maximum transmission unit 30 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 MPLS LDP Configuration Field Interface Desc Remote Label Port information Remotely assigned label show mpls l2transport vc Use this command to check the VC information transmitted at Layer 2. All modes show mpls l2transport vc [{vcid <vcidmin>[<vcidmax>] interface <interface-name>[<loca-lcircuit-id1>[<local-circuit-id 2>]] destination <ip-addr>}][detail] vcid Shows information based on vcid <vcidmin> <vcidmax> interface <interface name> <local circuit id1> <local circuit id2> destination <ip-addr> [detail] 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 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 VC destination address, in the dotted decimal format Detailed information of an entry Instructions This command is supported after the platform version 4.6.02. All the current VCs are displayed if there is no parameter specified. This command is provided only on ZXR10 GER and ZXR10 T64E/T128. 1. This example describes how to show all the current VCs. ZXR10#show mpls l2transport vc LocalIntf LocalCircuit DestAddress VCID Status fei_1/8.200 VlanID: 600 3.4.5.6 600 up fei_1/8.199 VlanID: 599 3.4.5.6 599 up fei_1/8.198 VlanID: 598 3.4.5.6 598 up fei_1/8.197 VlanID: 597 3.4.5.6 597 up fei_1/8.196 VlanID: 596 3.4.5.6 596 up 2. This example describes how to show VCs with VCID in the range of 201 to 205. ZXR10#show mpls l2transport vc vcid 201 205 Confidential and Proprietary Information of ZTE CORPORATION 31

ZXR10 Command Manual (MPLS Volume) LocalIntf LocalCircuit DestAddress VCID Status fei_1/2.5 VlanID: 205 3.4.5.6 205 up fei_1/2.4 VlanID: 204 3.4.5.6 204 up fei_1/2.3 VlanID: 203 3.4.5.6 203 up fei_1/2.2 VlanID: 202 3.4.5.6 202 up fei_1/2.1 VlanID: 201 3.4.5.6 201 up 3. This example describes how to show VCs with destination 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. Field LocalIntf(LocalInterface) LocalCircuit DestAddress VCID Status Tunnel label Output interface imposed label stack Create time last status change time Local interface bounded with VPWS 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 VC destination address (global next hop address) Designated VCID VC current state: VC is up only when local interface is up and resolves valid outer tunnel label Outer tunnel label, displayed as direct connection or RSVP-TE Actual output interface Label stack in the packet Time when VC is created Period since VC changed recently 32 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 MPLS LDP Configuration Field Signalling protocol MPLS VC labels Group ID MTU Remote interface description Sequencing Signalling protocol for allocating VC labels VC label Group identifier Maximum transmission unit of the remote interface bounded with VPWS Sequencing function show mpls label range 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. Field Downstream label pool Shows the configured minimal/maximal usable label value Related Commands mpls label range show mpls ldp backoff 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 33

ZXR10 Command Manual (MPLS Volume) LDP initial/maximum backoff: 30/240 sec LDP Id Backoff(sec) Waiting(sec) 144.0.0.44:0 60 30 155.0.0.55:0 120 90 The displayed field descriptions are shown below. Field LDP initial/maximum backoff LDP Id Backoff(sec) Waiting(sec) Shows backoff parameters of which the unit is second ID of LDP neighbor Shows backoff time Shows waiting time in the backoff state Related Commands mpls ldp backoff show mpls ldp bindings Use this command to show information about the binding of learned LDP labels. User EXEC and privileged EXEC show mpls ldp bindings [<ip-address>{<net-mask> <length >}[longer-prefixes]][local-label <label>[<label>]][remote-l abel <label>[<label>]][neighbor [<ip-address>]][detail] show mpls ldp bindings summary <ip-address> IP address of the destination network, in the dotted decimal format <net-mask> Network mask, in the dotted decimal format <length> Mask length, range: 0~32 longer-prefixes local-label <label>[<label>] remote-label <label>[<label>] summary Shows the label bindings of the network matching the designated network but with longer mask Shows the entries matching the local label value, and specifies the label range with the parameter label label, range: 0~1048575 Shows the entries matching the label value allocated by neighbor with the label range specified by the parameter label label, range: 0~1048575 Shows the summary of all entries and downstream bindings in the LDP FEC table 34 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 MPLS LDP Configuration Instructions This command shows all entries and downstream bindings in the LDP FEC table if there is no parameter specified. 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, label: 17 remote binding: lsr: 66.66.0.66:0, label: 18 remote binding: lsr: 144.0.0.44:0, label: imp-null 45.0.0.0/255.0.0.0 local binding: label: 19 remote binding: lsr: 155.0.0.55:0, label: imp-null inuse remote binding: lsr: 66.66.0.66:0, label: 16 remote binding: lsr: 144.0.0.44:0, label: imp-null 66.66.0.66/255.255.255.255 local binding: label: 20 remote binding: lsr: 155.0.0.55:0, label: 19 remote binding: lsr: 66.66.0.66:0, label: imp-null(inuse) remote binding: lsr: 144.0.0.44:0, label: 18 103.0.0.0/255.0.0.0 local binding: label: imp-null 155.0.0.55/255.255.255.255 local binding: label: 25 remote binding: lsr: 155.0.0.55:0, label: imp-null(inuse) remote binding: lsr: 144.0.0.44:0, label: 24 remote binding: lsr: 66.66.0.66:0, label: 24 2. This example describes how to show label bindings of the 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 a.b.c.d/a.b.c.d local binding advertise to remote binding IP prefix and mask Local label binding Advertises to neighbors Label binding learned from neighbor 3. This example describes how to show the total number of entries and downstream bindings in the LDP FEC table. ZXR10#show mpls ldp bindings summary Total number of prefixes: 17 Total number of Upstream LSP Control Block: 51 Total number of Downstream LSP Control Block: 45 Generic label binbings assigned learned prefixes in labels out labels 17 17 14 The displayed field descriptions are shown below. Confidential and Proprietary Information of ZTE CORPORATION 35

ZXR10 Command Manual (MPLS Volume) Field Total number of prefixes Total number of Upstream LSP Control Block Total number of Downstream LSP Control Block Generic label binbings Prefixes Assigned in labels Learned out labels Total number of FECs discovered by LDP routing or created by downstream mapping Total number of upstream control blocks created by LDP Total number of downstream control blocks created by LDP Universal label binding summary Total number of FECs exchanged hop by hop by LDP Number of incoming label prefixes assigned by LDP Number of outgoing label prefixes learned by LDP show mpls ldp dampening summary Use this command to show the suppressed LSP in the current LDP flapping routes. User EXEC and privileged EXEC show mpls ldp dampening summary [<ip-address><net-mas k>] <ip-address> Network IP address related to the dampening information, in the dotted decimal format <net-mask> Network mask, in the dotted decimal format Instructions information If there is not any parameter after this command, all information about LSP in LDP flapping routes is displayed. If there is a parameter after this command, the dampening information of current LSP is displayed. 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 d InLable OutLable Network From Reuse Penalty The LSP is suppressed Ingress label Egress Label NetworkIP address and mask length of LSP LDP Router identifier of the remote neighbor Time from the last time to receiving packets to now Penalty value. Values of LSP reuse and suppression are decided by this value show mpls ldp flap-statistics summary Use this command to show dampening information of LSP in LDP flapping routes. User EXEC and privileged EXEC show mpls ldp flap-statistics summary [<ip-address><net-m ask>] <ip-address> Ntwork IP address related to dampening information, in the dotted decimal format <net-mask> Network mask, in the dotted decimal format Instructions 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 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 InLable OutLable Network NH From Flaps Duration Reuse Penalty Ingress label Egress Label Network IP address and mask length of LSP Next hop address LDP Router identifier of the remote neighbor Flapping time of current lsp Time from the first time to drop packets until now Time from the last time to receive packets until now Penalty value, values of LSP reuse and suppression are decided by this value show mpls ldp discovery Use this command to show information about LDP discovery. User EXEC and privileged EXEC show mpls ldp discovery [detail] detail Shows the detailed information of the discovered neighbor This example describes how to show information about LDP discovery. ZXR10#show mpls ldp discovery Local LDP Identifier: 95.95.95.95:0 Discovery Sources: Interfaces: fei_5/1 (ldp): xmit/recv LDP Id: 93.93.93.93:0; IP addr: 95.93.5.93 fei_6/1 (ldp): xmit/recv LDP Id: 98.98.98.98:0; IP addr: 95.98.6.98 The displayed field descriptions are shown below. Field Local LDP Identifier Interface Xmit Recv Local LDP identifier List of interfaces acting the LDP discovery Indicates that the interface is sending hello message Indicates that the interface is receiving hello message 38 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 MPLS LDP Configuration Field Src IP addr Transport IP addr IP addr Source address of hello messages sent from neighbors Transmission address of the TCP connection indicated by neighbor Transmission address of the TCP connection indicated by neighbor show mpls interface Use this command to show the interface on which LDP is enabled. User EXEC and privileged EXEC show mpls interface [<interface-name>] <interface-name> Interface name Instructions If there is no parameter after this command, it shows complete information of the interface where LDP is enabled. This example describes how to show information about the interface where LDP is enabled. ZXR10#show mpls interfaces Interface IP Tunnel Operational fei_1/1 Yes(ldp) No No fei_1/2 Yes(ldp) No No fei_1/3 Yes(ldp) No Yes POS3_2/0 Yes(ldp) No No The displayed field descriptions are shown below. Field Interface IP Tunnel Operational Interface name Yes indicates to support MPLS hop-by-hop label switching Reserved version to be upgraded Interface state show mpls ldp neighbor Use this command to show information about LDP sessions. User EXEC and privileged EXEC show mpls ldp neighbor [<neighbor> <interface-name>][det ail] Confidential and Proprietary Information of ZTE CORPORATION 39

ZXR10 Command Manual (MPLS Volume) <neighbor> <interface-name> detail IP address of the neighbor, in the dotted decimal format Interface name, shows neighbors accepted from the designated interface 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. Field Peer LDP Ident Local LDP Ident TCP connection State Msgs sent/rcvd LDP identifier of the session of the neigbor LDP identifier of the session of local router TCP connection that supports the session Session state Number of LDP messages received and sent through the session 40 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 2 MPLS LDP Configuration Field Downstream Downstream on demand Up time LDP discovery sources interface Src IP addr holdtime hello interval Addresses bound to peer LDP Ident Peer holdtime KA interval Indicates the session is in the downstream autonomous label distribution control mode Indicates the session in the downstream label distribution on demand control mode Period when the session is in the current state Adjacent relationship list maintaining the session Interface where the adjacency relation is created Source IP address of peer hello messages which establish the adjacency relationship Holdtime when the adjacency relationship does not receive hello messages Interval for sending hello messages negotiated in the adjacency relationship 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 Holdtime when the neighbor does not receive LDP messages Interval for sending keepalive messages show mpls ldp graceful-restart Use this command to examine the current configuration information of LDP Graceful Restart. User EXEC and privileged EXEC show mpls ldp graceful-restart Instructions 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 LDP Graceful Restart is enabled Neighbor Liveness Timer Max Recovery Timer Graceful Restartenabled Sessions Route has been configured with LDP GR Time interval of Neighbor Liveness Timer Time interval of Max Recovery Timer Show the current GR process show mpls ldp parameters Use this command to show information about current parameters of LDP. User EXEC and privileged EXEC show mpls ldp parameters This example describes how to show the current parameter information about LDP. ZXR10#show mpls ldp parameters Protocol version: 1 Downstream label pool: min label: 16; max label: 100000 Session hold time: 180 sec; keep alive interval: 60 sec Discovery hello: holdtime: 15 sec; interval: 5 sec Downstream on Demand max hop count: 255 LDP initial/maximum backoff: 15/120 sec LDP loop detection: off The displayed field descriptions are shown below. Field Protocol version Downstream label pool Session hold time keep alive interval Discovery hello Downstream on Demand max hop count LDP initial/maximum backoff LDP loop detection Version Label pool information Holdtime of the session Interval for sending keepalive messages Setting of basic discovery parameters Reserved version upgrading Setting of parameters for the LDP session backoff reestablishment mechanism Reserved version upgrading 42 Confidential and Proprietary Information of ZTE CORPORATION

C h a p t e r 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 Use this command to set the description about a VRF. Delete the description with the no form of this command. VRF configuration description <string> no description <string> about the VRF, a string of 1~16 characters Confidential and Proprietary Information of ZTE CORPORATION 43

ZXR10 Command Manual (MPLS Volume) There is no description by default. 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 Use this command to set the export route map related to the VRF. Delete the configuration with the no form of this command. VRF configuration export map <map-tag> no export map <map-tag> <map-tag> Name of the route map, a string of 1~16 characters Related Commands There is no route map related to the VRF by default. 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 import map import map Use this command to set the import route map related to a VRF. Delete the configuration with the no form of this command. VRF configuration import map <map-tag> no import map <map-tag> <map-tag> Name of the route map, a string of 1~16 characters There is no route map related to the VRF by default. 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 Use this command to configure a VPN instance (VRF). Delete the VRF with the no form of this command. Global configuration ip vrf <vrf-name> no ip vrf <vrf-name> <vrf-name> NRF name, a string of 1~16 characters Instructions 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 Use this command to associate an interface with a VRF. Cancel the association with the no form of this command. Interface configuration ip vrf forwarding <vrf-name> no ip vrf forwarding <vrf-name> VRF name, a string of 1~16 characters Instructions Related Commands The interface is associated with the global routing table by default. The original IP address of the interface where this command is used is deleted, it needs reconfiguring. 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 ip vrf rd Confidential and Proprietary Information of ZTE CORPORATION 45

ZXR10 Command Manual (MPLS Volume) maximum routes 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 limit Maximum number of routes allowed, range: 1-42949672955 warn threshold warn-only Warn threshold in percent format, range: 1~100 Only gives a warning message if the maximum upper limit is exceeded None Instructions This command is supported after the platform version 4. 8.21. If it is the first time to configure this command, it needs configuring with VRF instances. 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. Related Commands 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 show ip vrf detail monitor session Use this command to configure port monitor session. Delete the session with the no form of this command. Global configuration monitor session <number> no monitor session <number> <number> Port monitor session number, range: 1~8 Instructions Only switches support port monitor configuration. Because ZXR10 5900 only support one session temporarily, this command does not make sense for ZXR10 5900 and it has been deleted. 46 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 3 MPLS BGP VPN Configuration monitor session destination Use this command to add destination monitor ports into sessions. Interface configuration monitor session <number> destination no monitor session <number> Port monitor session number, range: 1~8 monitor session source Use this command to add source monitor port into session. Interface configuration monitor session <number> source direction {both cpu-rx cpu-tx rx tx} no monitor session <number> Port monitor session number, range: 1~8 both cpu-rx cpu-tx rx tx Direction of the traffic collecting is bidirectional Direction of the traffic collecting is to CPU Direction of the traffic collecting is from CPU The direction of traffic collecting is receiving The direction of traffic collecting is sending rd Use this command to configure a route distinguisher (RD) for the VRF. VRF configuration rd <route-distinguisher> <route-distinguisher> Route distinguisher of the VRF, in two formats: <1~65535>:<0~4294967295> or A.B.C.D:<0~65535> Instructions s There is no route distinguisher by default. The VRF does not take effect until the route distinguisher is configured. 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 Use this command to create route-target extended community attribute related to the VRF. Delete the attribute with the no command. VRF configuration route-target [import export both]<extended-community> no route-target [import export both][<extended-commun ity>] import Imports routes to the VRF according to the route-target extended community attribute export both <extended-communi ty> Exports VRF routes carrying the route-target extended community attribute Configures the parameters import and export at the same time Route-target extended community attribute, in two formats: <1~65535>:<0~4294967295> or A.B.C.D:<0~65535> There is no route-target extended community attribute related to the VRF by default. 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 Use this command to show information about the corresponding VRF protocol routing table (incoming and outgoing labels). All modes show ip protocol routing vrf <vrf-name>[network <ip-addre ss>[mask <net-mask>]] 48 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 3 MPLS BGP VPN Configuration <vrf-name> network <ip-addre ss> mask <net-mask> VRF name, a string of 1~16 characters Network number, in the dotted decimal format Network mask, in the dotted decimal format Instructions If the network number parameter is used, the networks matching the parameter in the protocol routing table will be displayed. If the network number and network mask parameters are used, the protocol routes matching the address/mask will be displayed. show ip protocol routing vrf-summary Use this command to show the total number of the corresponding VRF routing tables. All modes show ip protocol routing vrf-summary <vrf-name> <vrf-name> VRF name, a string of 1~16 characters show ip route mng 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 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 Use this command to show the VRF route information. All modes show ip route vrf <vrf-name>[network <ip-address>[mask <net-mask>]] <vrf-name> VRF name, a string of 1~16 characters network <ip-addre ss> mask <net-mask> Network IP address, in the dotted decimal format 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 Use this command to show the total number of VRF routes. All modes show ip route vrf-summary <vrf-name> <vrf-name> VRF name, a string of 1~16 characters This example describes how to show the total number of routes in the VRF named zte. ZXR10#show ip route vrf-summary zte show ip vrf Use this command to show the VRF configuration information. All modes show ip vrf [brief detail interfaces summary][<vrf-nam e>] 50 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 3 MPLS BGP VPN Configuration brief detail interfaces summary <vrf-name> Shows the brief VRF information and related interfaces Shows the detailed VRF information and related interfaces Shows the detailed information of interfaces associated with the VRF 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 Use this command to show the content of monitor session entry. Privileged EXEC show monitor session <number> <number> Port monitor session number, range: 1~8 tunnel checksum 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 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 Use this command to configure a destination address for the tunnel. Cancel the configuration with the no form of this command. Interface configuration tunnel destination {ipv4 ipv6}<ip-address> no tunnel destination <ip-address> Destination IP address or IPv6 address of the tunnel History command 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 tunnel source <ip-address> This command is expressed before the platform version V4.6.01. The keywords IPv4 and IPv6 are provided after the platform version V4.6.01. tunnel key Use this command to configure local GRE tunnel to enable the key option and configure a key. Cancel the configuration with the no form of this command. Interface configuration tunnel key <key> no tunnel key <key> Tunnel key, range: 0~4294967295 tunnel mode 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 gre ip mpls traffic-eng ipv6ip ipv6ip 6to4 ipipv6 Configures the tunnel as GRE tunnel Configures the tunnel as mpls traffic engine tunnel Configures the tunnel as ipv6 over ip tunnel (provided only in the project supporting IPv6) Configures the tunnel as 6to4 tunnel (provided only in the project supporting IPv6) 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. 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 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 Use this command to configure the source address for the tunnel. Cancel the configuration with the no form of this command. Interface configuration tunnel source {ipv4 ipv6}<ip-address> no tunnel source <ip-address> Source IP address or IPv6 address of the tunnel History Command 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 tunnel source <ip-address> Confidential and Proprietary Information of ZTE CORPORATION 53

ZXR10 Command Manual (MPLS Volume) This command is expressed before the platform version v4.6.01. The keywords ipv4 and ipv6 are provided after the platform version v4.6.01. 54 Confidential and Proprietary Information of ZTE CORPORATION

C h a p t e r 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 Use this command to clear the flow statistics information to which VPLS corresponds. Privileged EXEC clear flowstat vpls [vfi <vfi-name>] clear flowstat vpls <vfi-name> VFI name that VPLS example(to clear flow statistic) corresponds to Instructions Clera VPLS flow statistics information by force. Only ZXR10 6900 and ZXR10 8900 support this command. 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 Use this command to clear the flow statistics information to which VPWS corresponds. Privileged EXEC clear flowstat vpws vcid <vcid> clear flowstat vpws vlanid <vlan-id> <vcid> Vcid that VPWS corresponds to <vlan-id> Vlan-id that VPWS corresponds to Instructions Related Commands Clera VPWS flow statistics information by force. Only ZXR10 6900 and ZXR10 8900 support this command. This example describes how to clear VPWS flow statistics. ZXR10#clear flowstat vpws vcid 2 ZXR10#clear flowstat vpws vlanid 2 show mac-table clear mac-table vfi Use this command to clear the MAC address table of the specified virtual private LAN service (VPLS). Privileged EXEC clear mac-table vfi <vfi-name> <vfi-name> Corresponding VFI name of the VPLS instance of the MAC address to be cleared Instructions Use this command to force to clear the MAC address forwarding table of the VPLS instead of clear the MAC address by aging it. This command is provided only for ZXR10 GER and ZXR10 T64E/T128. 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 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. VFI configuration and CFI MSPW configuration For VFI configuration mode, peer <peer-ip-address>[spoke][tunnel <tunnel-number>] no peer <peer-ip-address> For VFI MSPW configuration mode, peer <peer-ip-address> vcid <vcid> no peer <peer-ip-address> <peer-ip-address> IP address of the peer PE, in general it is the router identifier spoke <tunnel-number> <vcid> 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 Instructions The default peer type is hub in VFI configuration mode. The default peer type is spoke in VFI MSPW configuration mode. 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. 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) Related Commands 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. vfi vcid ZXR10(config)#vfi mspw vfi1 ZXR10(config-vfi-mspw)#peer 4.4.4.4 vcid 40 pwtype vfi mspw pwtype ] 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. VFI configuration or VFI MSPW configuration pwtype {ethernet ethernet-vlan} ethernet ethernet-vlan Pseudo-wire type: Ethernet or Ethernet-vlan Instructions This command is supported after the platform version 4.6.02. When a pseudo-wire is established between two PEs, there must be the negotiation about the type of the pseudo-wire established. There are two types of the pseudo-wire in VPLS: Ethernet and Ethernet-vlan. The establishment of a pseudo-wire will fail if the pseudo-wire types designated by PEs are different. The two pseudo-wire types correspond to two ways for providing the VPLS service. If the pseudo-wire type is Ethernet, the VPLS service is provided in the transparent mode. That is, the PE directly forwards the user data without checking or processing the vlan tag of the user data. In this case, the the vlan tag is regarded as the distinguisher for the user to manage private networks. In this mode, the input interface offered to the user must be the real interface. If the pw type is Ethernet-vlan, the VPLS service is provided in the rewrite mode. That is, the ingress PE router peels off the vlan tag in the user data and then forwards the pseudo-wire, while the egress PE attaches the corresponding vlan tag to the user data according to the outgoing interface type and then forwards it to the user. 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 Related Commands 2. This example describes how to configure the pseudo-wire type in VFI MSPW configuration mode on the PE. vfi vcid peer ZXR10(config)#vfi vfi1 ZXR10(config-vfi-mspw)#pwtype mspw ethernet no peer show mac-filter Use this command to show detailed information about the filtering of some VPLS MAC. Global configuration show mac-filter <rule_number> <rule_number> Rule number for MAC filtering, range: 0~127 Instructions 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 MAC_Top 1 1 0001.0002.0003 0001.0002.0003 1 0 0002.0003.0004 0002.0003.0006 1 2 0003.0004.0005 0003.0004.0007 The displayed field descriptions are shown below. Field RuleNo FilterNo MAC_Bottom MAC_Top Filter rule number Filter rule entry number Filter rule entry number Maximum MAC address to be filtered show mac-table Use this command to show the MAC table of a VPLS instance. User EXEC and privileged EXEC show mac-table <vfi-name> Confidential and Proprietary Information of ZTE CORPORATION 59

ZXR10 Command Manual (MPLS Volume) <vfi-name> Name of the Virtual Forwarding Instance (VFI) in the VPLS Instructions This command is provided only for ZXR10 GER and ZXR10 T64E/T128. This example describes how to show the MAC table of the vfi1. ZXR10#show mac-table vfi1 MAC peer-address outintlab outextlab outinterface type 0000.0000.2009 Local NULL NULL fei_7/8 dynamic 0000.0000.3005 1.1.1.1 16 3 fei_7/5 dynamic 0000.0000.3004 1.1.1.1 16 3 fei_7/5 dynamic The displayed field descriptions are shown below. Field MAC peer-address outintlab outextlab outinterface type MAC address Peer address, namely the remote address Inner outgoing label Outer outgoing label Outgoing interface MAC address type, statically configured or dynamically learned Related Commands clear mac-table vfi show mpls l2transport vc vpls Use this command to display information about the pseudo-wire successfully established. User EXEC and privileged EXEC show mpls l2transport vc vpls [{[vcid <vc-id>[<max-vc-id >]][vfi <vfi-name>][destination <ip-address>][detail]}] <vc-id> Shows VPLS information corresponding with the designated vc-id, or shows the minimal vc-id value, range: 0~42949672955 <max-vc-id> <vfi-name> Shows the maximal vc-id value, range: 0~42949672955 Shows VPLS information of the VFI with the designated name 60 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 4 VPLS Configuration <ip-address> detail Shows information about the pseudo wire established with the designated peer address Shows detailed VPLS information Instructions 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 VC ID Status 1 VFI 7.7.7.7 1 up 1 VFI 6.6.6.6 1 up 2. This example describes how to show detailed VPLS information of the VFI named 1. ZXR10#show mpls l2transport vc vpls vfi 1 detail Local interface: VFI 1 up Destination address: 7.7.7.7, VC ID: 1, VC status: up Tunnel label: Output interface: fei_3/7, imposed label stack { 16, 17 } Create time: 00:00:18, last status change time: 00:00:18 Signalling protocol: LDP, peer 7.7.7.7 : 0, up MPLS VC labels: local 2518, remote 17 Group ID: local 0, remote 0 MTU: local 1500, remote 1500 Remote interface description: Sequencing: receive disabled, send disabled Local interface: VFI 1 up Destination address: 6.6.6.6, VC ID: 1, VC status: up Tunnel label: Output interface: fei_3/6, imposed label stack { 50016, 50017 } Create time: 00:00:18, last status change time: 00:00:18 Signalling protocol: LDP, peer 6.6.6.6 : 0, up MPLS VC labels: local 2517, remote 50017 Group ID: local 0, remote 0 MTU: local 1500, remote 1500 Remote interface description: Sequencing: receive disabled, send disabled The displayed field descriptions are shown below. Field VFIName LocalCircuit DestAddress VC ID Status VFI name Local link type, it indicates the L2VPN VPLS in this example Remote destination address VC identifier 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 Use this command to show the number of VPWSs and VPLSs in the L2VPN. User EXEC and privileged EXEC show mpls l2transport vpn summary Instructions This command is supported after the platform version 4.6.02. Related Commands 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 show mpls l2transport vc vpls show vfi Use this command to show detailed information about some virtual forwarding instance (VFI). User EXEC and privileged EXEC show vfi <vfi-name> <vfi-name> Designated virtual forwarding instance (VFI) name in VPLS Instructions This command is provided only for ZXR10 GER, ZXR10 T64E/T128, and ZXR10 6900/8900. 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 spoke tunnelid:x Vfi name Local attachment circuit Vlan id Vlan range Neighbors connected via pseudowires Topology type is spoke The outer tunnel encapsulation type is RSVPTE, X indicates the corresponding tunnel identifier Virtual forwarding instance (VFI) name Circuit interfaces locally bounded VLAN identifier of the interface in the Ethernet-vlan instance VLAN range of the interface in the Ethernet instance Indicates that those PEs are in adjacency relations with local instance Related Commands show vfi brief show vfi brief Instructions Use this command to show brief information about all VPLS instances configured. User EXEC and privileged EXEC show vfi brief This command is provided only for the ZXR10 GER and ZXR10 T64E/T128. 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 PWtype aa 2 Ethernet-vlan vfi 1 Ethernet The displayed field descriptions are shown below. Field Total VFI number is 2 VFI name Name of the VFI PWtype Total number of currently configured virtual forwarding instances (VFIs) Virtual forwarding instance (VFI) name VC identifier of the virtual forwarding instance (VFI) 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 Use this command to set stp tunnel in vfi. Vfi configuration stp-tunnel enable no stp-tunnel enable enable Enables STP tunnel in vfi. Instructions Related Commands The platform version 4.8.22 and upgrade versions support this command. Use this command to set VPLS stp tunnel. This example describes how to set stp tunnel in vfi. ZXR10(config-vfi)#stp-tunnel enable no vfi vid pwtype peer no peer vpls mac-filter vcid Use this command to specify a virtual channel identifier (VCID) for the VPLS instance. VFI configuration vcid <vcid> <vcid> Different VPLS instances on the same PE have different virtual channel identifiers (VCIDs), and VPLS instances with the same virtual channel identifier (VCID) on different PEs belong to the same VPLS, range: 1~4294967296 Instructions This command is supported after the platform version 4.6.02. If VPLS instances on two PE routers belong to the same VPLS, a pseudo wire (PW) must be established between the PEs for communication of these VPLS instances. The pseudo wire (PW) is es- 64 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 4 VPLS Configuration Related Commands 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. 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 vfi pwtype peer vpls apply-mac-filter Use this command to apply MAC filter rule to a virtual forwarding instance (VFI) on the PE. VFI configuration vpls apply-mac-filter <rule_number> global no vpls apply-mac-filter <rule_number> global <rule_number> MAC filter rule number global All members of this virtual forwarding instance (VFI) are valid Instructions This command is supported after the platform version 4.8.02. Related Commands 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 no vfi vcid pwtype peer no peer vpls mac-filter Confidential and Proprietary Information of ZTE CORPORATION 65

ZXR10 Command Manual (MPLS Volume) vfi Use this command to create a VPLS instance on the PE. Delete the VPLS instance with the no form of this command. Global configuration vfi <vfi-name> no vfi <vfi-name> <vfi-name> Virtual forwarding instance (VFI), namely the name of L2 VPN Instructions This command is supported after the platform version 4.6.02. Related Commands 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)# no vfi vid pwtype peer no peer vfi mspw Use this command to configure the multi-hop static pseudo wire (PW) S-PE. Global configuration vfi mspw <vfi-name> no vfi mspw <vfi-name> <vfi-name> S-PE MSPW VFI name Instructions This command is supported after the platform version 4.8.02. MSPW VFI is a configuration on PE router, which acts as S-PE node to implement multi-hop static PW forwarding. This 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. 66 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 4 VPLS Configuration Related Commands 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)# no vfi mspw pwtype peer no peer vpls mac-filter 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 <rule_number><single range><filter_nu mber><mac-addr><mac-addr> no vpls mac-filter-rule <rule_number><filter_number> <rule_number> MAC filter rule number <single range> <filter_number> <mac-addr> Filter rule type. single or range MAC filter entry number MAC address Instructions This command is supported after the platform version 4.8.02. Related Commands 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 no vfi vid pwtype peer no peer Confidential and Proprietary Information of ZTE CORPORATION 67

ZXR10 Command Manual (MPLS Volume) vlan range Use this command to configure the VLAN range on the real interface bounded with the VFI attribute. VFI interface configuration vlan range <range num><bottom limit><top limit> no vlan range <range num> <range num> VLAN range number, range: 1~3 <bottom limit> <top limit> Lower limit of the VLAN range Upper limit of the VLAN range Instructions Related Commands Three VLAN ranges can be configured on local interface once. This command is provided only for ZXR10 GER and ZXR10 T64E/T128. 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 no vlan range xconnect vfi Use this command to add local interface to a virtual forwarding instance (VFI). Cancel the setting with the no form of this command. Interface configuration xconnect vfi <vfi-name> no xconnect vfi <vfi-name> Virtual forwarding instance (VFI) name Instructions 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

C h a p t e r 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 69

ZXR10 Command Manual (MPLS Volume) tunnel mpls traffic-eng autoroute announce...95 tunnel mpls traffic-eng autoroute metric...96 tunnel mpls traffic-eng bandwidth...97 tunnel mpls traffic-eng bfd...97 tunnel mpls traffic-eng class-type...98 tunnel mpls traffic-eng path-option...98 tunnel mpls traffic-eng record-route...99 tunnel mpls traffic-eng tunnels priority... 100 tunnel static ingress... 100 clear ip rsvp authentication 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 receive Clears the sendsa relationship with the neighbor Clears the recvsa relationship with the neighbor Instructions This command is an optional command. This command is supported after the platform version 4.8.21. This example describes how to clear all security assistant relationships on local node. ZXR10#clear ip rsvp authentication ip explicit-path Use this command to configure the next hop for an explicit path in traffic engineering. Global configuration ip explicit-path {name <name> identifier <identifier>} next -address <A.B.C.D>{loose strict} no ip explicit-path {name <name> identifier <identifier>} name <name> Explicit path name, 1~16 characters identifier <identifi er> Explicit path identifier, range: 1~65535 70 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration strict loose <A.B.C.D> Strict path Loose path IP address of the neighbor node, in the dotted decimal notation Instructions There is no explicit path by default. 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. 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 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 There is no RSVP authentication on the interface by default. Instructions This command is a must. This command must be configured on the interface for enabling RSVP authentication. This command is supported after the platform version 4.8.21. 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 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 The behavior of this command is disabled on the interface by default. Instructions 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 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 The behavior is enabled by default. Instructions 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 Use this command to configure the lifetime of the authentication key on the interface. Restore the default value with the no form of this command. Interface configuration ip rsvp authentication lifetime <lifetime> no ip rsvp authentication lifetime <lifetime> Life time of the authentication key in seconds, range: 1~86400 The default lifetime is 1800 seconds (30 minutes). 72 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration Instructions This command is an optional command for configuring the 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 Use this command to configure RSVP authentication key on the interface. Clear this configuration with the no form of this command. Interface configuration ip rsvp authentication key passphrase <passphrase> no ip rsvp authentication key passphrase <passphrase> Authentication key configured by user, 8~40 characters The interface adopts rsvpteauth as the key by default. Instructions This command is an optional command. This command is supported after the platform version 4.8.21. 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 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) md5 sha1 MD5 authentication type SHA1 authentication type MD5 authentication type is adopted on the interface by default. Instructions This command is an optional command. This command is supported after the platform version 4.8.21. 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 Use this command to configure the authentication window size. Restore the default value with the no form of this command. Interface configuration ip rsvp authentication window-size <window-size> no ip rsvp authentication window-size <window-size> Authentication window size, range: 1~64 The authentication window size is 1 by default. Instructions This command is an optional command for configuring the RSVP authentication window size on the interface. When packets are received, the authentication window is used to save the sequence recently received. If the sequence of the subsequent packet is new, or it is in the authentication window but it is never used, it will be received. Otherwise, it will be refused. This command is supported after the platform version 4.8.21. 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 Use this command to configure the TE bandwidth in interface configuration mode on the interface. Restore default with the no form of this command. 74 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration Interface configuration ip rsvp bandwidth <interface-kbps><perflow-kbps>[{bc1 <bc1 -bw-kbps>}] no ip rsvp bandwidth <interface-kbp> 1~10000000 Maximal bandwidth supporting traffic engineering on the interface, unit: kbps, range: 1~10000000 <perflow-kbps> <bc1-bw-kbps> 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 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. 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 Instructions 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 The behavior of this command is disabled by default. When there is no tunnel passing through this interface, Bidirectional Forwarding Detection (BFD) sessions are not established even if this command is configured. 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 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 This function is disabled by default. 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 Use this command to configure Hello refreshing interval of MPLS traffic engineering (TE) graceful restart (GR) function. Restore the default value with the no form of this command. Global configuration ip rsvp signalling hello graceful-restart refresh interval <int erval-value> no ip rsvp signalling hello graceful-restart refresh interval <interval-value> Hello refresh interval, unit: millisecond, range: 10~30000 The default value is 10000 milliseconds by default. 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 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 < msg-count > Number of the missing hello packets, range: 4~10 The default missing number is 4. 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 Use this command to configure the recovery time of the MPLS traffic engineering (TE) graceful restart(gr). Restore the default value with the no form of this command. Global configuration ip rsvp signalling hello graceful-restart timers recovery-t ime <time> no ip rsvp signalling hello graceful-restart timers recovery -time <time> Recovery time of graceful restart (GR) in milliseconds, range: 0~30000 The default value is 120000 milliseconds by default. Confidential and Proprietary Information of ZTE CORPORATION 77

ZXR10 Command Manual (MPLS Volume) This example describes how to configure the recovery time as 30000 milliseconds. ZXR10(config)#ip rsvp signalling hello graceful-restart timers recovery-time 30000 ip rsvp signalling hello graceful-restart timers restart-time Use this command to configure the restart time of the MPLS traffic engineering (TE) graceful restart (GR). Restore the default value with the no form of this command. Global configuration ip rsvp signalling hello graceful-restart timers restart-time <time> no ip rsvp signalling hello graceful-restart timers restart-t ime <time> Restart time of the graceful restart (GR) in milliseconds, range: 0~30000 The default value is 120000 milliseconds. This example describes how to configure the restart time of the MPLS traffic engineering (TE) graceful restart (GR) as 30000 milliseconds. ZXR10(config)#ip rsvp signalling hello graceful-restart timers restart-time 30000 ip rsvp signalling refresh interval Use this command to configure the time interval of sending refresh packets. Restore the default setting with the no form of this command. Global configuration ip rsvp signalling refresh interval <interval-value> no ip rsvp signalling refresh interval 78 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration <interval-value> Time interval of sending refresh packets in seconds, default: 30000 milliseconds, range: 5000~4294967295 This exmaple describes how to configure the time interval of sending refresh packets as 60000 milliseconds. ZXR10(config)#ip rsvp signalling refresh interval 60000 ip rsvp signalling refresh misses Use this command to configure the number of missing refresh packets. If the number of missing refresh packets reaches the specified number, RSVP deletes the corresponding message saving status. Global configuration ip rsvp signalling refresh misses <msg-count> no ip rsvp signalling refresh misses <msg-count> Number of missing refresh packets, range: 2~10 The default number of missing refresh packets is 4 by default. This example describes how to configure the number of missing refresh packets as 6. ZXR10(config)#ip rsvp signalling refresh misses 6 mpls oam(global Configuration) Instructions Use this command to enable MPLS OAM. If not enabling the related MPLS OAM, the configuration does not take effect. Disable MPLS OAM with the no command. Global configuration mpls oam no mpls oam MPLS OAM is disabled by default. Enables MPLS traffic engine in global configuration firstly. This example describes how to enable MPLS OAM in devices. Confidential and Proprietary Information of ZTE CORPORATION 79

ZXR10 Command Manual (MPLS Volume) ZXR10(config)#mpls oam mpls oam(interface Configuration) Use this command to enable MPLS OAM. If not enabling the related MPLS OAM, the configuration does not take effect. Disable MPLS OAM in tunnel with the no command. Tunnel interface configuration mpls oam no mpls oam MPLS OAM is disabled by default. enable Enables STP tunnel in vfi. Instructions Enables MPLS traffic engine in global configuration firstly. This command takes effect when the tunnel is UP. If the configuration information is not complete, the configuration is unsuccessful. This example describes how to enable MPLS OAM in tunnel interface. ZXR10(config)#interface tunnel5 ZXR10(config-if)#mpls oam mpls static tunnel Use this command to set static tunnel lsp information. Delete the configuration with the no command. Tunnel interface configuration mpls static tunnel <tunnel-id> ingress <lsr-id> egress <lsr -id>[in-port <if-name> in-label <label>][out-port <if-name> out-label <label>][next-hop <ip-address>] no mpls static tunnel <tunnel-id> ingress <lsr-id> egress<ls r-id> MPLS OAM is disabled by default. <tunnel-id> Static lsp mark ingress <lsr-id> egress <lsr-id> in-port <if-name> Static lsp ingress router-id Static lsp egress router-id In-port name 80 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration in-label <label out-port <if-name> out-label <label> next-hop <ip-addre ss> <tunnel-id> In-label name Out-port name out-label name Next hop ip address The tunnel id Instructions Enables mpls oam in global configuration firstly. This example describes how to set tunnel1, ingress ip address 1.1.1.1, egress ip address 2.2.2.2, in-label 17, in-port gei_1/2, out-label 18, out-port gei_1/3, next-hop 20.20.20.1. ZXR10(config-if)#mpls static tunnel 1 ingress 1.1.1.1 egress 2.2.2.2 in-port gei_1/2 in-label 17 out-port gei_1/3 out-label 18 next-hop 20.20.20.1 mpls traffic-eng ds-te Use this command to enable DS-TE function in global configuration mode. Cancel this configuration with the no form of this command. Global configuration mpls traffic-eng ds-te no mpls traffic-eng ds-te DS-TE function is disabled by default. Instructions This command is supported after the platform version 4.8.20. This example describes how to enable DS-TC function. ZXR10(config)#mpls traffic-eng ds-te mpls traffic-eng ds-te bc-mode Use this command to configure the bandwidth constraints (BC) type of DS-TE. Cancel this configuration with the no form of this command. Global configuration mpls traffic-eng ds-te bc-mode [mam extend-mam] no mpls traffic-eng ds-te bc-mode Confidential and Proprietary Information of ZTE CORPORATION 81

ZXR10 Command Manual (MPLS Volume) mam extend-mam Maximum allocation model Extended maximum allocation model The bandwidth constraints (BC) mode is RDM by default. This example describes how to configure the bandwidth constraints (BC) type of DS-TE as extend-mam. ZXR10(config)#mpls traffic-eng ds-te bc-mode extend-mam mpls traffic-eng ds-te exp-maps Use this command to configure the exp-map map relationship. Cancel this configuration with the no form of this command. Global configuration mpls traffic-eng ds-te exp-maps exp <exps> output tunnel <tunnelid>{classtype <ctype>} no mpls traffic-eng ds-te exp-maps <teclass> <exps> Exp value, range: 0~7 <tunnelid> Tunnel, range: 1~1024 <ctype> Classtype, range: 0~7 This command is disabled by default. Instructions This command is supported after the platform version 4.8.21. In this example, the exp-map map is the combination of the corresponding tunnel 1 and ct0 of exp1. ZXR10(config)# mpls traffic-eng ds-te exp-maps exp 1 output tunnel1 classtype 0 mpls traffic-eng ds-te te-class Use this command to configure the TE-CLASS mapping relationship in global configuration mode. Cancel this configuration with the no form of this command. Global configuration mpls traffic-eng ds-te te-class te-class<teclass> classtype <ctype> priority <priority> 82 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration no mpls traffic-eng ds-te te-class te-class <teclass> <teclass> Te-class, range: 0~7 <priority> Priorityl, range: 0~7 <ctype> Classtype, range: 0~1 By default, the mapping relationship is shown below. TE-CLASS CType Priority 0 0 7 1 1 7 2 3 4 0 0 5 1 0 6 7 Instructions This command is supported after the platform version 4.8.20. This example describes how to configure the TC-CLASS mapping named Teclass1, which is the combination of the corresponding ct0 and the priority 1. ZXR10(config)# mpls traffic-eng ds-te te-classes te-class 1 class-type 0 priority 1 mpls traffic-eng signaling advertise implicit-null Use this command to configure the RSVP implicit-null function. Global configuration mpls traffic-eng signaling advertise implicit-null [force] no mpls traffic-eng signaling advertise implicit-null [force] force The command with this option takes effect for all tunnels, including the built and new tunnels. Without this option, then it only takes effect for new tunnels Confidential and Proprietary Information of ZTE CORPORATION 83

ZXR10 Command Manual (MPLS Volume) It is implicit-null configuration by default. Instructions If the function is enabled on a node, and this node as the trailing node of the tunnel distributes a implicit-null label 3 to the last but one hop. If this function is disabled on the interface, a implicit-null label 0 is distributed tothe last but one hop. Restore the default implicit-null configuration with the no form of this command. If there is the force parameter after the no form of this command, then the new configuration will take effect on all tunnels (the created and new tunnels). If there is no force parameter after the no form of this command, then it only takes effect on the new tunnel. This example describes how to configure RSVP implicit-null function. ZXR10(config)#mpls traffic-eng signalling advertise implicit-null mpls traffic-eng tunnels(global Configuration) Instructions Use this command to enable MPLS traffic engineering signalling. Disable the function with the no form of this command. Global configuration mpls traffic-eng tunnels no mpls traffic-eng tunnels MPLS traffic engineering is not supported by default.. To enable the router to support MPLS traffic engineering, users must configure this command in the global configuration mode and enable MPLS traffic engineering on the related interfaces. This example describes how to enable MPLS TE. ZXR10(config)#mpls traffic-eng tunnels mpls traffic-eng tunnels(interface Configuration) Use this command to enable MPLS traffic engineering signalling on a interface. Disable the function with the no form of this command. Interface configuration 84 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration Instructions mpls traffic-eng tunnels no mpls traffic-eng tunnels The interface does not support MPLS traffic engineering by default. To enable the interface to support MPLS traffic engineering, users must enable MPLS traffic engineering in global configuration mode, and then enable MPLS traffic engineering on the interface. The interface accepts the MPLS traffic engineering signalling request and floods its resource information through IGP. This example describes how to enable MPLS TE signalling on the interface. ZXR10(config)#interface fei_3/1 ZXR10config-if)#mpls traffic-eng tunnels show ip rsvp authentication Use this command to show the status and configuration information of all security assistants (SAs) or some neighbor. All modes except User EXEC show ip rsvp authentication [<A.B.C.D >] <A.B.C.D> Neighbor address The information of all security assistants (SAs) is displayed by default. Instructions This command is supported after the platform version 4.8.21. The following contents will be shown after using this command. ZXR10#show ip rsvp authentication Neighbor: 10.10.10.2 Key ID (hex): 0a0a0a010000 Interface: fei_1/1 Direction: Send Expiration: 00:03:59 Last valid seq # sent: 0x1e286cb10 Windowsize: 5 Integriy HF flag: Set Neighbor: 10.10.10.2 Key ID (hex): 0a0a0a020000 Interface: fei_1/1 Direction: Receive Expiration: 00:03:31 Last valid seq # rcvd: 0x1e2868f0e Challenge: Configured Windowsize: 5 Integriy HF flag: Set Sequence window: 0x1e2868f0b 0x1e2868f0c 0x1e2868f0d 0x1e2868f0e The descriptions of the displayed information are shown below. Field Interface Corresponding interface name of the SA Confidential and Proprietary Information of ZTE CORPORATION 85

ZXR10 Command Manual (MPLS Volume) Field Direction Expiration Last valid seq Challenge Windowsize Integriy HFflag Sequence window Direction of the SA (send or receive) Expiration time of the SA Latest valid sequence Whether passes the challenge negotiation SA window size Whether supports the challenge Valid sequence group show ip explicit-path Use this command to show detailed information about the explicit path. All modes except user EXEC show ip explicit-path [name <name> identifier <identifier>] name <name> Path name identifier <identifi er> Path identifier, range: 1~65535 Instructions This command is used to show detailed information about the explicit path. If the router does not support MPLS traffic engineering, there is no such information displayed. The following contents will be shown after using this command. (The data below are for reference only): ZXR10#show ip explicit-path PATH namepath_123 1. next-address 192.1.1.1 strict 2. next-address 1.1.1.1 loose PATH identifier 123 1. next-address 10.40.88.36 strict 2. next-address 3.2.1.6 loose ZXR10#show ip explicit-path name path_123 PATH namepath_123 1. next-address 192.1.1.1 strict 2. next-address 1.1.1.1 loose The descriptions of the displayed information are shown below. Field PATH Name of the path or number of flags 1. next-address First IP address in the path 2. next-address Second IP address in the path 86 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration show ip rsvp hello graceful-restart Use this command to show detailed information about the RSVP Graceful Restart HELLO instance. All modes except user EXEC show ip rsvp hello graceful-restart Instructions This command is supported after the platform version 4.8.01. The following contents will be shown after using this command. ZXR10#show ip rsvp hello graceful-restart Graceful Restart: Enabled Refresh interval: 10000 msecs Refresh misses: 4 Advertised restart time: 1000 msecs Advertised recovery time: 120000 msecs The descriptions of the displayed information are shown below. Filed Graceful Restart Refresh interval Refresh misses Advertised restart time Advertised recovery time whether graceful restart (GR) is enabled Hello refreshing interval of GR Hello missing number of GR Restart time of the advertisement Recovery time of the advertisement show ip rsvp refresh parameter Use this command to show the signalling refreshing time and the configuration information of missing packets. All modes except user EXEC show ip rsvp refresh parameter Instructions This command is supported after the platform version 4.8.01. The following contents will be shown after using this command. ZXR10#show ip rsvp refresh parameter RSVP-TE: Enabled RSVP signalling refresh interval: 30000 msecs RSVP signalling refresh misses : 4 The descriptions of the displayed information are shown below. Confidential and Proprietary Information of ZTE CORPORATION 87

ZXR10 Command Manual (MPLS Volume) Field RSVP signalling refresh interval RSVP signalling refresh misses Refreshing time of RSVP protocol signalling messages Number of refreshing missing messages of RSVP protocol signalling messages show mpls traffic-eng autoroute Use this command to show the status and configuration information of all tunnels with automatic routes. All modes except user EXEC show mpls traffic-eng autoroute Instructions This command is supported after the platform version 4.8.20. The following contents will be shown after using this command. (The data below is for reference only): ZXR10# show mpls traffic-eng autoroute MPLS TE autorouting enabled destination 1.1.1.25 has 1 tunnels TunnelId DestRouterId TunnelState Destination State NextHop MetricType MetricValue 1 1.1.1.25 UP 10.10.10.2 relative -1 The descriptions of the displayed information are shown below. Field TunnelId Destination State NextHop MetricType MetricValue Tunnel ID TE RouteID of the tunnel destination Tunnel state Next hop address of the tunnel Metric type Metric value show mpls traffic-eng ds-te exp-map Use this command to show exp-map mapping relationship. All modes except user EXEC show mpls traffic-eng ds-te exp-map Instructions This command is supported after the platform version 4.8.21. 88 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration The following contents will be shown after using this command. (The data below is for reference only): ZXR10#show mpls traffic-eng ds-te exp-map Exp OutTunnel Ctype 3 1 4 1 2 The descriptions of the displayed information are shown below. Field Exp OutTunnel Ctype Exp-map value Tunnel identifier Ctype corresponding to the tunnel show mpls traffic-eng ds-te te-class Use this command to show TE-CLASS mapping relationship. All modes except user EXEC show mpls traffic-eng ds-te te-class Instructions This command is supported after the platform version 4.8.20. The following contents will be shown after using this command. (The data below is for reference only): ZXR10#show mpls traffic-eng ds-te te-class TeclassId CType Priority 0 0 7 1 0 1 2 unused 3 unused 4 0 0 5 1 0 6 unused 7 unused The descriptions of the displayed information are shown below. Field TeclassID Ctype Priority TE-CLASS value Ctype corresponding to the tunnel Tunnel priority Confidential and Proprietary Information of ZTE CORPORATION 89

ZXR10 Command Manual (MPLS Volume) show mpls traffic-eng interface detail Use this command to show detailed RSVP information on the interface. All modes except user EXEC show mpls traffic-eng interface detail [<interface-name>] <interface-name> Interface where RSTP traffic engineering is enabled Information of all interfaces where RSTP traffic engineering is enabled are displayed by default. Instructions This command is supported after the platform version 4.8.21. The following contents will be shown after using this command. (The data below are for reference only): ZXR10#show mpls traffic-eng interface detail fei_1/1 fei_1/1: Bandwidth: Curr allocated: 0K bits/sec Max. allowed (total): 75000K bits/sec Max. allowed (per flow): 75000K bits/sec Authentication: enabled Key: <encrypted> Type: md5 Challenge: enabled Challenge-imp: Implemented Window size: 5 Lifetime: 300 BFD:enable disconnected down unprotected frr_counter: 0 out_lsp_counter: 0 in_lsp_counter: 0 The descriptions of the displayed information are shown below. Field Bandwidth Authentication Key Type Challenge Challenge-imp Window size Lifetime Current bandwidth Whether authentication is enabled on the interface Authentication key on the interface Authentication type Authentication receiver supporting challenge Authentication sender supporting challenge Authentication window size SA lifetime of the authentication 90 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration Field BFD frr_counter out_lsp_counter in_lsp_counter BFD state FRR number Number of LSPs which take the interface as the outgoing interface Number of LSPs which take the interface as the incoming interface show mpls traffic-eng tunnels Use this command to show detailed inforamtion about the MPLS tunnel. All modes except user EXEC show mpls traffic-eng tunnels [brief][summary][tunnel <tunnel_id>] brief Shows brief tunnel information tunnel <tunnel_id> summary Shows local tunnel information Shows statistic tunnel information This example shows brief information (the data below is for reference only). ZXR10#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT Tunnel_1 10.112.0.12 - unknown up/down Tunnel_2 10.110.0.10 - fei_1/4 up/up Tunnel_3 10.110.0.20 fei_1/2fei_1/4 up/up The descriptions of the displayed information are shown below. Field LSP Tunnels Process RSVP Process Forwarding TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT LSP tunnel state RSVP protocol state Forwarding state Tunnel name Destination address of the tunnel Uplink interface of the tunnel Downlink interface of the tunnel Tunnel administration/running state Confidential and Proprietary Information of ZTE CORPORATION 91

ZXR10 Command Manual (MPLS Volume) This example shows information about the tunnel namedtunnel11. ZXR10#show mpls traffic-eng tunnels tunnel11 name: tunnel_11 (Tunnel11) Destination: 2.2.2.2 Status: Admin: up Oper: up Path: valid Signalling: connected Path option: 11, type explicit pos_412 Config Parameters: Bandwidth: 0 kbps (Global) Priority: 0 0 Affinity: 0x0/0x0 Metric Type: IGP (default) Fast-reroute: enable InLabel:- OutLabel:pos_5/1,16 RSVP Signalling Info : src 4.4.4.4, Dst 2.2.2.2, Tun_Id 11, Tun_Instance 6 RSVP Path Info: Explicit Route: 67.1.1.2 67.1.1.1 66.1.1.1 66.1.1.2 2.2.2.2 Record Route: NONE Tspec:ave rate= 0 kbits, burst= 8000 bytes, peak rate = 0 kbits RSVP Resv Info: Record Route: NONE Fspec:ave rate= 0 kbits, burst= 8000 bytes, peak rate = 0 kbits History: Tunnel: Time since created: 0 days, 5 hours, 17 minutes Prior LSP:0 Current LSP: Uptime:0 days, 5 hours, 16 minutes The descriptions of the displayed information are shown below. Field Name Destination Admin Oper Path Signalling Path option Bandwidth Priority Affinity Fast-reroute InLabel OutLabel src Dst Tunnel name Destination address of the tunnel Tunnel administration state: up/down/admindown (tunnel interface is shutdown) Tunnel running state: up/down Tunnel path state: valid/invalid Tunnel signalling state: down/connected/signalling Explicit path configuration Reserved tunnel bandwidth Priority for establishing and holding the tunnel Tunnel affinity Whether the tunnel supports fast reroute: enable/disable Incoming label and the interface of the tunnel Outgoing label and the interface of the tunnel Source address of the tunnel Destination address of the tunnel 92 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration Field Tun_Id Tun_Instance Explicit Route Record Route Tunnel identifier LSP identifier of the tunnel Explicit path established in the tunnel Address of each hop of the tunnel show mpls traffic-eng tunnels remote-tunnel Use this command to show remote MPLS tunnel in detail. All modes except user EXEC show mpls traffic-eng tunnels remote-tunnel [tunnel-id<tu nnel_id> lsp-id<lsp_id> ingress-id <ingress_id> egress-id<eg ress_id>] tunnel-id<tunnel_ id> Tunnel identifier of the remote tunnel lsp-id<lsp_id> ingress-id <ingress_id> egress-id<egress_ id> Instance identifier of the remote tunnel Ingress address of the remote tunnel Egress address of the remote tunnel This example describes how to show information about the remote tunnel. The ingress address is 1.1.1.15, the egress address is1.1.1.25, the tunnel identifier is 2, and the instance identifier is 6. ZXR10#show mpls traffic-eng tunnels remote-tunnel tunnel-id 2 lsp-id 6 ingress-id 1.1.1.15 egress-id 1.1.1.25 LSP Tunnel tunnel_2 is signaled, connection is up InLabel:fei_1/1, 0 OutLabel:- RSVP Signalling Info : src 1.1.1.15, Dst 1.1.1.25, Tun_Id 2, Tun_Instance 6 RSVP Path Info: Explicit Route: 80.1.2.2 1.1.1.25 Record Route: NONE Tspec:ave rate= 0 kbits, burst= 2000 bytes, peak rate = 0 kbits RSVP Resv Info: Record Route: NONE Fspec:ave rate= 0 kbits, burst= 2000 bytes, peak rate = 0 kbits The descriptions of the displayed information are shown below. Confidential and Proprietary Information of ZTE CORPORATION 93

ZXR10 Command Manual (MPLS Volume) Field InLabel OutLabel src Dst Tun_Id Tun_Instance Explicit Route Record Route Ingress labels and the interface of the tunnel Egress labels and the interface of the tunnel Source address of tunnel Destination address of tunnel Tunnel identifier LSP identifier of the tunnel Explicit path established by the tunnel Address of each hop of the tunnel tunnel mpls oam back-up-lsp tunnel Use this command to set OAM backup lsp in tunnel mode. Tunnel configuration tunnel mpls oam back-up-lsp tunnel <tunnel-id> no tunnel mpls oam back-up-lsp <tunnel-id> tunnel id, 1~1024 Instructions No configuration by default. This command must be set when tunnel is UP and OAM is disabled. This example describes how to set mpls oam backup tunnel to tunnel2. ZXR10(config)#interface tunnel5 ZXR10(config-if)#tunnel mpls oam back-up-lsp tunnel2 tunnel mpls oam tunnelid Use this command to set OAM backup lsp in tunnel mode. Tunnel configuration tunnel mpls oam tunnelid <tunnel-id> ingress <tunnel-id> back-forward-lsp < tunnel-index > type {cv ffd frequence <time>} no tunnel mpls oam tunnelid < tunnel-id > ingress <lsr-id> 94 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration < tunnel-index > Tunnel number of the reverse direction <tunnel-id> Tunnel id, 1~1024 <tunnel-id> Static lsp ingress node routerid <time> Refresh time interval, the value is: 10, 20, 50, 100, 200, 500(in milliseconds) Instructions No configuration by default. This command can be activated by other commands. Users can choose to enable it or not. This example describes how to set tunnel oam whose tunnelid is 1 and ingress is 1.1.1.1 to cv mode, set reverse tunnel to 2. ZXR10(config)#interface tunnel5 ZXR10(config-if)#tunnel mpls oam tunnelid 1 ingress 1.1.1.1 back-forward-lsp 2 type cv tunnel mpls oam type Use this command to set detection in tunnel mode. Tunnel configuration tunnel mpls oam type {cv ffd frequence < interval >} no tunnel mpls oam type < interval > Refresh time interval, the value is: 10, 20, 50, 100, 200, 500(in milliseconds) Instructions NULL by default. By default, ffd refresh interval is 500 milliseconds and cv is 1 second. This command can be set when tunnel is UP and OAM is disabled. This example describes how to set MPLS oam to FFD and time period to 20 milliseconds. ZXR10(config)#interface tunnel5 ZXR10(config-if)#tunnel mpls oam type ffd frequence 20 tunnel mpls traffic-eng autoroute announce Use this command to enable MPLS automatic routing on the tunnel interface. Disable this function with the no form of this command. Confidential and Proprietary Information of ZTE CORPORATION 95

ZXR10 Command Manual (MPLS Volume) Tunnel interface configuration tunnel mpls traffic-eng autoroute announce no tunnel mpls traffic-eng autoroute announce The tunnel does not support automatic routing by default. Instructions This command is supported after the platform version 4.8.20. This example describes how to enable MPLS automatic routing on the tunnel interface. ZXR10(config)#interface tunnel5 ZXR10(config-if)#tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng autoroute metric Use this command to configure the metric type and value of the tunnel automatic route. Disable this function with the no form of this command. Tunnel interface configuration tunnel mpls traffic-eng autoroute metric {<value> absolute <value> relative <value>} no tunnel mpls traffic-eng autoroute metric <value> Absolute metric value, range: 1~4294967295 absolute <value> relative <value> Absolute metric value of the absolute metric type, range: 1~4294967295 Metric value relative to IGP of the relative metric style, range: -10~10 The default metric type is IGP. The default metric value is IGP metric value. Instructions This command is supported after the platform version 4.8.20. 1. This example describes how to configure the metric value of automatic routes as 2. ZXR10(config)#interface tunnel5 ZXR10(config-if)# tunnel mpls traffic-eng autoroute metric 2 ZXR10(config-if)# tunnel mpls traffic-eng autoroute metric absolute 2 ZXR10(config-if)# tunnel mpls traffic-eng autoroute metric relative -2 2. This example describes how to configure the metric type as absolute metric, and the metric value is 2. ZXR10(config)#interface tunnel5 ZXR10(config-if)# tunnel mpls traffic-eng autoroute metric absolute 2 3. This exmaple describes how to configure the metric type as relative metric, and the metric value is -2. 96 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration ZXR10(config)#interface tunnel5 ZXR10(config-if)# tunnel mpls traffic-eng autoroute metric relative -2 tunnel mpls traffic-eng bandwidth Use this command to configure the bandwidth reserved for establishing a tunnel on the tunnel interface. Restore default with the no form of this command. Interface configuration tunnel mpls traffic-eng bandwidth <bandwidth> no tunnel mpls traffic-eng bandwidth <bandwidth> Bandwidth reserved for the traffic engineering tunnel, unit: kbps, range: 0~4294967295 Instructions There is no bandwidth reserved for establishing a tunnel. If the interface is used by an UP tunnel, the configuration of this command is invalid. In this case, shut down the UP tunnel first. This example describes how to configure the reserved bandwidth as 100kbps. ZXR10(config)#interface fei_3/1 ZXR10(config-if)#tunnel mpls traffic-eng bandwidth 100 tunnel mpls traffic-eng bfd Use this command to enable Bidirectional Forwarding Detection (BFD) on the tunnel. Cancel this configuration with the no form of this command. Tunnel interface configuration tunnel mpls traffic-eng bfd no tunnel mpls traffic-eng bfd The tunnel does not Bidirectional Forwarding Detection (BFD) by default. This example describes how to enable Bidirectional Forwarding Detection (BFD) on the tunnel. ZXR10(config)#interface tunnel5 ZXR10(config-if)#tunnel mpls traffic-eng bfd Confidential and Proprietary Information of ZTE CORPORATION 97

ZXR10 Command Manual (MPLS Volume) tunnel mpls traffic-eng class-type Use this command to configure the tunnel class type and the bandwidth requirement in tunnel interface configuration mode. Cancel this configuration with the no form of this command. Tunnel interface configuration tunnel mpls traffic-eng class-type <ct>[bandwidth <bw>] no tunnel mpls traffic-eng class-type <ct> <ctr> Class type, range: 0~1 <bw> Bandwidth requirement under the class type, range: 1~10000000 The default type is CT0, and there is no bandwidth requirements by default. Instructions This command is supported after the platform version 4.8.20. This example describes how to configure the CT type of the tunnel as 1, and the bandwidth requirement as 1000kps. ZXR10(config)#interface tunnel5 ZXR10(config-if)# tunnel mpls traffic-eng class-type 1 bandwidth 1000 tunnel mpls traffic-eng path-option Use this command to configure to obtain ERO by dynamic selection or explicit path statically on tunnel interface of the device. Cancel the setting with the no command. Tunnel interface configuration tunnel mpls traffic-eng path-option <number>{dynamic explicit {name <path-name> identifier <id>}} no tunnel mpls traffic-eng path-option <number> <number> Number of the option, range: 1~16 name <path-name> Name of the used explicit path, 1~16 characters dynamic identifier <id> Uses the dynamic path computation mode Digital identifier of the used explicit path, range: 1~65535 98 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration Instructions There is no path option configured for the tunnel. The establishment of the traffic engineering tunnel provides path constraints to designate a flag for each optional path. This example describes how to configure the method of obtaining ERO is dynamic selection. ZXR10(config)#interface tunnel5 ZXR10(config-if)#tunnel mpls traffic-eng path-option 1 dynamic The following contents will be shown after using this command. ZXR10#show mpls traffic-eng tunnels summary Signalling Summary: LSP Tunnels Process: running RSVP Process: run Forwarding: enabled Head:6 interfaces,2 active signalling attempts,2 established Midpoints:0,Tails: 64 The descriptions of the displayed information are shown below. Field LSP Tunnels Process RSVP Process Forwarding Head interface active signalling attempts established Midpoints Tails LSP tunnel state RSVP protocol state Forwarding state Statistic information of local tunnel Number of tunnels in MPLS traffic engineering Number of tunnels successfully established or being established Number of established tunnels Statistic information of local router serving as the intermediate node of the tunnel Statistic information of local router serving as the end node of the tunnel tunnel mpls traffic-eng record-route Use this command to enable the tunnel path record function on the tunnel interface. Disable the function with the no form of this command. Interface configuration tunnel mpls traffic-eng record-route no tunnel mpls traffic-eng record-reroute The tunnel path record function is disabled by default. This example describes how to enable the tunnel path record function. Confidential and Proprietary Information of ZTE CORPORATION 99

ZXR10 Command Manual (MPLS Volume) ZXR10(config)#interface fei_5/1 ZXR10(config-if)#tunnel mpls traffic-eng record-route tunnel mpls traffic-eng tunnels priority Use this command to configure the tunnel priority on the tunnel interface. Disable this function with the no form of this command. Tunnel interface configuration tunnel mpls traffic-eng priority <setup_priority><holdup-prio rity> no tunnel mpls traffic-eng priority <setup_priority> Setup priority of the tunnel <holdup-priority> Holdup priority of the tunnel The default priority is 7. Instructions This command is supported after the platform version 4.8.20. This example describes how to configure the setup priority as 2, and the holdup priority as 2. ZXR10(config)#interface tunnel5 ZXR10(config-if)#tunnel mpls traffic-eng priority 2 2 tunnel static ingress Use this command to set static tunnel lsp information. Delete the configuration with the no command. Tunnel configuration tunnel static ingress <lsr-id> egress <lsr-id>[out-port <if-na me> out-label <label>][next-hop <ip-address>] no tunnel static ingress <lsr-id> egress <lsr-id> ingress <lsr-id> Static lsp ingress node routerid egress <lsr-id> out-label <label> out-port <if-name> <ip-address> Static lsp egress node routerid Out-label Out-port Next hop ip address 100 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 5 MPLS Traffic Engineering Configuration Instructions No configuration by default. When tunnel is DOWN, set it to UP. This example describes how to set tunnel ingress to 1.1.1.1, egress to 2.2.2.2, out-label to 17, out-port to gei_1/1, next-hop to 10.10.10.1. ZXR10(config)#interface tunnel5 ZXR10(config-if)#tunnel static ingress 1.1.1.1 egress 2.2.2.2 out-port gei_1/1 out-label 17 next-hop 10.10.10.1 Confidential and Proprietary Information of ZTE CORPORATION 101

ZXR10 Command Manual (MPLS Volume) This page is intentionally blank. 102 Confidential and Proprietary Information of ZTE CORPORATION

C h a p t e r 6 FRR Configuration Table of Contents ip rsvp signalling hello... 103 ip rsvp signalling hello refresh interval... 103 ip rsvp signalling hello refresh misses... 104 mpls traffic-eng backup_tunnel... 104 show ip backup route... 105 show ip rsvp hello instance detail... 105 show ip rsvp hello instance summary... 106 show mpls traffic-eng fast-reroute... 107 show mpls traffic-eng interface... 108 tunnel mpls traffic-eng fast-reroute... 109 ip rsvp signalling hello Use this command to enable RSVP hello messages in global configuration and interface configuration mode. Global configuration, interface configuration ip rsvp signalling hello no ip rsvp signalling hello Instructions This command id supported after the platform version 4.6.02. To enable the router to support RSVP hello messages, this command must be configured in global configuration mode, and this command must be enabled on the related interface at the same time. After this command is enabled, the interface sends RSVP hello messages to its neighbor at regular time and receives the return message from the neighbor to detect its lifetime state. ip rsvp signalling hello refresh interval Use this command to configure the time interval for the interface to send RSVP hello requests. Interface configuration Confidential and Proprietary Information of ZTE CORPORATION 103

ZXR10 Command Manual (MPLS Volume) ip rsvp signalling hello refresh interval <interval> no ip rsvp signalling hello refresh interval <interval> Time interval in seconds, range: 10~30000, default: 100 seconds Instructions This command is supported after the platform version 4.6.02. The node periodically sends hello request messages (including the HELLO REQUEST object) to the neighbor at the configured interval. ip rsvp signalling hello refresh misses Use this command to specify how many Hello acknowledgments a node can miss in a row before the node considers that communication with its neighbor is down Interface configuration ip rsvp signalling hello refresh misses <num> no ip rsvp signalling hello refresh misses <num> Number of sequential Hello acknowledgments that a node can miss, range: 4~10, default: 4 Instructions This command is supported after the platform version 4.6.02. The node sends HELLO requests to the neighbor and the neighbor answers HELLO acknowledgments. The node will consider communication with its neighbor is DOWN when the number of received acknowledgments does not exceed the configured value. If a link is very congested or has a very heavy load, it is recommended to set this number to a value higher than the default value to ensure that Hello does not falsely declare that a neighbor is down. mpls traffic-eng backup_tunnel Use this command to assign one or more backup tunnels to a protected interface. Interface configuration mpls traffic-eng backup_tunnel <tunnel-id> 104 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 6 FRR Configuration no mpls traffic-eng backup_tunnel <tunnel-id> <tunnel-id> Tunnel identifier of the backup tunnel that can be used in case of a failure No backup tunnels are used if this interface goes down. Instructions This command is supported after the platform version 4.6.02. If there is a link or node failure on the interface, the configured backup tunnel provides the link protection or node protection for the main tunnel that needs local protection. Only 1:1 mode is supported now. That is to say, there is only one backup tunnel for the interface to be protected. The mutual main/standby mode is not supported. show ip backup route Use this command to show main/standby routing information about Fast Reroute (FRR). All modes show ip backup route This example describes how to show main/standby routing information about Fast Reroute (FRR). ZXR10#show ip backup route show ip rsvp hello instance detail Use this command to show detailed information about a Hello instance. All modes except user EXEC show ip rsvp hello instance detail [filter destination <ip-ad dress>] <ip-address> IP address of the neighbor node, in the dotted decimal format Instructions This command is supported after the platform version 4.6.02. This example shows detailed information about a Hello instance. ZXR10#show ip rsvp hello instance detail Neighbor 200.1.1.1 Source 200.1.1.2 Hello globally enabled State:UP Confidential and Proprietary Information of ZTE CORPORATION 105

ZXR10 Command Manual (MPLS Volume) Type:respond to request I/F: Eth1/1 LSP protectiong:0 Refresh Interval(msec) Configured:100 Src_instance 0Xa9f07c13, Dst_instance 0X9BBAA407 The descriptions of the displayed information are shown below. Field neighbor Source State IP address of the neighbor IP address of the node sending hello requests Communications state: UP indicates normal communication and LOST indicates communication is lost or fails type ACTIVE (the node sends hello requests) ; PASSIVE (the neighbor sends hello requests) I/F LSP protection Refresh Interval Configued Src_instance Dst_instance Interface type Number of the protected LSPs Interval for sending the hello requests Source instance value in the HELLO object Destination instance value in the HELLO object show ip rsvp hello instance summary Use this command to show summary information about a Hello instance. All modes except user EXEC show ip rsvp hello instance summary Instructions This command is supported after the platform version 4.6.02. This example shows summary information about a Hello instance. ZXR10#show ip rsvp hello instance summary Clinet I/F Neighbor Type State LostCnt Lsps Et1/1 11.0.0.1 PASSIVE UP 0 1 Se2/1 12.0.0.1 PASSIVE UP 0 1 The descriptions of the displayed information are shown below. 106 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 6 FRR Configuration Field Neighbor State Type I/F LostCnt IP address of the neighbor Communications state: UP indicates normal communication and LOST indicates communication is lost or fails ACTIVE (the node sends hello requests); PASSIVE (the neighbor sends hello requests) Interface type Number of lost neighbors show mpls traffic-eng fast-reroute Use this command to display the contents of the Fast ReRoute database. All modes except user EXEC show mpls traffic-eng fast-reroute Instructions This command is supported after the platform version 4.6.02. This example displays the contents of the Fast ReRoute database. ZXR10#show mpls traffic-eng fast-reroute Tunnel head end item information Protected Tunnel In-label Out intf/label FRR intf/label Status Tunnel10 Tun hd POS5/0 Tu0:12304 ready LSP midpoint frr information: LSP identifier In-label Out intf/label FRR intf/label Status 10.110.0.10 24 [456] The descriptions of the displayed information are shown below. Field Protected Tunnel In-label Out intf/label FRR intf/label Status Identifier of the tunnel to be protected Label value advertised to other nodes by local node. Tun hd indicates the node is the head node of the tunnel without advertisement of labels Outgoing interface of the protected tunnel label: the label value advertised by the next hop at the intermediate node FRR interface: backup tunnel interface Label: the label value advertised by the next hop at the intermediate node FRR current state: ready or active Confidential and Proprietary Information of ZTE CORPORATION 107

ZXR10 Command Manual (MPLS Volume) Field Prefix LSP identifier Address for labels to forward packets by LSP identifier, including source address, tunnel identidier and lsp identifier show mpls traffic-eng interface Use this command to display information about interfaces where RSVP traffic engineering is enbaled. All mods except user EXEC show mpls traffic-eng interface [<interface-name >] interface Shows information about a interface where RSVP traffic engineering is enabled <interface-name > Locally configured interface with RSVP traffic engineering function All the interfaces with RSVP traffic engineering function will be displayed by default. Instructions This command is supported after the platform version 4.6.02. 1. This example displays information about interfaces where RSVP traffic engineering is enabled. ZXR10#show mpls traffic-eng interface I/F TE Hello interval(ms) misses BK-PATH i/f max(kpbs) flow max(kpbs) fei_1/1 YES NO 100 4 NO 75000 75000 fei_1/2 YES NO 100 4 NO 75000 75000 fei_1/4 YES YES 100 4 TUL3 75000 75000 The descriptions of the displayed information are shown below. Field I/F TE Hello Interval misses RSVP TE interface Whether the interface has RSVP TE function Whether the interface has RSVP hello function Time interval for the interface to send the RSVP hello requests Specifies how many Hello acknowledgments a node can miss in a row before the node considers communication with its neighbor is down 108 Confidential and Proprietary Information of ZTE CORPORATION

Chapter 6 FRR Configuration Field BK-PATH i/f max flow max Whether the interface is configured with backup tunnel Maximal bandwidth of the interface supporting traffic engineering Maximal bandwidth of traffic engineering flow passing through the interface 2. This example displays information about the interface fei_1/4 where RSVP traffic engineering is enabled. ZXR10#show mpls traffic-eng interface fei_1/4 I/F TE Hello intervalms)misses BK-PATH i/f max(kpbs) flow max(kpbs) fei_1/4 YES YES 100 4 TUL3 75000 75000 tunnel mpls traffic-eng fast-reroute Use this command to configure the tunnel to support Fast ReRoute (FRR). Interface configuration tunnel mpls traffic-eng fast-reroute no tunnel mpls traffic-eng fast-reroute The tunnel does not support Fast ReRoute (FRR) by default. Instructions This command is supported after the platform version 4.6.02. The tunnel supports Fast ReRoute (FRR) and informs the downstream node that it needs local protection. The downstream node tries its best to offer local protection and sends related information to the head node if local protection is available. Confidential and Proprietary Information of ZTE CORPORATION 109