Table Of Contents
mpls ip (TE configuration mode)
mpls ldp discovery transport-address
mpls traffic-eng administrative-weight
mpls traffic-eng attribute-flags
mpls traffic-eng configuration
mpls traffic-eng flooding threshold
M Commands
This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with M.
match
To configure a classification criteria, use the match command. To return to the default setting, use the no form of this command.
match [not] mpls experimental topmost exp-list
no match [not] mpls experimental topmost exp-list
Syntax Description
Defaults
None
Command Modes
Class-map configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to specify that the packets should be matched (or not) on the 3-bit experimental (EXP) field in the outermost (topmost) MPLS label in the MPLS header:
switch# configure terminal
switch(config)# class-map type qos match-all class-2
switch(config-cmap-qos)# match mpls experimental topmost 1
switch(config-cmap-qos)#Related Commands
Command Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).
maximum routes
To configure the maximum number of routes that can be stored in the virtual routing and forwarding (VRF) route table, use the maximum routes command. To return to the default setting, use the no form of this command.
maximum routes max-routes [threshold-value [reinstall threshold-value] | warning-only]
no maximum routes max-routes [threshold-value [reinstall threshold-value] | warning-only]
Syntax Description
Defaults
None
Command Modes
Address-family configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
None.
Examples
This example shows how to configure the maximum number of routes that can be stored in the VRF route table:
switch# configure t
switch(config)# vrf context vpn1
switch(config-vrf)# address-family ipv4 unicast
switch(config-vrf-af-ipv4)# maximum routes 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
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
mdt asm-use-shared-tree
To specify that a shared-tree [(*,G)] entry should be created for a default multicast distribution tree (MDT) when the default MDT group is in PIM ASM mode, use the mdt asm-use-shared-tree
command.
mdt asm-use-shared-tree
Syntax Description
This command has no arguments or keywords.
Defaults
Default MDT group is in PIM ASM mode.
Command Modes
VRF configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to configure the shared-tree [(*,G)] entry should be created for the default MDT when the default MDT group is in PIM ASM mode:
switch# config t
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
mdt data
To configure a range of group addresses that are used for data multicast distribution trees (MDTs), use the mdt data command.
mdt data mdt -group-prefix [threshold threshold-value] [route-map policy-name]
Syntax Description
Defaults
The default value for the threshold parameter is 100 kbps
Command Modes
Configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to configure the the range of group address used for data MDTs:
switch# config t
Enter configuration commands, one per line. End with CNTL/Z.switch(config)# vrf context vrf1
switch(config-vrf)# mdt data 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
mdt data bidir-enable
To configure the range of group address used for data multicast distribution trees (MDTs), use the mdt data bidir-enable command.
mdt data bidir-enable
no mdt data bidir-enable
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command allows the user to override the default behavior that is, create data MDTs for bidir routes as well.
This command requires the MPLS Services license.
Examples
This example shows how to configure the the range of group addresses used for data MDTs:
switch# config t
Enter configuration commands, one per line. End with CNTL/Z.switch(config)# vrf context vrf1
switch(config-vrf)# mdt data bidir-enable
switch(config-vrf)#Related Commands
mdt default
To configure the default multicast distribution tree (MDT) for a virtual routing and forwarding (VRF), use the mdt default command. To return to the default settings, use the no form of the command.
mdt default group-address
no mdt default group-address
Syntax Description
Defaults
None
Command Modes
Configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to configure the default MDT for a VRF:
switch# config t
Enter configuration commands, one per line. End with CNTL/Z.switch(config)# vrf context vrf1
switch(config-vrf)# mdt default 232.0.0.1
switch(config-vrf)#Related Commands
mdt enforce-bgp-mdt-safi
To enforce the use of multicast distribution tree (MDT) subsequent address family identifiers (SAFI) for a virtual routing and forwarding instance (VRF), use the mdt enforce-bgp-mdt-safi command. To interoperate with peers that do not support MDT SAFI, use the no form of the command. When the no form is used, initially only the (*,G) entry for the default MDT group is populated if it falls within the Any Source Multicast (ASM) range. Then later, based on traffic, the (S,G) entries are learned like regular ASM routes.
mdt enforce-bgp-mdt-safi
no mdt enforce-bgp-mdt-safi
Syntax Description
This command has no arguments or keywords.
Defaults
Enabled
Command Modes
VRF configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to configure MDT to interoperate with peers that do not support MDT SAFI:
switch# config t
Enter configuration commands, one per line. End with CNTL/Z.switch(config)# vrf context vrf1
switch(config-vrf)# no mdt enforce-bgp-mdt-safi
switch(config-vrf)#Related Commands
Command Descriptionshow mvpn bgp mdt-safi
Displays detailed information of the BGP advertisement for MVPN MDT SAFI.
mdt mtu
To configure the maximum transmission unit (MTU) associated with the multicast tunnel interfaces created for the default and data multicast distribution tree (MDT) groups, use the mdt mtu command.
mdt mtu mtu-size
no mdt mtu mtu-size
Syntax Description
Defaults
1376
Command Modes
Configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to configure the maximum transmission unit (MTU) associated with the multicast tunnel interfaces created for the default and data MDT groups:
switch# config t
Enter configuration commands, one per line. End with CNTL/Z.switch(config)# vrf context vrf1
switch(config-vrf)# mdt mtu 600
switch(config-vrf)#Related Commands
mdt pim hello-interval
To configure the hello interval used between peers, use the mdt pim hello-interval command.
mdt ip pim hello-interval interval
no mdt ip pim hello-interval interval
Syntax Description
Defaults
30000 milliseconds
Command Modes
Configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to configure the hello interval used between peers:
switch# config t
Enter configuration commands, one per line. End with CNTL/Z.switch(config)# vrf context vrf1
switch(config-vrf)# mdt pim hello-interval 30000
switch(config-vrf)#Related Commands
mdt pim jp-interval
To configure the PIM periodic interval associated with join or prune packet transmission over the default multicast distribution tree (MDT) tunnel interface, use the mdt pim jp-interval command. To return to the default settings, use the no form of the command.
mdt pim jp-interval interval
no mdt pim jp-interval interval
Syntax Description
Defaults
60000 milliseconds
Command Modes
Configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to configure the PIM periodic interval associated join packet transmission over the default MDT tunnel interface:
switch# config t
Enter configuration commands, one per line. End with CNTL/Z.switch(config)# vrf context vrf1
switch(config-vrf)# mdt pim jp-interval 60000
switch(config-vrf)#Related Commands
mdt source
To configure the interface that is used to set the multicast virtual private network (VPN) data multicast distribution tree (MDT) source address, use the mdt source command.
mdt source interface
no mdt source interface
Syntax Description
interface
Interface used to set the multicast VPN data multicast distribution tree (MDT) source address.
Defaults
None
Command Modes
Configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to configure the interface that is used to set the multicast VPN data multicast distribution tree (MDT) source address:
switch# config t
Enter configuration commands, one per line. End with CNTL/Z.switch(config)# vrf context vrf1
switch(config-vrf)# mdt source interface
switch(config-vrf)#Related Commands
mpls ip
To enable IP over Multiprotocol Label Switching (MPLS), use the mpls ip command.
mpls ip
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Interface configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to enable IP over MPLS:
switch# config t
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 Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).
mpls ip (TE configuration mode)
To enable the LDP over an MPLS TE tunnel, use the mpls ip command.
mpls ip
Syntax Description
This command has no arguments and keywords.
Defaults
None
Command Modes
TE configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to configure the IP TTl propagation over MPLS:
switch# config t
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 Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).
mpls ip default-route
To allow Multiprotocol Label Switching (MPLS) forwarding for the IP default route, use the mpls ip default-route command. To revert to the default settings, use the no form of the command.
mpls ip default-route
no mpls ip default-route
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
LDP configuration interface mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
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 Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).
mpls label range
To configure the Multiprotocol Label Switching (MPLS) label range for a static label assignment, use the mpls label range command. To return to the default setting, use the no form of this command.
mpls label range min-value max-value [static min-static-value max-static-value]
no mpls label range min-value max-value [static min-static-value max-static-value]
Syntax Description
Defaults
None
Command Modes
Global configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to reserve a range of labels for static label assignment:
switch# configure terminal
switch(config)# mpls label range 200 100000 static 16 199
switch(config)#Related Commands
Command Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).
mpls ldp autoconfig
To enable Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) autoconfiguration for all level-1, all level-2, or all level-1 and level-2 IS-IS interfaces, use the mpls ldp autoconfig command. To return to the default setting, use the no form of this command.
mpls ldp autoconfig {level-1 | level-1-2 | level-2}
no mpls ldp autoconfig {level-1 | level-1-2 | level-2}
Syntax Description
Defaults
None
Command Modes
Router configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
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)#Related Commands
Command Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).
mpls ldp autoconfig area
To enable Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) autoconfiguration for all Open Shortest Path First (OSPF) interfaces, use the mpls ldp autoconfig area command. To return to the default setting, use the no form of this command.
mpls ldp autoconfig area area-id
no mpls ldp autoconfig area area-id
Syntax Description
Defaults
None
Command Modes
Router configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to enable MPLS LDP autoconfiguration for all OSPF interfaces:
switch# configure terminal
switch(config)# p1
switch(config-router)# mpls ldp autoconfig area 10
switch(config-router)#Related Commands
Command Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).
mpls ldp configuration
To configure the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP), use the mpls ldp configuration command.
mpls ldp configuration
Syntax Description
This command has no arguments or keywords.
Defaults
Enabled
Command Modes
Global configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
When MPLS LDP is disabled on the device, no LDP commands are available.
This command requires the MPLS Services license.
Examples
This example shows how to configure MPLS LDP:
switch(config)# mpls ldp configuration
switch(config-ldp)#Related Commands
Command Descriptionmpls ldp sync
Enables Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) Interior Gateway Protocol (IGP) synchronization for all IS-IS interfaces.
mpls ldp discovery transport-address
To configure the transport address that is advertised in the Label Distribution Protocol (LDP) discovery hello messages sent on an interface, use the mpls ldp discovery transport-address command. To return to the default setting, use the no form of this command.
mpls ldp discovery transport-address {ip-address | interface}
no mpls ldp discovery transport-address {ip-address | interface}
Syntax Description
ip-address
IP address that is advertised as the transport address.
interface
Specifies that the interface IP address be advertised as the transport address.
Defaults
None
Command Modes
Interface configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to configure the transport address that is advertised in the LDP discovery hello messages sent on an interface:
switch(config)# interface ethernet 6/1switch(config-if)# mpls ldp discovery transport-address 209.165.200.225
switch(config-if)#Related Commands
Command Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).
mpls ldp igp autoconfig
To enable the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) for the specified interface, use the mpls ldp igp autoconfig command. To return to the default setting, use the no form of this command.
mpls ldp igp autoconfig
no mpls ldp igp autoconfig
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Interface configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to enable MPLS LDP for the specified interface:
switch# configure terminal
switch(config)# interface ethernet 7/1
switch(config-if)# mpls ldp igp autoconfig
switch(config-if)#Related Commands
Command Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).
mpls ldp igp sync
To configure a delay time for Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) Interior Gateway Protocol (IGP) synchronization on the specified interface, use the mpls ldp igp sync command. To return to the default setting, use the no form of this command.
mpls ldp igp sync [delay seconds]
no mpls ldp igp sync [delay seconds]
Syntax Description
delay
(Optional) Specifies LDP to IGP sync achieved notification delay time.
seconds
(Optional) Display in seconds. The range is from 5 to 60 seconds.
Defaults
None
Command Modes
Interface configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
The no mpls ldp igp sync delay command sets the delay time to 0 seconds but leaves the MPLS LDP and IGP synchronization enabled.
This command requires the MPLS Services license.
Examples
This example shows how to configure a delay time for the MPLS LDP and IGP synchronization on the specified interface:
switch# configure terminal
switch(config)# feature mpls ldp
switch(config)# interface ethernet 6/1
switch(config-if)# mpls ldp igp sync delay 30
Related Commands
Command Descriptionmpls ldp sync
Enables Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) Interior Gateway Protocol (IGP) synchronization for all IS-IS interfaces.
mpls ldp sync
To enable Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) and Interior Gateway Protocol (IGP) synchronization for all Open Shortest Path First (OSPF) interfaces, use the mpls ldp sync command. To return to the default setting, use the no form of this command.
mpls ldp sync
no mpls ldp sync
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Router configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to enable MPLS LDP and IGP syncronization for all OSPF interfaces:
switch# configure terminal
switch(config)# p1
switch(config-router)# mpls ldp sync
Related Commands
Command Descriptionmpls ldp igp sync
Allows Label Distribution Protocol (LDP) Interior Gateway Protocol (IGP) Synchronization on this interface.
mpls oam
To configure MPLS Operations and Management (OAM) for customizing the default behavior of echo packets, use the mpls oam command. To return to the default setting, use the no form of this command.
mpls oam
no mpls oam
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Global configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to configure MPLS OAM:
switch# configure terminal
switch(config)# mpls oam
switch(conf-mpls-oam)#Related Commands
Command Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).
mpls static binding ipv4
To configure the static binding of labels to IPv4 prefixes, use the mpls static binding ipv4 command. To return to the default setting, use the no form of this command.
mpls static binding ipv4 prefix mask {label | input label | output nexthop {explicit-null | implicit-null | label}}
no mpls static binding ipv4 prefix mask {label | input label | output nexthop {explicit-null | implicit-null | label}}
Syntax Description
Defaults
None
Command Modes
LDP configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
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)#Related Commands
Command Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).
mpls static binding ipv4 vrf
To configure the Multiprotocol Label Switching (MPLS) static binding of labels to the IPv4 destination VPN routing prefix, use the mpls static binding ipv4 vrf command. To return to the default setting, use the no form of this command.
mpls static binding ipv4 vrf vpn-name prefix mask {input label | label}
no mpls static binding ipv4 vrf vpn-name prefix mask {input label | label}
Syntax Description
vpn-name
VPN name. The maximum size is alphanumeric 32 characters.
prefix-mask
Destination prefix and mask.
input
Specifies the incoming local label.
label
Label value.
Defaults
None
Command Modes
LDP configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
You must configure the MPLS VPN and VRFs before creating VRF-aware static labels.
This command requires the MPLS Services license.
Examples
This example shows how to configure static label bindings input and output labels for several prefixes:
switch# configure terminal
switch(config)# mpls ldp
switch(config-ldp)# mpls static binding ipv4 vrf vpn100 10.2.0.0 255.255.0.0 input 17switch(config-ldp)#Related Commands
Command Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).
mpls traffic-eng administrative-weight
To override the Interior Gateway Protocol (IGP) administrative weight (cost) of the link as used in traffic engineering (TE) path calculations, use the mpls traffic-eng administrative-weight command. To restore the system to its default condition, use the no form of this command.
mpls traffic-eng administrative-weight weight
no mpls traffic-eng administrative-weight weight
Syntax Description
Defaults
The TE link administrative weight defaults to the IGP cost of the link
Command Modes
Interface configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
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
mpls traffic-eng area
To turn on the Multiprotocol Label Switching (MPLS) traffic engineering (TE) for the indicated Open Shortest Path First (OSPF) area, use the mpls traffic-eng area command. To return to the default setting, use the no form of this command.
mpls traffic-eng area area-id
no mpls traffic-eng area area-id
Syntax Description
Defaults
None
Command Modes
Router configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
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 1switch(config-router)#Related Commands
mpls traffic-eng attribute-flags
To set the user-defined interface attribute flags, use the mpls traffic-eng attribute-flags command. To return to the default setting, use the no form of this command.
mpls traffic-eng attribute-flags value
no mpls traffic-eng attribute-flags
Syntax Description
Defaults
None
Command Modes
Interface configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
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
mpls traffic-eng backup-path
To assign one or more backup tunnels to a protected interface, use the mpls traffic-eng backup-path command. To restore the system to its default condition, use the no form of this command.
mpls traffic-eng backup-path tunnel-te interface number
no mpls traffic-eng backup-path tunnel-te interface number
Syntax Description
tunnel-te
Specifies a traffic engineering (TE) interface.
interface number
Interface number. The range is from 0 to 65503.
Defaults
Enter this command on the interface to be protected (Link Protection), or on the interface whose downstream node is being protected (Node Protection). You can enter this command multiple times to select multiple backup tunnels for a given protected interface. An unlimited number of backup tunnels can be assigned to protect an interface. The only limitation is memory. By entering this command on a physical interface, LSPs using this interface (sending data out of this interface) can use the indicated backup tunnels if there is a link or node failure.
Command Modes
Interface configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
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
mpls traffic-eng bandwidth
To allocate the Multiprotocol Label Switching (MPLS) traffic engineering (TE) bandwidth pool for the interface, use the mpls traffic-eng bandwidth command. To restore the system to its default condition, use the no form of this command.
mpls traffic-eng bandwidth [interface-kbps | percent percentage]
no mpls traffic-eng tunnels
Syntax Description
Defaults
If neither interface-kbps nor a percentage are specified, then the bandwidth pool size defaults to 75% of the interface's bandwidth.
Command Modes
Interface configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
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
mpls traffic-eng configuration
To configure Multiprotocol Label Switching (MPLS) traffic engineering (TE), use the mpls traffic-eng configuration command.
mpls traffic-eng configuration
Syntax Description
This command has no arguments or keywords.
Defaults
Enabled
Command Modes
Global configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
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
mpls traffic-eng flooding threshold
To set the Multiprotocol Label Switching (MPLS) flooding thresholds, use the mpls traffic-eng flooding threshold command. To return to the default setting, use the no form of this command.
mpls traffic-eng flooding thresholds{down decreased reserved bw | up increased reserved bandwidth}
no mpls traffic-eng flooding thresholds{down | up}
Syntax Description
Defaults
None
Command Modes
Interface configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
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
mpls traffic-eng level
To configure the Multiprotocol Label Switching (MPLS) traffic engineering (TE) for Intermediate System-to-Intermediate System (IS-IS), use the mpls traffic-eng level command. To return to the default setting, use the no form of this command.
mpls traffic-eng {level-1 | level-1-2 | level-2}
no mpls traffic-eng {level-1 |level-1-2 | level-2}
Syntax Description
level-1
Specifies MPLS TE on IS-IS level-1 only.
level-1-2
Specifies MPLS TE on IS-IS level-1 and level-2.
level-2
Specifies MPLS TE on IS-IS level-2 only.
Defaults
Enable
Command Modes
Router configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
You can enable MPLS for level-1, level-2 or level 1 and level-2 routers.
This command requires the MPLS Services license.
Examples
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
mpls traffic-eng router-id
To specify that the traffic engineering router identifier for the node is the IP address associated with a given interface, use the mpls traffic-eng router-id command. To return to the default setting, use the no form of this command.
mpls traffic-eng router-id interface
no mpls traffic-eng router-id interface
Syntax Description
Defaults
Enable
Command Modes
Router configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command is not effective until you configure the specified loopback with an IP address.
This command requires the MPLS Services license.
Examples
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
mpls traffic-eng tunnels
To enable Multiprotocol Label Switching (MPLS) traffic engineering (TE) tunnels on an interface, use the mpls traffic-eng tunnels command. To restore the system to its default condition, use the no form of this command.
mpls traffic-eng tunnels
no mpls traffic-eng tunnels
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Interface configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
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