Page 1
Cisco Nexus 7000 Series NX-OS MPLS Command Reference December 2016 Cisco Systems, Inc. www.cisco.com Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices. Text Part Number: OL-24994-02...
Page 2
OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks.
C O N T E N T S New and Changed Information Preface A Commands accept-lifetime address-family advertise-labels affinity (LSP attribute configuration mode) affinity (TE interface configuration mode) allowas-in area as-override authentication challenge authentication key-chain authentication lifetime authentication type authentication window-size autoroute announce auto-bw (LSP attribute configuration mode) auto-bw (TE interface configuration mode)
Page 5
Contents feature ospf feature-set mpls forwarding-adjacency from G Commands graceful-restart H Commands holdtime I Commands import index inherit port-profile internetworking interface ethernet interface pseudowire interface tunnel-te install feature-set mpls ip prefix-list ip rsvp ip rsvp authentication challenge ip rsvp authentication key-chain ip rsvp authentication lifetime ip rsvp authentication type ip rsvp authentication window-size...
Page 10
Contents show ip rsvp 1242 show ip rsvp authentication 1244 show ip rsvp counters 1245 show ip rsvp fast-reroute 1247 show ip rsvp hello client lsp 1249 show ip rsvp hello client neighbor 1250 show ip rsvp hello instance 1251 show ip rsvp interface 1252 show ip rsvp internal...
Page 11
Contents show mpls oam 1290 show mpls static binding ipv4 1292 show mpls static binding ipv4 vrf 1293 show mpls switching 1294 show mpls switching aggregate 1296 show mpls switching aggregate detail 1297 show mpls switching aggregate ipv4 1298 show mpls switching aggregate ipv6 1299 show mpls switching aggregate vrf 1300...
Page 12
Contents show run mpls ldp all 1336 show running-config ospf 1337 show running-config vrf 1338 show startup-config mpls traffic-eng 1339 show startup-config vrf 1341 show tech-support mpls manager 1342 show vrf 1344 show vrf interface 1345 T Commands 1221 table-map 1222 timers lsa-arrival 1223...
Notes available at the following Cisco website: http://www.cisco.com/c/en/us/support/switches/nexus-7000-series-switches/products-release-notes-list .html The table below summarizes the new and changed features for the Cisco Nexus 7000 Series NX-OS MPLS Command Reference, and tells you where they are documented. Table 1 New and Changed Features...
Page 14
U commands update-source loopback 6.2(2) V commands 6.2(2) Cisco Nexus 7000 Series NX-OS SAN Switching Command Reference OL-24994-02...
Preface This preface describes the audience, organization, and conventions of the Cisco Nexus 7000 Series NX-OS MPLS Command Reference. It also provides information on how to obtain related documentation. This chapter includes the following sections: Audience, page 5 • Organization, page 5 •...
Page 16
Chapter Chapter Title Description K Commands Describes the Cisco NX-OS MPLS commands that begin with K. L Commands Describes the Cisco NX-OS MPLS commands that begin with L. M Commands Describes the Cisco NX-OS MPLS commands that begin with M.
Page 17
Cisco Nexus 7000 Series NX-OS Virtual Device Context Quick Start Cisco Nexus 7000 Series NX-OS Virtual Device Context Quick Start Cisco NX-OS FCoE Configuration Guide for Cisco Nexus 5000 and Cisco MDS 9500 Cisco Nexus 7000 Series NX-OS MPLS Command Reference...
Page 18
We appreciate your feedback. Obtain Documentation and Submit a Service Request For information on obtaining documentation, using the Cisco Bug Search Tool (BST), submitting a service request, and gathering additional information, see What’s New in Cisco Product Documentation.
Page 19
Chapter Obtain Documentation and Submit a Service Request To receive new and revised Cisco technical content directly to your desktop, you can subscribe to What’s New in Cisco Product Documentation RSS feed. The RSS feeds are a free service. Cisco Nexus 7000 Series NX-OS MPLS Command Reference...
Page 20
Chapter Obtain Documentation and Submit a Service Request Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
A Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with A. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
This example shows how to configure the accept lifetime of a key: switch# configure terminal switch(config)# key chain keychain1 switch(config-keychain)# key 10 switch(config-keychain-key)# accept-lifetime 10:00:00 Jan 13 2010 10:00:00 Jun 13 2010 Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
Page 23
A Commands accept-lifetime switch(config-keychain-key)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
This example shows how to configure IPV4 multicast address family: switch# configure t switch(config)# router bgp 1 switch(config-router)# address-family ipv4 multicast switch(config-router-af)# This example shows how to configure IPV6 unicast address family: switch# configure t switch(config)# router bgp 1 Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
Page 25
This example shows how to configure unicast sub address family: switch# configure t switch(config)# router bgp 1 switch(config-router)# address-family VPNv4 unicast switch(config-router-af)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
This example shows how to configure the device to advertise the label for designated destination prefixes to designated LDP peers: switch# configure terminal switch(config)# mpls ldp configuration switch(config-ldp)# advertise-labels for p1 to peer1 switch(config-ldp)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
Page 27
A Commands advertise-labels Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
Examples This example shows how to configure attribute flags for links that comprise an LSP: switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# lsp attributes 1 switch(config-lsp-attr)# affinity 0X0101 mask 0X0303 Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
Page 29
A Commands affinity (LSP attribute configuration mode) Related Commands Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering configuration protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
This example shows how to configure attribute flags for links that comprise an LSP: switch# configure terminal switch(config)# interface tunnel-te 1 switch(config-if-te)# affinity 0X0101 mask 0X0303 switch(config-if-te)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
Enters address family configuration mode for configuring routing sessions unicast that use standard IPv4 address prefixes. neighbor Adds an entry to the BGP or multiprotocol BGP neighbor table for this VRF. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
This command requires the MPLS Services license. Examples This example shows how to perform a challenge handshake with the new RSVP neighbors: switch# configure terminal switch(config)# ip rsvp switch(config-ip-rsvp)# authentication neighbor 1.1.1.1 challenge switch(config-ip-rsvp)# Related Commands Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
Page 36
A Commands authentication challenge Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
This example shows how to specify the authentication password keychain: switch# configure terminal switch(config)# ip rsvp switch(config-ip-rsvp)# authentication neighbor 1.1.1.1 key-chain key1 switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
This example shows how to specify the maximum lifetime of a neighbor authentication state: switch# configure terminal switch(config)# ip rsvp switch(config-ip-rsvp)# authentication neighbor 1.1.1.1 lifetime 60 switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
This example shows how to specify the MD5 authentication algorithm: switch# configure terminal switch(config)# ip rsvp switch(config-ip-rsvp)# authentication neighbor 1.1.1.1 type md5 switch(config-ip-rsvp)# Related Commands# Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
This example shows how to configure the tolerance for an out-of-sequence message for a neighbor: switch# configure terminal switch(config)# ip rsvp switch(config-ip-rsvp)# authentication neighbor 1.1.1.1 window-size 1 switch(config-ip-rsvp)# Related Commands# Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
This example shows how to announce the tunnel to IGP: switch# configure terminal switch(config)# interface tunnel-te 1 switch(config-if-te)# autoroute announce switch(config-if-te)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
If a setting is specified for a label switched path (LSP) either via the path-option command directly or by assigning an LSP attribute list to a path option, this setting takes precedence for that specific path option. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
Page 43
This example shows how to configure the automatic bandwidth configuration: switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# lsp attributes 1 switch(config-lsp-attr)# auto-bw Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
This command requires the MPLS Services license. Examples This example shows how to enable automatic bandwidth adjustment for the tunnel and controls how the bandwidth for a tunnel is adjusted: Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
Enters address family configuration mode for configuring routing sessions unicast that use standard IPv4 address prefixes. send-community Specifies that a community’s attribute should be sent to a BGP neighbor. extended Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
Page 48
A Commands autonomous-system Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-02...
B Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with B. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to setup delay parameters for the LDP backoff mechanism: switch(config)# mpls ldp configuration switch(config-ldp)# backoff 30 240 switch(config-ldp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to associate the bandwidth with a backup tunnel: switch# configure terminal switch(config)# interface tunnel-te 2 switch(config-if-te)# backup-bw 1000 switch(config-if-te)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This command requires the MPLS Services license. Examples This example shows how to configure the LSP bandwidth: switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# lsp attributes 1 switch(config-lsp-attr)# bandwidth 5000 Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 53
B Commands bandwidth (LSP attribute configuration mode) Related Commands Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering configuration Protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to configure the bandwidth for a MPLS TE tunnel: switch# configure terminal switch(config)# interface tunnel-te 1 switch(config-if-te)# bandwidth 250 switch(config-if-te)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This command requires the MPLS Services license. Examples This example shows how to set the BFD intervals: switch# configure terminal switch# configure terminal switch(config)# interface ethernet 2/2 switch(config-if)# bfd interval 100 min_rx 100 multiplier 4 Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 56
B Commands bfd interval Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to configure the slow mode timer for sessions: switch# configure terminal switch(config)# bfd slow-timer 1000 switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to remove the bridge-domain configuration including port associations: switch(config)# no bridge-domain 10 switch(config)# Related Commands Command Description system bridge-domain Identifies the IDs that are available for bridge-domain configurations. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 59
C Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with C. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This command requires the MPLS Services license. Examples This example shows how to configure a CBTS tunnel interface type: switch# configure terminal switch(config)# interface tunnel-te 1 switch(config-if-te)# cbts-member tunnel-te 251 switch(config-cbts-member) Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
C Commands cbts-member tunnel-te Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 62
This example shows how to specify the class name of the policy that you want to create or change: switch# configure terminal switch(config)# policy-map type qos policy1 switch(config-pmap-qos)# class class2 switch(config-pmap-c-qos)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to specify the logical OR for all match statements under this class map: switch# configure terminal switch(config)# class-map type qos match-any class-2 switch(config-cmap-qos)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to enable the control word support: switch# configure terminal switch(config)# interface pseudowire 12 switch(config-if-pseudowire)# control-word include switch(config-if-pseudowire)# Related Commands Command Description interface pseudowire Enters interface pseudowire configuration mode and configures a static pseudowire logical interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to copy the running configuration to the startup configuration: switch(config)# copy running-config startup-config [########################################] 100% switch(config)# Related Commands Command Description show running-config Displays information about the interface configuration. interface Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 67
Modification 7.3(0)D1(1) This command was introduced. Examples The following example shows how to configure cost limit for an individual TE tunnel: switch# configure terminal number switch(config)# interface tunnel-te switch(config-if)# cost-limit switch(config-if)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 68
C Commands cost-limit Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
D Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with D. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to configure the destination for the tunnel: switch# configure terminal switch(config)# interface tunnel-te 1 switch(config-if-te)# destination 10.1.1.4 switch(config-if-te)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
33.0.1.63 remote-as 100 switch(config-router-vrf-neighbor)# address-family ipv4 unicast switch(config-router-vrf-neighbor-af)# disable-peer-as-check switch(config-router-vrf-af)# Related Commands Command Description address-family ipv4 Enters address family configuration mode for configuring routing sessions unicast that use standard IPv4 address prefixes. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 74
Configure this parameter in the VPN address family configuration mode at the PE spokes and at the neighbor mode at the PE hub. neighbor Adds an entry to the BGP or multiprotocol BGP neighbor table for this VRF. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
E Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with E. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This command was introduced. Usage Guidelines This command requires an MPLS license. Examples This example shows how to send the Cisco-specific type, length, value (TLV) extensions with echo packets: switch# configure terminal switch (config)# mpls oam switch(config)# echo revision 3...
Enters Xconnect configuration mode and establishes a Layer 2 VPN (L2VPN) context for identifying the two members in a VPWS, multi segment pseudowire, or local connect service. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Enters interface pseudowire configuration mode and configures a static pseudowire logical interface. port-profile type Enters interface port-profile configuration mode and configures a pseudowire pseudowire port profile. state enabled Enables the interface port profile. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to specify an address to exclude while configuring an explicit-path: switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# explicit-path name avoid-protected-link switch(config-te-expl-path)# exclude-address 3.3.3.3 1: exclude-address 3.3.3.3 switch(config-te-expl-path)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to configure the EXP bits that are forwarded over the member tunnel: switch# configure terminal switch(config)# interface tunnel-te 1 switch(config-if-te)# cbts-member tunnel-te 251 switch(config-cbts-member)# exp 5 Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to configure an explicit null label and specify the for keyword with a prefix list: switch(config-ldp)# explicit-null for prefix-list switch(config-ldp)# This example shows how to configure an explicit null label and specify the to keyword with a prefix list: switch(config-ldp)# explicit-null to prefix-list switch(config-ldp)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 87
E Commands explicit-null Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
F Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with F. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
LSPs that are demoted to minimizing the amount of bandwidth that is wasted: switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# fast backup-prot-preempt optimize-bw switch(config-te)# Related Commands Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering configuration protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to configure how often to scan for LSP backup promotion: switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# fast-reroute timer promotion 10 switch(config-te)# Related Commands Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering configuration protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Please disable the ICMP redirects on all interfaces running BFD sessions using the command below 'no ip redirects ' switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to enable BGP: switch# configure terminal switch(config)# feature bgp switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
F Commands feature evc feature evc To enable Ethernet virtual circuits (EVCs) on a Cisco NX-OS device, use the feature evc command. To disable EVC, use the no form of this command. feature evc no feature evc Syntax Description This command has no arguments or keywords.
This example shows how to enable the IS-IS feature: switch(config-ldp)# configure terminal switch(config)# feature isis switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
LAN_ENTERPRISE_SERVICES_PKG license not installed. ldp feature will be shut down after grace period of approximately 115 day(s). switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to enable MVPN feature on the device: switch(config)# feature mvpn switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to enable information about the OSPF configuration: switch(config)# feature ospf switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to enable the MPLS feature set information: switch(config)# feature-set mpls switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to advertise the TE tunnel as a link in an IGP network: switch# configure terminal switch(config)# interface tunnel-te 1 switch(config-if-te)# forwarding-adjacency holdtime 1 switch(config-if-te)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
2 to 1 switch(config-tmap)# from 3 to 2 switch(config-tmap)# from 4 to 2 switch(config-tmap)# exit Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 106
F Commands from Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
G Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with G. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This command requires the MPLS Services license. Examples This example shows how to configure the graceful restart timer: switch(config-ldp)# configure terminal switch(config)# mpls ldp configuration switch(config-ldp)# graceful-restart timers forwarding-holding 30 switch(config-ldp)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 109
G Commands graceful-restart Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 110
G Commands graceful-restart Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
H Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with H. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how long an LDP session is maintained in the absence of LDP messages from the session peer: switch(config)# mpls ldp configuration switch(config-ldp)# holdtime 30 switch(config-ldp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
I Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with I. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
1:101 switch(config-vrf-af-ipv4)# maximum routes 3000 switch(config-vrf-af-ipv4)# import vrf default map redist-bgp This example shows how to remove the virtual router context: switch(config-vrf-af-ipv4)# no import vrf default map redist-bgp Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 115
I Commands import Related Commands Command Description maximum routes Configure the maximum number of routes to be allowed in the routing table. route-target Create a route-target extended community for a VRF instance. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Enters interface pseudowire configuration mode and configures a static pseudowire logical interface. port-profile type Enters interface port-profile configuration mode and configures a pseudowire pseudowire port profile. state enabled Enables the interface port profile. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to specify the type of pseudowire and the type of traffic that can flow across the network: switch# configure terminal switch(config)# interface ethernet 4/0/0.1 switch(config-if)# encapsulation dot1q 100 switch(config-if)# l2vpn xconnect context Test1 switch(config-xconnect)# internetworking ethernet switch(config-xconnect)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 119
Enters Xconnect configuration mode and establishes a Layer 2 VPN (L2VPN) context for identifying the two members in a VPWS, multi segment pseudowire, or local connect service. member pseudowire Adds an active pseudowire to the XConnect context. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to configure the Ethernet interface on which you are enabling MPLS LDP: switch(config)# interface ethernet 2/2 switch(config-if)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
AToM switch(config-if-prof)# encapsulation mpls switch(config-pseudowire-mpls)# interface pseudowire 100 switch(config-if-prof)# This example shows how to delete the pseudowire interface and the associated configuration: switch(config-if-prof)# no interface pseudowire 100 switch(config-if-prof)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 122
Enters interface port-profile configuration mode and configures a pseudowire pseudowire port profile. port-profile type Enters interface port-profile configuration mode and configures a pseudowire pseudowire port profile. state enabled Enables the interface port profile. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This command requires the MPLS Services license. Examples This example shows how to configure a TE interface: switch# configure terminal switch(config)# interface tunnel-te 65 switch(config-if-te)# Related Commands Command Description None There are no related commands. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to install feature set MPLS: switch# configure terminal switch(config)# install feature-set mpls feature set is installed already(0x40aa0011) switch(config)# Related Commands Command Description feature-set mpls Enables the feature set Multiprotocol Label Switching (MPLS). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Maximum prefix length to be matched. permit Specifies the permit access for a matching condition. Defaults None Command Modes Global configuration mode Supported User Roles network-admin vdc-admin Command History Release Modification 5.2(1) This command was introduced. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 126
10.0.0.2/32 ge 10 switch(config)# switch# configure terminal switch(config)# ip prefix-list p1 permit 10.0.0.0/32 switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to configure RSVP information: switch# configure terminal switch(config)# ip rsvp switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to configure RSVP to use a challenge handshake on an interface: switch# configure terminal switch(config)# interface ethernet 2/1 switch(config-if)# ip rsvp authentication challenge switch(config-if)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to configure an interface as an unnumbered loopback: switch# configure terminal switch(config)# interface tunnel-te 1 switch(config-if-te)# ip unnumbered loopback 0 switch(config-if-te)# Related Commands Command Description tunnel-te interface Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
This example shows how to configure the IS-IS metric for a tunnel interface to be used as a forwarding adjacency: switch# configure terminal switch(config)# interface tunnel-te 1 switch(config-if-te)# forwarding-adjacency switch(config-if-te)# isis metric 2 level-1 switch(config-if-te)# Related Commands Command Description interface tunnel-te Configure the traffic engineering interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01...
Page 140
I Commands Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1100 OL-24994-01...
Page 141
K Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with K. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1101...
Page 142
This example shows how to configure an authentication key on a keychain: switch# configure terminal switch(config)# key chain keychain1 switch(config-keychain)# key 10 switch(config-keychain-key)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1102 OL-24994-01...
Page 143
This example shows how to configure a group of authentication keys: switch# configure terminal switch(config)# key chain keychain1 switch(config-keychain)# key 10 switch(config-keychain-key)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1103...
Page 144
10 switch(config-keychain-key)# key-string pwd1 Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1104 OL-24994-01...
Page 145
L Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with L. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1105...
Page 146
This example shows how to delete the VFI and the associated configuration: switch(config-l2vpn-vfi)# no l2vpn vfi context vpls80 Related Commands Command Description member pseudowire Binds a static pseudowire to this VFI. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1106 OL-24994-01...
Page 147
VPWS, multi segment pseudowire, or local connect service: switch# configure terminal switch(config)# l2vpn xconnect context XCON1 switch(config-xconnect)# This example shows how to delete the Xconnect configuration: switch(config-xconnect)# l2vpn xconnect context XCON1 switch(config-xconnect)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1107...
Page 148
Related Commands Command Description member pseudowire Adds an active pseudowire to the XConnect context. remote link failure Enables AToM MPLS remote link failure notification and shutdown. notification Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1108 OL-24994-01...
Page 149
Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1109...
Page 150
This command requires the MPLS Services license. Examples This example shows how to configure the link management bandwidth hold timer: switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# link management timers bandwidth-hold 200 switch(config-te)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1110 OL-24994-01...
Page 151
L Commands link-management timers Related Commands Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering configuration Protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1111...
Page 152
1 switch(config-lsp-attr)# list Related Commands Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering configuration Protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1112 OL-24994-01...
Page 153
Related Commands Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering configuration Protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1113...
Page 154
This example shows how to configure the interval over which the input and output rates for the interface are averaged: switch# configure terminal switch(config)# interface tunnel-te 1 switch(config-if-te)# load-interval 180 switch(config-if-te)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1114 OL-24994-01...
Page 156
This command was introduced. Examples The following example shows how to configure generation of system messages for all nontunnel events:. switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# logging events all switch(config-te)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1116 OL-24994-01...
Page 157
Examples The following example shows how to configure generation of system messages when an FRR event occurs: switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# logging events frr-protection all switch(config-te)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1117...
Page 158
LSP will generate two separate system logs. Examples The following example shows how to configure FRR backup assignment. switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# logging events frr-protection backup switch(config-te)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1118 OL-24994-01...
Page 159
No system message is logged if this feature is not configured. Examples The following example shows how to configure FRR-active logging. switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# logging events frr-protection primary active switch(config-te)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1119...
Page 160
The following example shows how to configure generation of system messages when a FRR event occurs: switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# logging events frr-protection primary ready switch(config-te)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1120 OL-24994-01...
Page 161
Related Commands Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering configuration Protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1121...
Page 162
This example shows how to log Label Distribution Protocol (LDP) neighbor state changes: switch# configure terminal switch(config)# mpls ldp configuration switch(config-ldp)# logging neighbor-changes switch(config-ldp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1122 OL-24994-01...
Page 163
20 switch(config-ldp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1123...
Page 164
10 switch(config-ldp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1124 OL-24994-01...
Page 165
Related Commands Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering configuration Protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1125...
Page 166
This feature can be configured either for an individual TE tunnel or all the TE tunnels. Examples This example shows how to configure tunnel state logging for an individual TE tunnel. switch# configure terminal number switch(config)# interface tunnel-te switch(config-te-if)# logging tunnel state switch(config-te-if)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1126 OL-24994-01...
Page 167
The following example shows how to configure system logs for an individual TE tunnel when it successfully reoptimizes: switch# configure terminal number switch(config)# interface tunnel-te switch(config-te-if)# logging tunnel reoptimize switch(config-te-if)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1127...
Page 168
This example shows how to configure system logs for all TE tunnels when their reroute pending state changes. switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# logging tunnel reroute switch(config-te)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1128 OL-24994-01...
Page 169
This feature can be configured either for an individual TE tunnel or all the TE tunnels. Examples This example shows how to configure system logs for all TE tunnels when any event occurs. switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# logging tunnel all switch(config-te)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1129...
Page 170
This example shows how to configure an LSP attribute list: switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# lsp attribute 1 switch(config-lsp-attr)# Related Commands Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering configuration Protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1130 OL-24994-01...
Page 171
M Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with M. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1123...
Page 172
1 switch(config-cmap-qos)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1124 OL-24994-01...
Page 173
10000 switch(config-vrf-af-ipv4)# This example shows how to reinstall the previously rejected route that exceeded the maximum route limit: switch# configure t switch(config)# vrf context vpn1 Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1125...
Page 174
M Commands maximum routes switch(config-vrf)# address-family ipv4 unicast switch(config-vrf-af-ipv4)# maximum routes 10000 2 reinstall 2 switch(config-vrf-af-ipv4)# Related Commands Command Description address-family Configures the address family. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1126 OL-24994-01...
Page 175
100 switch(config-router)# address-family vpnv4 unicast switch(config-router-af)# maximum-paths eibgp 3 Related Commands Command Description show bgp vpnv4 Display the VPNv4 routes from the BGP table.. unicast Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1127...
Page 176
Enter configuration commands, one per line. End with CNTL/Z. switch(config)# vrf context vrf1 switch(config-vrf)# mdt asm-use-shared-tree switch(config-vrf)# Related Commands Command Description show mvpn mdt route Displays the detail of the default and the MDT route. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1128 OL-24994-01...
Page 177
232.7.7.0/24 threshold 10 route-map rmap2mdt data 239.192.20.32 0.0.0.15 threshold 1 switch(config-vrf)# Related Commands Command Description show mvpn mdt route Displays the detail of the default and the MDT route. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1129...
Page 178
End with CNTL/Z. switch(config)# vrf context vrf1 switch(config-vrf)# mdt data bidir-enable switch(config-vrf)# Related Commands Command Description show mvpn mdt route Displays the details of the default and the MDT route. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1130 OL-24994-01...
Page 179
End with CNTL/Z. switch(config)# vrf context vrf1 switch(config-vrf)# mdt default 232.0.0.1 switch(config-vrf)# Related Commands Command Description show mvpn mdt route Displays the detail of the default and the MDT route. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1131...
Page 180
End with CNTL/Z. switch(config)# vrf context vrf1 switch(config-vrf)# no mdt enforce-bgp-mdt-safi switch(config-vrf)# Related Commands Command Description show mvpn bgp Displays detailed information of the BGP advertisement for MVPN MDT mdt-safi SAFI. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1132 OL-24994-01...
Page 181
End with CNTL/Z. switch(config)# vrf context vrf1 switch(config-vrf)# mdt mtu 600 switch(config-vrf)# Related Commands Command Description show mvpn mdt route Displays the detail of the default and the MDT route. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1133...
Page 182
End with CNTL/Z. switch(config)# vrf context vrf1 switch(config-vrf)# mdt pim hello-interval 30000 switch(config-vrf)# Related Commands Command Description show mvpn mdt route Displays the detail of the default and the MDT route. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1134 OL-24994-01...
Page 183
End with CNTL/Z. switch(config)# vrf context vrf1 switch(config-vrf)# mdt pim jp-interval 60000 switch(config-vrf)# Related Commands Command Description show mvpn mdt route Displays the detail of the default and the MDT route. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1135...
Page 184
End with CNTL/Z. switch(config)# vrf context vrf1 switch(config-vrf)# mdt source interface switch(config-vrf)# Related Commands Command Description show mvpn mdt route Displays the detail of the default and the MDT route. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1136 OL-24994-01...
Page 185
The default is 0 and is higher than 1. Defaults None Command Modes config-xconnect configuration mode Supported User Roles network-admin vdc-admin Command History Release Modification 6.2.2 This command was introduced. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1137...
Page 186
Enters Xconnect configuration mode and establishes a Layer 2 VPN (L2VPN) context for identifying the two members in a VPWS, multi-segment pseudowire, or local connect service. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1138 OL-24994-01...
Page 187
Establishes a Layer 2 VPN (L2VPN) Virtual Forwarding Interface (VFI) between two or more separate networks. Configures a Virtual Private Network (VPN) ID on a VFI context. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1139...
Page 188
2/1 service-instance 1 group access-side switch(config-xconnect)# member pseudowire 2 group access-side priority 1 This example shows how to remove the active pseudowire configuration: switch(config-xconnect)# no member pseudowire 2 group access-side priority 1 Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1140 OL-24994-01...
Page 189
Enters Xconnect configuration mode and establishes a Layer 2 VPN (L2VPN) XConnect context for identifying the two members in a VPWS, multi segment pseudowire, or local connect service. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1141...
Page 190
Establishes a Layer 2 VPN (L2VPN) Virtual Forwarding Interface (VFI) between two or more separate networks. Configures a Virtual Private Network (VPN) ID on a VFI context. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1142 OL-24994-01...
Page 191
Enter configuration commands, one per line. End with CNTL/Z. switch(config)# interface ethernet 2/2 switch(config-if)# mpls ip switch(config-if)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1143...
Page 192
Enter configuration commands, one per line. End with CNTL/Z. switch(config)# interface tunnel-te switch(config-te)# mpls ip switch(config-te)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1144 OL-24994-01...
Page 193
This example shows how to allow MPLS forwarding for the IP default route: switch# config t switch(config)# mpls ldp configuration switch(config-ldp)# mpls ip default-route switch(config-ldp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1145...
Page 194
200 100000 static 16 199 switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1146 OL-24994-01...
Page 195
This example shows how to enable MPLS LDP autoconfiguration for all level-1, all level-2, or all level-1 and level-2 IS-IS interfaces: switch# configure terminal switch(config)# router isis p1 switch(config-router)# mpls ldp autoconfig level-1 switch(config-router)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1147...
Page 196
M Commands mpls ldp autoconfig Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1148 OL-24994-01...
Page 197
This example shows how to enable MPLS LDP autoconfiguration for all OSPF interfaces: switch# configure terminal switch(config)# switch(config-router)# mpls ldp autoconfig area 10 switch(config-router)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1149...
Page 198
Related Commands Command Description mpls ldp sync Enables Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) Interior Gateway Protocol (IGP) synchronization for all IS-IS interfaces. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1150 OL-24994-01...
Page 199
6/1 switch(config-if)# mpls ldp discovery transport-address 209.165.200.225 switch(config-if)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1151...
Page 200
(config)# mpls ldp configuration switch(config-ldp)# mpls ldp graceful-restart switch(config-ldp)# Related Commandss Command Description show mpls ldp Displays the graceful-restart parameters for a router’s sessions with its LDP graceful-restart neighbors. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1152 OL-24994-01...
Page 201
7/1 switch(config-if)# mpls ldp igp autoconfig switch(config-if)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1153...
Page 202
30 Related Commands Command Description mpls ldp sync Enables Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) Interior Gateway Protocol (IGP) synchronization for all IS-IS interfaces. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1154 OL-24994-01...
Page 203
This example shows how to enable MPLS LDP and IGP syncronization for all OSPF interfaces: switch# configure terminal switch(config)# switch(config-router)# mpls ldp sync Related Commands Command Description mpls ldp igp sync Allows Label Distribution Protocol (LDP) Interior Gateway Protocol (IGP) Synchronization on this interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1155...
Page 204
This example shows how to configure MPLS OAM: switch# configure terminal switch(config)# mpls oam switch(conf-mpls-oam)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1156 OL-24994-01...
Page 205
This example shows how to configure the static binding of labels to IPv4 prefixes: switch# configure terminal switch(config)# mpls ldp configuration switch(config)# mpls static binding ipv4 10.2.2.0 255.255.255.255 input 17 switch(config)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1157...
Page 206
M Commands mpls static binding ipv4 Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1158 OL-24994-01...
Page 207
10.2.0.0 255.255.0.0 input 17 switch(config-ldp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1159...
Page 208
This example shows how to override the IGP administrative weight (cost) of the link: switch# configure terminal switch(config)# interface ethernet 2/1 switch(config-if)# mpls traffic-eng administrative weight 20 switch(config-if)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1160 OL-24994-01...
Page 209
This example shows how to turn on MPLS TE for the indicated OSPF area: switch(config)# router ospf 100 switch(config-router)# mpls traffic-eng area 1 switch(config-router)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1161...
Page 210
This example shows how to set the user-defined interface attribute flags: switch# configure terminal switch(config)# interface ethernet 6/1 switch(config-if)# mpls traffic-eng attribute-flags 0x3f switch(config)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1162 OL-24994-01...
Page 211
This example shows how to configure an MPLS backup for this interface: switch# configure terminal switch(config)# interface ethernet 6/1 switch(config-if)# mpls traffic-eng bandwidth-path tunnel-te 1000 switch(config-if)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1163...
Page 212
This example shows how to allocate the MPLS TE bandwidth pool for the interface: switch# configure terminal switch(config)# interface ethernet 2/1 switch(config-if)# mpls traffic-eng bandwidth 1000 switch(config-if)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1164 OL-24994-01...
Page 213
This command requires the MPLS Services license. Examples This example shows how to configure MPLS TE: switch(config)# mpls traffic-eng configuration switch(config-te)# Related Commands Command Description None There are no related commands. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1165...
Page 214
This example shows how to specify the thresholds for decreased resource availability: switch(config)# interface ethernet 6/1 switch(config-if)# mpls traffic-eng flooding thresholds down 90 switch(config-if)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1166 OL-24994-01...
Page 215
This example shows how to configure MPLS TE for IS-IS: switch(config)# router isis p1 switch(config-router)# mpls traffic-eng level-1 switch(config-router)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1167...
Page 216
This example shows how to configured the TE router-ID to be the IP address of the loopback 0 interface: switch(config)# router isis switch(config-router)# mpls traffic-eng router-id loopback0 switch(config-router)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1168 OL-24994-01...
Page 217
This example shows how to enable MPLS traffic engineering tunnels: switch(config)# interface ethernet 2/1 switch(config-if)# mpls traffic-eng tunnels switch(config-if)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1169...
Page 218
M Commands Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1170 OL-24994-01...
Page 219
N Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with N. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1171...
Page 220
10.12.12.12 labels accept p1 switch(config-ldp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1172 OL-24994-01...
Page 221
P Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with P. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1173...
Page 222
1 for peer-prefix key-chain keychain1 switch(config-ldp)# Related Commandss Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1174 OL-24994-01...
Page 223
Related Commandss Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1175...
Page 224
(Optional) LSP attribute list name. The listname is any case-sensitive, alphanumeric string up to 63 characters. Defaults None Command Modes TE interface configuration mode Supported User Roles network-admin vdc-admin Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1176 OL-24994-01...
Page 225
1 switch(config-if-te)# path-option 10 explicit name Link5 switch(config-if-te)# path-option dynamic 20 switch(config-if-te)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1177...
Page 226
This example shows how to configure the metric type to use if a metric type is not explicitly configured for an MPLS TE tunnel: switch# configure terminal switch(config)# mpls traffic-eng configuration Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1178 OL-24994-01...
Page 227
P Commands path-selection metric (TE configuration mode) switch(config-te)# path-selection metric te switch(config-te)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1179...
Page 228
This example shows how to configure the metric type to use if a metric type is not explicitly configured for an MPLS TE tunnel: switch# configure terminal switch(config)# interface tunnel-te 1 Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1180 OL-24994-01...
Page 229
P Commands path-selection metric (TE interface configuration mode) switch(config-if-te)# path-selection metric te switch(config-if-te)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1181...
Page 230
Related Commandss Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering configuration Protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1182 OL-24994-01...
Page 231
This example shows how to specify an LDP IPv4 prefix FEC for validation: switch# ping mpls ipv4 10.131.191.252/32 repeat 5 exp 5 verbose Sending 5, 100-byte MPLS Echos to 10.131.191.252/32, timeout is 2 seconds, send interval is 0 msec: Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1183...
Page 232
100 Success rate is 0 percent (0/5) Total Time Elapsed 6 ms switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1184 OL-24994-01...
Page 233
This example shows how to target a VC specified as an IPv4 address and VC ID: switch# ping mpls pseudowire 33.0.1.63 100 Related Commandss Command Description mpls oam Targets a VC specified as an IPv4 address and VC ID Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1185...
Page 234
(Optional) Specifies the conform action. conform-action (Optional) Conform action value. exceed-action (Optional) Specifies the exceed action. violate-action (Optional) Specifies the violate action. violate-action (Optional) Violate action value. Defaults None Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1186 OL-24994-01...
Page 235
Class2 switch(config-pmap-c-qos)# police cir 256000 conform set-mpls-exp-topmost-transmit violate drop switch(config-pmap-c-qos)# end switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1187...
Page 236
This example shows how to configure a policy map: switch# configure terminal switch(config)# policy-map policy1 switch(config-pmap-qos)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1188 OL-24994-01...
Page 237
Description encapsulation mpls Specifies MPLS encapsulation for this profile. interface pseudowire Enters interface pseudowire configuration mode and configures a static pseudowire logical interface. state enabled Enables the interface port profile. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1189...
Page 238
This command requires the MPLS Services license. Examples This example shows how to configure the LSP priority: switch# configure terminal switch(config)# mpls traffic-eng configuration switch(config-te)# lsp attributes 1 switch(config-lsp-attr)# priority 1 1 Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1190 OL-24994-01...
Page 239
P Commands priority (LSP attribute configuration mode) Related Commands Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering configuration Protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1191...
Page 240
(numerically smaller) than the hold priority. This command requires the MPLS Services license. Examples This example shows how to configure the LSP priority: switch# configure terminal switch(config)# interface tunnel-te 1 switch(config-if-te)# prority 1 1 switch(config-if-te)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1192 OL-24994-01...
Page 241
P Commands priority (TE interface configuration mode) Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1193...
Page 243
R Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with R. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1195...
Page 244
This example shows how to create routing and forwarding tables: switch# configure terminal switch(config)# vrf context vpn1 switch(config-vrf)# rd 1.2:1 Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1196 OL-24994-01...
Page 246
This example shows how to record the route by LSP: switch# configure terminal switch(config)# interface tunnel-te 1 switch(config-if-te)# record-route switch(config-if-te)# Related Commands Command Description interface tunnel-te Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1198 OL-24994-01...
Page 247
Usage Guidelines This command requires the MPLS Services license. Examples This example shows how to redistribute routes from one routing domain into another routing domain: switch# configure t switch(config)# feature rip Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1199...
Page 248
1.0 route-map bagpipe switch(config-router-vrf-af)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1200 OL-24994-01...
Page 249
Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1201...
Page 250
StaticMap switch(config-vrf-af)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1202 OL-24994-01...
Page 251
Establishes a Layer 2 VPN (L2VPN) Virtual Forwarding Interface (VFI) between two or more separate networks. Configures a Virtual Private Network (VPN) ID on a VFI context. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1203...
Page 252
Description l2vpn xconnect context Enters Xconnect configuration mode and establishes a Layer 2 VPN (L2VPN) context for identifying the two members in a VPWS, multi-segment pseudowire, or local connect service. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1204 OL-24994-01...
Page 253
This example shows how to reoptimize tunnels on link-up events: switch# configure t switch(config)# mpls traffic-eng configuration switch(config-te)# reoptimize events link-up switch(config-te)# Related Commands Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering configuration Protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1205...
Page 254
Examples This example shows how to delay the replacement of the current LSP by the reoptimized LSP: switch# configure t switch(config)# mpls traffic-eng configuration switch(config-te)# reoptimize timers delay installation 3000 Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1206 OL-24994-01...
Page 255
R Commands reoptimize timers switch(config-te)# Related Commands Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPL S) Traffic Engineering configuration Protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1207...
Page 256
This example shows how to rate limit the number of messages that are sent to a neighboring router: switch# restart rsvp switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1208 OL-24994-01...
Page 257
2/1 switch(config-if)# no ip address 10.1.1.1 255.255.255.0 switch(config-if)# service instance 1 ethernet switch(config-if-srv)# description EFP1forTest switch(config-if-srv)# encapsulation dot1q 10 switch(config-if-srv)# rewrite ingress tag push dot1q 30 symmetric switch(config-if-srv)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1209...
Page 258
To rewrite one VLAN tag in the incoming dot1q frame and symmetrically translate 1-to-1 dot1q apply the operation to the ingress and egress frames. symmetric service instance Enters interface services configuration mode and configures an EFP on the interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1210 OL-24994-01...
Page 259
1 ethernet switch(config-if-srv)# description EFP1forTest switch(config-if-srv)# encapsulation dot1q 10 switch(config-if-srv)# rewrite ingress tag push dot1q 30 symmetric switch(config-if-srv)# rewrite ingress tag translate 1-to-1 dot1q 20 symmetric Related Commands Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1211...
Page 260
Adds one VLAN tag to the incoming dot1q frame and symmetrically push dot1q symmetric applies the operation to the ingress and egress frames. service instance Enters interface services configuration mode and configures an EFP on the interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1212 OL-24994-01...
Page 261
This command does not require the MPLS Services license. Examples This example shows how to create a route-target extended community for a VRF: switch# configure t switch(config)# vrf context vpn1 switch(config-vrf)# address-family ipv4 unicast switch(config-vrf-af)# route-target import 1:101 Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1213...
Page 262
R Commands route-target Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1214 OL-24994-01...
Page 263
Examples This example shows how to configure a BGP process for an interface: switch(config)# router bgp 1.1 switch(config-router)# Related Commands Command Description tunnel-te interface Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1215...
Page 264
This example shows how to configure an IS-IS routing process: switch# configure terminal switch(config)# router isis p1 switch(config-router)# Related Commands Command Description tunnel-te interface Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1216 OL-24994-01...
Page 265
This example shows how to enable an OSPF routing process: switch# configure terminal switch(config)# router ospf p1 switch(config-router)# Related Commands Command Description tunnel-te interface Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1217...
Page 266
This example shows how to enable RIP: switch# configure terminal switch(config)# switch(config)# feature rip switch(config)# router rip Test1 switch(config-router)# Related Commands Command Description tunnel-te interface Configures the traffic engineering (TE) interface. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1218 OL-24994-01...
Page 267
This example shows how to assign Ethernet 2/2 interface as the LDP router ID: switch# configure terminal switch(config)# mpls ldp switch(config-ldp)# router-id loopback 0 force Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1219...
Page 268
R Commands router-id Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1220 OL-24994-01...
Page 269
S Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with S. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1201...
Page 270
Examples The following example enables sanity checks for Layer 2 VPN: switch# configure terminal switch (config)# l2vpn switch (config-l2vpn)# sanity The following example disables this feature: switch (config-l2vpn)# no sanity Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1202 OL-24994-01...
Page 271
Enters address family configuration mode for configuring IP VPN sessions. neighbor Configures a neighbor and enters address family neighbor configuration mode. The IP address is an IPv4 or IPv6 address. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1203...
Page 272
This example shows how to configure the send lifetime of a key: switch# configure terminal switch(config)# key chain keychain1 switch(config-keychain)# key 10 switch(config-keychain-key)# send-lifetime 10:00:00 Jan 13 2010 10:00:00 Jun 13 2010 Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1204 OL-24994-01...
Page 273
S Commands send-lifetime switch(config-keychain-key)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1205...
Page 274
100 switch(config-ldp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1206 OL-24994-01...
Page 275
Policy1 switch(config-pmap-qos)# class Class2 switch(config-pmap-c-qos)# set cos mpls-exp-topmost table dscp-cos-mapset switch(config-pmap-c-qos)# end Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1207...
Page 276
Policy1 switch(config-pmap-qos)# class Class2 switch(config-pmap-c-qos)# set mpls experimental imposition 3 switch(config-pmap-c-qos)# end Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1208 OL-24994-01...
Page 277
Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1209...
Page 279
This example shows how to advertise the explicit null label in signalling messages: switch(config)# mpls traffic-eng configuration switch(config-te)# signalling advertise explicit-null switch(config-te)# Related Commands Command Description mpls traffic-eng Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering configuration Protocol (MPLS-TE). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1211...
Page 280
This example shows how to configure the client batch timer: switch(config)# ip rsvp switch(config-ip-rsvp)# signalling refresh reduction switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1212 OL-24994-01...
Page 281
This example shows how to enable node-based hellos for a graceful restart at the global level: switch(config)# ip rsvp switch(config-ip-rsvp)# signalling hello graceful-restart switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1213...
Page 282
2200 switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1214 OL-24994-01...
Page 283
5 switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1215...
Page 284
This example shows how to configure the recovery time that is advertised in the hello messages: switch(config)# ip rsvp switch(config-ip-rsvp)# signalling hello graceful-restart send recovery-time 130 switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1216 OL-24994-01...
Page 285
This example shows how to configure the restart time that is advertised in the hello messages: switch(config)# ip rsvp switch(config-ip-rsvp)# signalling hello graceful-restart send restart-time 130 switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1217...
Page 286
This example shows how to configure the reroute hello messages: switch(config)# ip rsvp switch(config-ip-rsvp)# signalling hello reroute switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1218 OL-24994-01...
Page 287
4 switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1219...
Page 288
This example shows how to delete a path state automatically when forwarding a PATH-ERROR message: switch(config)# ip rsvp switch(config-ip-rsvp)# signalling patherr state-removal switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1220 OL-24994-01...
Page 290
This example shows how to rate limit the number of messages that are being sent to a neighboring router: switch(config)# ip rsvp switch(config-ip-rsvp)# signalling rate-limit interval 300 switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1222 OL-24994-01...
Page 291
This example shows how to configure how often the RSVP state is refreshed: switch(config)# ip rsvp switch(config-ip-rsvp)# signalling refresh interval 35 switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1223...
Page 292
5 switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1224 OL-24994-01...
Page 293
This example shows how to enable RSVP refresh reduction: switch(config)# ip rsvp switch(config-ip-rsvp)# signalling refresh reduction switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1225...
Page 294
Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1226 OL-24994-01...
Page 295
This example shows how to configure the bundle maximum send message size: switch(config)# ip rsvp switch(config-ip-rsvp)# signalling refresh reduction bundle-max-size 30 switch(config-ip-rsvp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1227...
Page 297
Configure this parameter in the VPN address family configuration mode at the PE spokes and at the neighbor mode at the PE hub. neighbor Adds an entry to the BGP or multiprotocol BGP neighbor table for this VRF. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1229...
Page 298
Specifies MPLS encapsulation for this profile. interface pseudowire Enters interface pseudowire configuration mode and configures a static pseudowire logical interface. port-profile type Enters interface port-profile configuration mode and configures a port pseudowire profile. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1230 OL-24994-01...
Page 299
This example shows how to identify the IDs that are available for bridge-domain configurations: switch# configure terminal switch(config)# system bridge-domain 10-50,100-500 switch(config)# Related Commands Command Description bridge-domain Enters bridge-domain configuration mode and configures a bridge domain. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1231...
Page 300
100 switch(config-vlan)# member vfi foo switch(config-vlan)# exit switch(config)# interface ethernet 2/1 switch(config-if)# switchport mode trunk switch(config-if)# switchport allowed vlan 100 switch(config-if)# Related Commands Command Description member vfi Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1232 OL-24994-01...
Page 301
Enters address family configuration mode for configuring routing sessions unicast that use standard IPv4 address prefixes. send-community Specifies that a community’s attribute should be sent to a BGP neighbor. extended Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1233...
Page 302
S Commands update-source loopback Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1234 OL-24994-01...
Page 303
Show Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with Show. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1225...
Page 304
This example shows how to display information about BGP neighbors: switch(config-router-vrf-neighbor-af)# show bgp ipv4 unicast neighbors vrf vpn1 switch(config-router-vrf-neighbor-af)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1226 OL-24994-01...
Page 305
This example shows how to display information about bridge domains that are configured on the device: switch# show bridge-domain Related Commandss Command Description bridge-domain Enters bridge-domain configuration mode and configures a bridge domain. system bridge-domain Identifies the IDs that are available for bridge-domain configurations. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1227...
Page 306
This example shows how to display information about service instances that are configured on the device: switch# show ethernet service instance detail switch# Related Commandss Command Description show ethernet service Displays information about service instances that are configured on an instance interface interface. ethernet Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1228 OL-24994-01...
Page 307
5/1 detail switch# Related Commandss Command Description show ethernet service Displays information about service instances that are configured on the instance device. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1229...
Page 308
Displays information about service instances that are configured on the instance device. show ethernet service Displays information about service instances that are configured on an instance interface interface. ethernet Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1230 OL-24994-01...
Page 309
======= slot ======= next-hop rewrite info tx packets tx bytes Label info ----------------------------------------------------------------------- slot ======= next-hop rewrite info tx packets tx bytes Label info ----------------------------------------------------------------------- Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1231...
Page 310
Show Commands show forwarding slot ======= next-hop rewrite info tx packets tx bytes Label info ----------------------------------------------------------------------- switch# Related Commandss Command Description show mpls switching Displays the contents of the MPLS LFIB. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1232 OL-24994-01...
Page 311
LSA throttling hold interval of 5000.000 msecs, LSA throttling maximum wait time of 5000.000 msecs Minimum LSA arrival 1000.000 msec LSA group pacing timer 10 secs Maximum paths to destination 8 Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1233...
Page 312
Number of active areas is 0, 0 normal, 0 stub, 0 nssa switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1234 OL-24994-01...
Page 313
7/1 switch(config-if)# show ip ospf mpls ldp interface ethernet 7/1 switch(config-if)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1235...
Page 314
Data MDT Switchover Interval: 3 seconds Data MDT Holddown Interval: 60 seconds Data MDT Timeout Interval: 180 seconds MDT Source address: 22.22.0.1 (iod loopback1) BGP RD: 400:4 (set) Data MDT: 232.8.8.0/24 threshold: 10 switch# Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1236 OL-24994-01...
Page 315
Show Commands show ip pim mdt Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1237...
Page 316
C-Source C-Group MDT Source MDT Group Uptime 10.0.0.1 232.1.1.1 11.0.0.l 225.1.1.1 2d17h switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1238 OL-24994-01...
Page 317
C-Source C-Group MDT Source MDT Group Uptime 10.0.0.1 232.1.1.1 11.0.0.l 225.1.1.1 2d17h switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1239...
Page 318
This example shows how to display the contents of all current IP prefix lists: switch(config)# mpls ldp configuration switch(config-ldp)# show ip prefix-list p1 switch(config-ldp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1240 OL-24994-01...
Page 319
Process is up and running Interfaces supported by ipv4 RIP : Redistributing : bgp-65536 policy bagpipe switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1241...
Page 323
This example shows how to display all the RSVP counters: switch# show ip rsvp counters all Teardown Reason Path Resv UNSPECIFIED PATH TIMEOUT RESV TIMEOUT SIGNALED MGMT POLICY PROXY NO_RESOURCES PREEMPTED MSG_ERROR INTERNAL TRAFFIC_CONTROL POLICY_SYNC GR_TIMEOUT LINK_NBOR_DOWN LOCAL-SEND_PERR_PSR Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1245...
Page 324
NETWORK_PERR_PSR HST_TIMEOUT PLR BACKUP DELETE CLI-CLEAR RESTART-COMMAND INTERFACE-DELETE Sent: --More-- Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1246 OL-24994-01...
Page 325
Primary Tunnel: Dest 10.10.10.10, ID 20, Source 10.10.10.15 Backup Tunnel: tunnel-te200 [ifid 0x221000c8] Merge-Point: 10.10.10.10 Merge-Point in ERO: 2.4.1.1 Hop-Protection: NNhop FRR-State: Active Protected Interface: tunnel-te200 Bandwidth-Protect: Enabled FRR-Bandwidth/Protect-Level: 100/2 Desired-Bit: 0x0 BSelect Priority: 7 Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1247...
Page 326
Backup Source/Tail Address: 10.10.10.15/10.10.10.10 Backup Physical Interface: Ethernet2/6 [Addr 5.5.1.5, mtu 1500] Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1248 OL-24994-01...
Page 331
Authentication : Disabled Hello State Timeout : Disabled Interval 2000, Acks Miss Limit 4 Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1253...
Page 332
This example shows how to display the RSVP internal information: switch# show ip rsvp internal counters Signaling RX Error Path Resv Confirm Admit-Error-Delay-Bound Admit-Error-BW-Unavail Admit-Error-MTU Admit-Error-Unknown Admin-Error-Info Admin-Error-Warn Admin-Error-Unknown Admin-Error-Reject Admin-Error-Exceed Admin-Error-Preempt Admin-Error-Expired Admin-Error-Replaced Admin-Error-Merge Admin-Error-Pop Admin-Error-Server Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1254 OL-24994-01...
Page 333
Admin-Error-PD-Syntax Admin-Error-PD-Intgr Admin-Error-PE-Bad Admin-Error-PD-Miss Admin-Error-No-Rsc Admin-Error-RSVP Admin-Error-Service --More-- switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1255...
Page 334
RouterID State Expiry LastSend 3.0.206.6 Ethernet1/7 1.1.1.6 UP,RR 14 minutes 4 sec switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1256 OL-24994-01...
Page 335
Average Bitrate is 0 bits/sec, Maximum Burst is 1K bytes Min Policed Unit: 0 bytes, Max Pkt Size: 0 bytes RRO: 172.18.1.1/32, Flags:0x1 (Local Prot Avail/to NHOP) Label subobject: Flags 0x1, C-Type 1, Label 18 Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1257...
Page 336
Label subobject: Flags 0x1, C-Type 1, Label 0 Resv ID handle: CD000404. Policy: Accepted. Policy source(s): MPLS/TE Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1258 OL-24994-01...
Page 337
Tun Sender: 10.10.0.1 LSP ID: 31 Path refreshes: arriving: from PHOP 10.10.7.1 on Et0/0 every 30000 msecs Session Attr: Setup Prio: 7, Holding Prio: 7 Flags: (0x7) Local Prot desired, Label Recording, SE Style Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1259...
Page 338
2 Total Sender States: 0 From Pro DPort Sport Prev Hop switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1260 OL-24994-01...
Page 339
Total Sessions: 0 Type Destination DPort Proto/ExtTunID PSBs RSBs Reqs PXSBs RXSBs switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1261...
Page 340
Rate-Limiting: Disabled Limit: 100 Interval (msec): 1000 switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1262 OL-24994-01...
Page 341
Refresh Reduction: Disabled ACK delay (msec): 400 Initial retransmit delay (msec): 5000 Local epoch: 0x74b530 Message IDs: in use 0, total allocated 0, freed 0 switch# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1263...
Page 342
Show Commands show ip rsvp signalling refresh Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1264 OL-24994-01...
Page 343
'*' denotes best ucast next-hop '**' denotes best mcast next-hop '[x/y]' denotes [preference/metric] Could not resolve "statistics" Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1265...
Page 344
PWid FEC (128), VC ID: 80 Status TLV support (local/remote) : enabled/None (no remote binding) LDP route watch : enabled Label/status state machine : provisioned, LndRnd Local dataplane status received : No fault Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1266 OL-24994-01...
Page 345
0 drops, 0 seq err Tx Counters 0 output transit packets, 0 bytes 0 drops Related Commands Command Description show l2vpn atom Displays the Any Transport over MPLS (AtoM) information. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1267...
Page 346
Displays detailed information about Any Transport over MPLS (AToM) detail virtual circuits (VCs) and static pseudowires that have been enabled to route Layer 2 packets on a device. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1268 OL-24994-01...
Page 347
Interface Group Encapsulation Prio XC St --------- ----- ------------- ---- ----- VPLS name: vpls-80, State: DN vfi100001 vpls-80(VFI) switch# Related Commandss Command Description show l2vpn vfi Displays L2VPN VFI information. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1269...
Page 348
VFI name: vpls-80 Mode: primary State: VFI Primary BD Id: 0 switch# Related Commandss Command Description show l2vpn service vfi Displays L2VPN VFI service information. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1270 OL-24994-01...
Page 349
Usage Guidelines This command does not require a license. Examples This example shows how to display the status information about the specified XConnect service: switch# show l2vpn service xconnect all switch# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1271...
Page 351
Related Commandss Command Description show mpls ldp Displays graceful- restart sessions and session parameters. graceful-restart show run mpls ldp all Displays information about all of the running LDP sessions. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1273...
Page 352
MPLS is not operational Label space id 0x10000001 MPLS sub-layer tunnel-te1-mpls layer(0x26000001) switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1274 OL-24994-01...
Page 353
This command requires the MPLS Services license. Examples This example shows how to display the traffic engineering statistics interface information: switch# show mpls interfaces tunnel-te 1 statistics tunnel-te1 MPLS disabled switch# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1275...
Page 354
Show Commands show mpls interfaces Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1276 OL-24994-01...
Page 355
This command requires the MPLS Services license. Examples This example shows how to display the LDP summary information: switch# show mpls ip bindings summary Total number of prefixes: 2 Total tib route info allocated: 1 switch# Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1277...
Page 356
Show Commands show mpls ip bindings Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1278 OL-24994-01...
Page 357
Downstream Generic label region: Min/Max label: 16/471804 switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1279...
Page 358
This example shows how to display the LDP session setup backoff table: switch# mpls ldp switch# show mpls ldp backoff switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1280 OL-24994-01...
Page 359
This example shows how to display the LDP capabilities information: switch# show mpls ldp capabilities DP Capabilities - [<description> (<type>)] -------------------------------------------------------- switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1281...
Page 360
This example shows how to display the LDP checkpoint information: switch# show mpls ldp checkpoint switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1282 OL-24994-01...
Page 361
Enabled: Interface config Hello interval: 333 ms; Transport IP addr: 10.0.0.30 Clients: IPv4 switch(config-if)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1283...
Page 362
Forwarding State Holding Time: 600 seconds Down Neighbor Database (0 records): Graceful Restart-enabled Sessions: switch(config-ldp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1284 OL-24994-01...
Page 363
6/1 switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1285...
Page 364
This example shows how to display neighbor password information: switch# show mpls ldp neighbor password Peer LDP Ident: 10.0.0.22:0; Local LDP Ident 10.0.0.13:0 TCP connection: 10.0.0.22.20954 - 10.0.0.13.646 Password: not required, neighbor, stale Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1286 OL-24994-01...
Page 366
Discovery targeted hello: holdtime: 1 sec; interval: 1 sec Accepting targeted hellos; peer acl: a Downstream on Demand max hop count: 255 LDP for targeted sessions LDP initial/maximum backoff: 15/120 sec LDP loop detection: off switch(config-ldp)# Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1288 OL-24994-01...
Page 367
Show Commands show mpls ldp parameter Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1289...
Page 368
F - No FEC mapping (4) D - DS Map mismatch (5) I - Unknown Upstream Interface index (6) U - Reserved (7) L - Labeled output interface (8) B - Unlabeled output interface (9) Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1290 OL-24994-01...
Page 369
Echo Requests: sent (0)/received (0)/timedout (0)/unsent (0) Echo Replies: sent (0)/received (0)/unsent (0) switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1291...
Page 370
End with CNTL/Z. switch(config)# mpls ldp configuration switch(config-ldp)# show mpls static binding ipv4 switch(config-ldp)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1292 OL-24994-01...
Page 371
End with CNTL/Z. switch(config-ldp)# show mpls static binding ipv4 vrf vrf100----need to get the output Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1293...
Page 373
VRF default Pop Label 10.1.1.2/32 Eth2/19 19.20.0.2 No Label 10.1.1.2/32 Eth2/9 9.10.0.2 switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1295...
Page 374
Legend: (P)=Protected, (F)=FRR active, (*)=more labels in stack. switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1296 OL-24994-01...
Page 375
This example shows how to display the detailed aggregate-related information for a VRF instance: switch# show mpls switching aggregate detail vrf vrf1 switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1297...
Page 376
This example shows how to display the IPv4 aggregate-related information for a VRF instance: switch# show mpls switching aggregate ipv4 detail vrf vrf1 switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1298 OL-24994-01...
Page 377
This example shows how to display the IPv6 aggregate-related information for a VRF instance: switch# show mpls switching aggregate ipv6 detail vrf vrf1 switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1299...
Page 378
This example shows how to display the per-VRF aggregate-related information: switch# show mpls switching aggregate vrf vrf1 switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1300 OL-24994-01...
Page 379
UUID: 123, SAP: 285, Stale time: 600 Flags: 0x00000000 Messages received: Register: 1, Convergence: FEC Messages: 0 FEC Additions: 0, ILE Additions: FEC Deletions: 0, ILE Deletions: Last XID: 0 Messages sent: Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1301...
Page 380
Show Commands show mpls switching clients FEC Ack Messages: 0 --More-- switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1302 OL-24994-01...
Page 381
This example shows how to display the detailed information for a VRF instance: switch# show mpls switching detail vrf vrf1 switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1303...
Page 382
6/1 vrf vrf1 Legend: (P)=Protected, (F)=FRR active, (*)=more labels in stack. switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1304 OL-24994-01...
Page 383
Legend: (P)=Protected, (F)=FRR active, (*)=more labels in stack. switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1305...
Page 384
This example shows how to display the traffic engineering LSP IPV4 ingress address: switch# show mpls switching traffic-eng lsp ipv4 10.1.1.1 101 Legend: (P)=Protected, (F)=FRR active, (*)=more labels in stack. In-Label Out-Label Tunnel Next-Hop Midpoint Interface 10.1.1.1/10.1.1.4/-101 Eth2/27 27.28.0.2 switch# Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1306 OL-24994-01...
Page 385
: 0 packets, 0 bytes Output statistics per label : label 18, 0 bytes, 0 packets switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1307...
Page 386
(P)=Protected, (F)=FRR active, (*)=more labels in stack. Tunnel-Headend Out-Label Out-Interface Next-Hop tunnel-te105 Eth2/1 1.7.0.2 switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1308 OL-24994-01...
Page 388
MPLS TE autorouting enabled destination 0001.0001.0002.00, area isis-p1 level-2, has 1 tunnels tunnel-te3000 (nexthop 10.1.1.2) (flags: Announce) Related Commands Command Description show mpls traffic-eng Displays the forwarding adjacency tunnel destination information. forwarding-adjacency Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1310 OL-24994-01...
Page 389
Master: tunnel-te1 Status: up Members Status Conf Exp Actual Exp tunnel-te2 (Active) Default Default tunnel-te3 (Active) switch# Related Commands Command Description show mpls traffic-eng Displays the autorouted tunnel destination information. autoroute Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1311...
Page 390
0001.0001.0002.00, area isis-p1 level-2, has 1 tunnels tunnel-te3000 (nexthop 10.1.1.2) (flags: Announce Forward-Adjacency, holdtime 0) switch# Related Commands Command Description show mpls traffic-eng Displays the autorouted tunnel destination information. autoroute Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1312 OL-24994-01...
Page 391
System Id 0001.0001.0002.00, IP Address 0.0.0.0 TE Metric 4294967295, IGP Metric 400 Link Max: BW 1262402592, Reserved 0, Reserved Subpool 0 Affinity 0, Subnet Type Broadcast Pool 0 BW (kbps) ---------------- Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1313...
Page 392
Is Autoroute, Is Forwarding Adjacency System Id 0001.0001.0002.00, Dest 10.1.1.2 IGP Metric 0, Metric Mode 0 switch# Related Commands Command Description show mpls traffic-eng Displays the link management advertisements information. link-management advertisements Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1314 OL-24994-01...
Page 393
Displays the link management summary. Defaults None Command Modes EXEC mode Supported User Roles network-admin vdc-admin Command History Release Modification 5.2(1) This command was introduced. Usage Guidelines This command requires the MPLS Services license. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1315...
Page 395
LIST test bandwidth 100 protection fast-reroute record-route switch# Related Commands Command Description lsp attribute Configures the label switched path (LSP) attribute information. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1317...
Page 396
10.1.1.1 brief My_System_id: 0001.0001.0001.00 (isis-p1 level-2) Signalling error holddown: 10 sec Global Link Generation 8402 IGP Id: 0001.0001.0001.00, MPLS TE Id:10.1.1.1 Router Node (isis-p1 level-2) Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1318 OL-24994-01...
Page 397
TE metric: 10, IGP metric: 40, attribute flags: 0x0 switch# Related Commands Command Description show mpls traffic-eng Displays the Multiprotocol Label Switching (MPLS) traffic engineering link-management (TE) link management advertisements information. advertisements Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1319...
Page 398
To make a backup tunnel to be operational, the LSP must be reroutable. At the headend of the LSP, enter the show run int tunnel tunnel-number command. The output should include the fast-reroute command. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1320 OL-24994-01...
Page 399
Protected lsps: 4999 Active lsps: 0 Backup BW: any pool unlimited; inuse: 0 kbps switch# Related Commands Command Description interface tunnel-te Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1321...
Page 403
Encap Index MDT Group MDT Source MDT Source Intf 1 239.1.1.1 22.22.0.1 loopback1 MVPN MDT Encap Information for VRF "vpn4" Encap Index MDT Group MDT Source MDT Source Intf 1235.1.1.1 22.22.0.1 loopback1 switch# Related Commands Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1325...
Page 404
Show Commands show mvpn mdt encap vrf Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1326 OL-24994-01...
Page 405
MVPN MDT(Global) Route information for VRF "vpn4": (*, 235.1.1.1) [Refcount: 0] (21.21.0.1, 235.1.1.1) [Refcount: 0]switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1327...
Page 406
'*' denotes best ucast next-hop '**' denotes best mcast next-hop '[x/y]' denotes [preference/metric] switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1328 OL-24994-01...
Page 407
MDT Encapsulation Information for vrf "vpn4" [Entry Count 3] Index MDT Group MDT Source Mroute-Count 235.1.1.1 22.22.0.1 235.4.4.0 22.22.0.1 232.8.8.0 22.22.0.1 switch(config-vrf)# Related Commands Command Description show ip route detail Displays the details of the unicast routing tables. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1329...
Page 408
!Time: Wed Nov 24 04:58:56 2010 version 5.0(1) interface tunnel-te1 ip unnumbered loopback0 mpls ip no shutdown switch(config)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1330 OL-24994-01...
Page 409
1 router isis 2 router isis 20 router isis p1 switch(config-router)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1331...
Page 410
Ethernet8/1 vrf member vrf1 switch# Related Commands Command Description show mpls forwarding Displays the Multiprotocol Label Switching (MPLS) Label Distribution statistics Protocol (LDP) traffic forwarding statistics. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1332 OL-24994-01...
Page 411
2 discovery hello holdtime 10 Related Commands Command Description show mpls forwarding Displays the Multiprotocol Label Switching (MPLS) Label Distribution statistics Protocol (LDP) traffic forwarding statistics. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1333...
Page 413
Ethernet2/6 mpls traffic-eng tunnels mpls traffic-eng administrative-weight 10 Related Commands Command Description show mpls forwarding Displays the Multiprotocol Label Switching (MPLS) Label Distribution statistics Protocol (LDP) traffic forwarding statistics. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1335...
Page 414
This example shows how to display information about all of the running LDP sessions: switch# show run mpls ldp all switch # Related Commandss Command Description show mpls ldp Displays graceful-restart sessions and session parameters. graceful-restart Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1336 OL-24994-01...
Page 415
!Command: show running-config ospf !Time: Sat Jul 2 06:16:08 2011 version 5.2(1) feature ospf process-name switch(config-router)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1337...
Page 416
!Time: Tue Mar 15 01:53:18 2011 version 5.2(1) address-family ipv4 unicast maximum routes 2 switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1338 OL-24994-01...
Page 418
Show Commands show startup-config mpls traffic-eng Related Commands Command Description show running-config Displays the configuration status of the Multiprotocol Label Switching mpls traffic-eng (MPLS) traffic engineering (TE) on the device. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1340 OL-24994-01...
Page 419
!Time: Tue Mar 15 01:58:31 2011 version 5.2(1) vrf context vrf1 address-family ipv4 unicast maximum routes 2 switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1341...
Page 420
Stale time mpls-static mplsfwd mpls te lif 180000 mpls te vif --------------------------- SDB entries by Interface: if_index Label space ID MPLS sublayer Client pib index --------------------------- SDB entries by TTL: Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1342 OL-24994-01...
Page 421
Show Commands show tech-support mpls manager TTL subtype Flags exp count --More-- switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1343...
Page 422
This example shows how to display the information about a VRF instance: switch# show vrf vrf1 VRF-Name VRF-ID State Reason switch# 3 Up Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1344 OL-24994-01...
Page 423
This example shows how to display information about interfaces that are associated with a VRF: switch# show vrf vrf1 interface Interface VRF-Name VRF-ID Site-of-Origin switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1345...
Page 424
Show Commands show vrf interface Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1346 OL-24994-01...
Page 425
T Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with T. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1221...
Page 426
This example shows how to configure a table map: switch# configure terminal switch(config)# table-map TableMap1 switch(config-tmap) Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1222 OL-24994-01...
Page 427
1200 bgp(config-router)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1223...
Page 428
1 500 600 switch(config-router)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1224 OL-24994-01...
Page 431
T Commands traceroute mpls Q 1 * switch# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1227...
Page 432
T Commands traceroute mpls Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1228 OL-24994-01...
Page 433
V Commands This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with V. Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1229...
Page 434
Enters bridge-domain configuration mode and configures a bridge domain. l2vpn vfi context Establishes a Layer 2 VPN (L2VPN) virtual forwarding interface (VFI) between two or more separate networks. Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1230 OL-24994-01...
Page 435
0 5000 5000 switch(config-router)# timers lsa-arrival 30 switch(config-router)# vrf vpn1 switch(config-router-vrf)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1231...
Page 436
This example shows how to create a new VRF instance: switch# configure terminal switch(config)# vrf context blue switch(config-vrf)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1232 OL-24994-01...
Page 437
This example shows how to set VRF membership for an interface: switch# configure terminal switch(config)# interface ethernet 5/0 switch(config-if)# vrf member vpn1 switch(config-if)# Related Commands Command Description mpls ldp configuration Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). Cisco Nexus 7000 Series NX-OS MPLS Command Reference OL-24994-01 1233...
Page 438
V Commands vrf member Cisco Nexus 7000 Series NX-OS MPLS Command Reference 1234 OL-24994-01...