Cisco IOS XR Multiprotocol Label Switching Command Reference, Release 3.4
MPLS Traffic Engineering Commands on Cisco IOS XR Software

Table Of Contents

MPLS Traffic Engineering Commands on Cisco IOS XR Software

admin-weight

affinity

affinity-map

attribute-flags

attribute-names

autoroute announce

autoroute metric

backup-bw

backup-path tunnel-te

clear mpls lmp

clear mpls traffic-eng counters tunnels

clear mpls traffic-eng fast-reroute log

clear mpls traffic-eng link-management statistics

destination

direction (GMPLS)

disable (explicit-path)

fast-reroute

flooding-igp (GMPLS)

flooding thresholds

forwarding-adjacency

index exclude-address

index next-address

interface tunnel-te

ipv4 unnumbered (MPLS)

lmp hello (GMPLS)

match (GMPLS)

mpls traffic-eng ds-te bc-model

mpls traffic-eng ds-te mode

mpls traffic-eng ds-te te-classes

mpls traffic-eng fast-reroute promote

mpls traffic-eng fast-reroute timers promotion

mpls traffic-eng interface

mpls traffic-eng level

mpls traffic-eng link-management flood

mpls traffic-eng link-management timers bandwidth-hold

mpls traffic-eng link-management timers periodic-flooding

mpls traffic-eng lmp router-id

mpls traffic-eng maximum tunnels

mpls traffic-eng path-protection switchover (GMPLS)

mpls traffic-eng path-selection loose-expansion affinity

mpls traffic-eng path-selection loose-expansion metric

mpls traffic-eng path-selection metric

mpls traffic-eng reoptimize (Config)

mpls traffic-eng reoptimize (EXEC)

mpls traffic-eng reoptimize timers delay

mpls traffic-eng router-id

mpls traffic-eng router-id secondary

mpls traffic-eng signalling advertise explicit-null

mpls traffic-eng timers loose-path

mpls traffic-eng topology holddown sigerr

passive (GMPLS)

path-option

path-selection metric

priority (MPLS-TE)

record-route

remote (GMPLS)

show explicit-paths

show mpls traffic-eng affinity-map

show mpls traffic-eng autoroute

show mpls traffic-eng counters tunnel

show mpls traffic-eng ds-te te-class

show mpls traffic-eng forwarding

show mpls traffic-eng forwarding-adjacency

show mpls traffic-eng igp-areas

show mpls traffic-eng link-management admission-control

show mpls traffic-eng link-management advertisements

show mpls traffic-eng link-management bandwidth-allocation

show mpls traffic-eng link-management bfd-neighbors

show mpls traffic-eng link-management igp-neighbors

show mpls traffic-eng link-management interfaces

show mpls traffic-eng link-management statistics

show mpls traffic-eng link-management summary

show mpls traffic-eng maximum tunnels

show mpls traffic-eng topology

show mpls traffic-eng tunnels

signalled-bandwidth

signalled-name

snmp traps mpls traffic-eng

switching (GMPLS)

switching endpoint (GMPLS)

switching transit (GMPLS)


MPLS Traffic Engineering Commands on Cisco IOS XR Software


This chapter describes the commands that you will use to configure Multiprotocol Label Switching (MPLS) Traffic Engineering (TE) and Generalized MPLS (GMPLS). In this chapter, all GMPLS-specific commands are identified with "(GMPLS)" in the command title.

Your network must support the following Cisco features before you can enable MPLS-TE:

MPLS

IP Cisco Express Forwarding (CEF)

Intermediate System-to-Intermediate System (IS-IS) or Open Shortest Path First (OSPF) routing protocol

Resource Reservation Protocol (RSVP)

MPLS Label Distribution Protocol (LDP), Resource Reservation Protocol (RSVP), and Universal Control Plane (UCP) command descriptions are documented separately.

For detailed information about MPLS concepts, configuration tasks, and examples, refer to the
Cisco IOS XR Multiprotocol Label Switching Configuration Guide.

admin-weight

To override the Interior Gateway Protocol (IGP) administrative weight (cost) of the link, use the admin-weight command in MPLS-TE interface configuration mode. To return to the default behavior, use the no form of this command.

admin-weight weight

no admin-weight weight

Syntax Description

weight

The administrative weight (cost) of the link. Range is 0 to 4294967295.


Defaults

weight: IGP Weight (default OSPF 1, ISIS 10)

Command Modes

MPLS-TE interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was introduced on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

To use MPLS the admin-weight command for MPLS LSP path computations, path-selection metric must be configured to TE.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to override the IGP cost of the link and set the cost to 20:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng
RP/0/RP0/CPU0:router(config-mpls-te)# interface POS 0/7/0/0
RP/0/RP0/CPU0:router(config-mpls-te-if)# admin-weight 20

Related Commands

Command
Description

path-selection metric

Select Path Selection Metric as TE or IGP.


affinity

To configure an affinity (the properties the tunnel requires in its links) for an MPLS-TE tunnel, use the affinity command in interface configuration mode. To return to the default behavior, use the no form of this command.

affinity {{affinity-value mask mask-value} | exclude name | exclude-all | include name | include-strict name}}

no affinity {{affinity-value mask mask-value} | exclude name | exclude-all | include name | include-strict name}}

Syntax Description

affinity affinity-value

Attribute values required for links carrying this tunnel. A 32-bit decimal number. Range is 0x0 to 0xFFFFFFFF, representing 32 attributes (bits), where the value of an attribute is 0 or 1.

mask mask-value

Link attribute to be checked. A 32-bit decimal number. Range is 0x0 to 0xFFFFFFFF, representing 32 attributes (bits), where the value of an attribute mask is 0 or 1.

exclude name

Affinity to exclude.

exclude-all

Excludes all affinities.

include

Affinity to include in the loose sense.

include-strict

Affinity to include in the strict sense.


Defaults

affinity-value: 0X00000000

mask-value: 0XFFFFFFFF

Command Modes

Interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

Support was added for the Name-Based Affinity Constraint scheme.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Affinity determines the link attributes of the tunnel (that is, the attributes for which the tunnel has an affinity). The attribute mask determines which link attribute the router should check. If a bit in the mask is 0, the attribute value of a link or that bit is irrelevant. If a bit in the mask is 1, the attribute value of that link and the required affinity of the tunnel for that bit must match.

A tunnel can use a link if the tunnel affinity equals the link attributes and the tunnel affinity mask.

Any properties set to 1 in the affinity should also be 1 in the mask. The affinity and mask should be set as follows:

tunnel_affinity=tunnel_affinity and tunnel_affinity_mask

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure the tunnel affinity and mask:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-te 1 
RP/0/RP0/CPU0:router(config-if)# affinity 0101 mask 303

Related Commands

Command
Description

affinity-map

Assigns a numerical value to each affinity name.

attribute-flags

Configures attributes for the interface.


affinity-map

To assign a numerical value to each affinity name, use the attribute-map command in MPLS-TE configuration mode. To return to the default behavior, use the no form of this command.

attribute-map affinity name

no attribute-map affinity name

Syntax Description

affinity name

Affinity map name-to-value designator (in hexadecimal, 0-ffffffff).


DefaultsDefaults

No default behavior or values

Command Modes

MPLS-TE configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and the Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.


Note The name-to-value mapping must represent a single bit of a 32-bit value.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to assign a numerical value to each affinity name:

RP/0/RP0/CPU0:router# config
RP/0/RP0/CPU0:router(config)# mpls traffic-eng
RP/0/RP0/CPU0:router(config-mpls-te)# affinity-map red 1
RP/0/RP0/CPU0:router(config-mpls-te)# affinity-map blue 2

Related Commands

Command
Description

affinity

Configures an affinity for an MPLS-TE tunnel.

show mpls traffic-eng affinity-map

Displays the color name-to-value mappings configured on the router.


attribute-flags

To configure attribute flags for an interface, use the attribute-flags command in MPLS-TE interface configuration mode. To return to the default behavior, use the no form of this command.

attribute-flags attribute flags

no attribute-flags attribute flags

Syntax Description

attribute flags

Links attributes that are compared to the affinity bits of a tunnel during selection of a path. Range is 0x0 to 0xFFFFFFFF, representing 32 attributes (bits) where the value of an attribute is 0 or 1.


DefaultsDefaults

attributes: 0x0

Command Modes

MPLS-TE interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The attribute-flags command assigns attributes to a link so that tunnels with matching attributes (represented by their affinity bits) prefer this link instead of others that do not match.

The interface attribute is flooded globally so that it can be used as a tunnel headend path selection criterion.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to set attribute flags to 0x0101:

RP/0/RP0/CPU0:router# configure 
RP/0/RP0/CPU0:router(config)# mpls traffic-eng      
RP/0/RP0/CPU0:router(config-mpls-te)# interface POS 0/7/0/0
RP/0/RP0/CPU0:router(config-mpls-te-if)# attribute-flags 0x0101

Related Commands

Command
Description

admin-weight

Overrides the IGP administrative weight of the link.

affinity

Configures affinity (the properties that the tunnel requires in its links) for an MPLS-TE tunnel.

attribute-names

Configures attributes for the interface.


attribute-names

To assign a numerical value to each affinity name, use the attribute-names command in MPLS-TE interface configuration mode. To return to the default behavior, use the no form of this command.

attribute-names attribute name

no attribute-names attribute name

Syntax Description

attribute name

Attribute name expressed using alphanumeric or hexidecimal characters.


DefaultsDefaults

No default behavior or values

Command Modes

MPLS-TE interface configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and the Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.


Note The name-to-value mapping must represent a single bit of a 32-bit value.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to assign an attribute name (in this case, red) to a TE link:

RP/0/RP0/CPU0:router## config
RP/0/RP0/CPU0:router(config)# mpls traffic-eng int pos 0/2/0/1
RP/0/RP0/CPU0:router(config-mpls-te-if)# attribute-name red

Related Commands

Command
Description

attribute-flags

Configures attribute flags for the interface.


autoroute announce

To specify that the Interior Gateway Protocol (IGP) should use the tunnel (if the tunnel is up) in its enhanced shortest path first (SPF) calculation, use the autoroute announce command in interface configuration mode. To return to the default behavior, use the no form of this command.

autoroute announce

no autoroute announce

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values

Command Modes

Interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Currently, the only way to forward traffic over a tunnel is accomplished using the autoroute announce command or static routes command.

When you configure more than one IGP, the tunnel is announced to the IGP used to find the path to the tunnel destination.

By default, the route metric of the tunnel path to the destination equals the route metric of the shortest IGP path to that destination when autoroute announce is configured.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure IGP to use the tunnel in its enhanced SPF calculation when the tunnel is up:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-te 1 
RP/0/RP0/CPU0:router(config-if)# autoroute announce 

Related Commands

Command
Description

interface tunnel-te

Sets the mode of a tunnel to MPLS for TE, and moves the configuration mode into tunnel mode.


autoroute metric

To specify the MPLS-TE tunnel metric that the Interior Gateway Protocol (IGP) enhanced Shortest Path First (SPF) calculation uses, use the autoroute metric command in interface configuration mode. To return to the default behavior, use the no form of this command.

autoroute metric {absolute | relative} value

no autoroute metric {absolute | relative} value

Syntax Description

absolute

Absolute metric mode; you can enter a positive metric value.

relative

Relative metric mode; you can enter a positive, negative, or zero value.

value

The metric that the IGP enhanced SPF calculation uses. Relative value range is -10 to 10. Absolute value is 1 to 4294967295.


Defaults

relative value: 0

Command Modes

Interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The autoroute metric command overwrites the default tunnel route metric of the shortest IGP path to the destination.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure the IGP enhanced SPF calculation using MPLS-TE tunnel metric as relative negative 1:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-te 1 
RP/0/RP0/CPU0:router(config-if)# autoroute metric relative -1 

Related Commands

Command
Description

autoroute announce

Instructs the IGP to use the tunnel (if it is up) in its enhanced SPF calculation.

show mpls traffic-eng autoroute

Displays the tunnels announced to the IGP, including interface, destination, and bandwidth.


backup-bw

To configure the backup bandwidth for an MPLS-TE backup tunnel (that is used to protect a physical interface), use the backup-bw command in interface configuration mode. To return to the default behavior, use the no form of this command.

backup-bw {backup bandwidth {any-class-type | class-type ct} | global-pool {bandwidth | unlimited} | sub-pool {bandwidth | unlimited} | unlimited {any-class-type | class-type ct}}

no backup-bw {backup bandwidth {any-class-type | class-type ct} | global-pool {bandwidth | unlimited} | sub-pool {bandwidth | unlimited} | unlimited {any-class-type | class-type ct}}

Syntax Description

backup bandwidth

Backup bandwidth in any-pool provided by an MPLS-TE backup tunnel. Bandwidth is specified in kilobits per second (kbps). Range is 1 to 4294967295.

any-class-type

Backup bandwidth assigned to any class-type protected tunnels.

class-type ct

Class type of the backup bandwidth. Range is 0 to 1.

sub-pool bandwidth

(In Prestandard DS-TE with RDM) Backup bandwidth in sub-pool provided by an MPLS-TE backup tunnel. Bandwidth is specified in kilobits per second. Range bandwidth is 1 to 4294967295. Only label switched paths (LSPs) using bandwidth from the sub-pool can use the backup tunnel.

global-pool bandwidth

(In Prestandard DS-TE with RDM) Backup bandwidth in global pool provided by an MPLS-TE backup tunnel. Bandwidth is specified in kilobits per second. Range is 1 to 4294967295.

unlimited

Unlimited bandwidth.


Defaults

Any class-type unlimited.

Command Modes

Interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Backup bandwidth can be limited or unlimited or specific to a global pool, sub-pool, or non-specific any-pool. Backup with backup-bw in global-pool protects global-pool LSPs only; backup-bw in sub-pool protects sub-pool LSPs only.

Backup tunnels configured with limited backup bandwidth (from any/global/sub pool) are not assigned to protect LSPs configured with zero signaled bandwidth.

Backup bandwidth provides bandwidth protection for fast reroute (FRR). Bandwidth protection for FRR supports DiffServ-TE with two bandwidth pools (class-types).

Class-type 0 is strictly equivalent to global-pool; class-type 1 is strictly equivalent to sub-pool bandwidth using the Russian Doll Model (RDM).

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure backup tunnel 1 for use only by LSPs that take their bandwidth from the global pool (class-type 0 tunnels). Backup tunnel 1 does not provide bandwidth protection.

RP/0/RP0/CPU0:router(config)# interface tunnel-te 1 
RP/0/RP0/CPU0:router(config-if)# backup-bw global-pool unlimited 

or

RP/0/RP0/CPU0:router(config)# interface tunnel-te 1 
RP/0/RP0/CPU0:router(config-if)# backup-bw unlimited class-type 0

In the following example, backup tunnel 2 is used by LSPs that take their bandwidth from the sub-pool (class-type 1 tunnels) only. Backup tunnel 2 provides bandwidth protection for up to 1000 units.

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-te 2 
RP/0/RP0/CPU0:router(config-if)# backup-bw sub-pool 1000 

or

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-te 2 
RP/0/RP0/CPU0:router(config-if)# backup-bw 1000 class-type 1 

Related Commands

Commands
Description

backup-path tunnel-te

Assigns one or more backup tunnels to a protected interface.

fast-reroute

Configures an LSP to request a protection via backup tunnel.


backup-path tunnel-te

To set an MPLS-TE tunnel to protect a physical interface against failure, use the backup-path tunnel-te command in MPLS-TE interface configuration mode. To return to the default behavior, use the no form of this command.

backup-path tunnel-te tunnel-number

no backup-path tunnel-te tunnel-number

Syntax Description

tunnel-number

Number of the tunnel protecting the interface. Range is 0 to 65535.


Defaults

No default behavior or values

Command Modes

MPLS-TE interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

When the protected interface is down (shut down or removed), the traffic it was carrying (for the other label switched paths [LSPs], referred to as the protected LSPs) is re-routed, using fast reroute (FRR) onto the backup tunnels.

The following guidelines pertain to the FRR process:

Multiple (backup) tunnels can protect the same interface by entering this command multiple times for different tunnels. The same (backup) tunnel can protect multiple interfaces by entering this command for each interface.

The backup tunnel used to protect a physical interface must have a valid IP address configured.

The backup tunnel cannot pass through the same interface that it is protecting.

TE tunnels that are configured with the FRR option, cannot be used as backup tunnels.

For the backup tunnel to provide protection to the protected LSP, the backup tunnel must have a terminating-end node in the path of a protected LSP.

The source IP address of the backup tunnel and the merge point (MP) address (the terminating-end address of the backup tunnel) must be reachable.


Note You must configure record-route on TE tunnels that are protected by multiple backup tunnels merging at a single node.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to protect PoS interface 0/7/0/0 using tunnel 100 and tunnel 150:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng
RP/0/RP0/CPU0:router(config-mpls-te)# interface POS 0/7/0/0
RP/0/RP0/CPU0:router(config-mpls-te-if)# backup-path tunnel 100
RP/0/RP0/CPU0:router(config-mpls-te-if)# backup-path tunnel 150

Related Commands

Command
Description

backup-bw

Configures backup bandwidth for bandwidth protection.

fast-reroute

Makes a tunnel a protected LSP.

show mpls traffic-eng tunnels

Displays tunnel information.


clear mpls lmp

To clear Link Management Protocol (LMP) management hello settings, use the clear mpls lmp command in EXEC mode.

clear mpls lmp

Syntax Description

This command has no arguments or keywords.

Command Modes

EXEC

Command History

Release
Modification

Release 3.3.0

This command was introduced on the on the Cisco XR 12000 Series Router and Cisco CRS-1 router.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to clear all LMP management hello settings:

RP/0/RP0/CPU0:router# clear mpls lmp

clear mpls traffic-eng counters tunnels

To clear (set to zero) the MPLS tunnel signaling counters, use the clear mpls traffic-eng counters tunnels command in EXEC mode.

clear mpls traffic-eng counters tunnels {all [head | tails] | name name | summary}

Syntax Description

all

Clears counters for all MPLS-TE tunnels.

head | tails

(Optional)

Displays tunnels with their heads at this router (head).

Displays tunnels with their tails at this router (tail).

name name

Clears counters for an MPLS-TE tunnel with the specified name.

summary

Clears the counter's summary.


Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the clear mpls traffic-eng counters tunnels command to set all MPLS counters to zero so that changes can be seen easily.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to clear all counters:

RP/0/RP0/CPU0:router# clear mpls traffic-eng counters tunnels all

The following example shows how to clear counters for tunnel 1:

RP/0/RP0/CPU0:router# clear mpls traffic-eng counters tunnels name tunnel-te1

clear mpls traffic-eng fast-reroute log

To clear the log of MPLS Fast Reroute (FRR) events, use the clear mpls traffic-eng fast-reroute log command in EXEC mode.

clear mpls traffic-eng fast-reroute log

Syntax Description

This command has no arguments or keywords.

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows sample output before clearing the log of FRR events:

RP/0/RP0/CPU0:router# show mpls traffic-eng fast-reroute log

Node     Protected LSPs  Rewrites When                   Switching Time
         Interface                                           (usec)
-------- --------- ----- -------- ---------------------- --------------
0/0/CPU0 PO0/1/0/1 1     1        Feb 27 19:12:29.064000      147
0/1/CPU0 PO0/1/0/1 1     1        Feb 27 19:12:29.060093      165
0/2/CPU0 PO0/1/0/1 1     1        Feb 27 19:12:29.063814      129
0/3/CPU0 PO0/1/0/1 1     1        Feb 27 19:12:29.062861      128

RP/0/RP0/CPU0:router# clear mpls traffic-eng fast-reroute log

clear mpls traffic-eng link-management statistics

To clear all the MPLS-TE admission control statistics, use the clear mpls traffic-eng link-management statistics command in EXEC mode.

clear mpls traffic-eng link-management statistics

Syntax Description

This command has no arguments or keywords.

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to clear all the MPLS-TE statistics for admission control:

RP/0/RP0/CPU0:router# clear mpls traffic-eng link-management statistics

destination

To configure the destination address of a TE tunnel, use the destination command in interface configuration mode. To return to the default behavior, use the no form of this command.

destination A.B.C.D

no destination A.B.C.D

Syntax Description

A.B.C.D

Destination address of the MPLS-TE router ID.


Defaults

None

Command Modes

Interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.


Note The tunnel destination address must be a unique MPLS-TE router ID; it cannot be an MPLS-TE link address on a node.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to set the destination address for tunnel-te1 to 10.10.10.10:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-te1
RP/0/RP0/CPU0:router(config-if)# destination 10.10.10.10

Related Commands

Command
Description

interface tunnel-te

Configures tunnel TE.

show mpls traffic-eng tunnels

Shows destination address of TE tunnels.


direction (GMPLS)

To configure a bidirectional optical tunnel for GMPLS, use the direction command in interface configuration mode. To return to the default behavior, use the no form of this command.

direction {bidirectional}

no direction {bidirectional}

Syntax Description

bidirectional

Enables bidirectional tunneling.


Defaults

Default is unidirectional

Command Modes

Interface configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

There are two types of MPLS-TE tunnels:

Generic packet MPLS TE tunnels

Optical MPLS-TE tunnel (GMPLS tunnel)

At the configuration level, you cannot tell the difference between a packet MPLS or a GMPLS-TE tunnel. Because packet TE tunnels are unidirectional while GMPLS tunnels are bidirectional, you can identify the optical GMPLS tunnel by identifying the bidirectional configuration.

The GMPLS-TE tunnel also requires that you specify the endpoint and transit switching capability so that the path computation module can determine the links that the tunnel can traverse.

The transit switching capability describes the switching capability of the LSP region that the tunnel crosses. The endpoint switching capability describes the switching capability and encoding required for the tunnel interface associated with the two ends of the bidirectional tunnel (namely, active and passive side).

Finally, for GMPLS functionality to work, you must configure the direction and switching commands.


Note Bidirectional tunnel support is available on optical (GMPLS) tunnels only.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to change the tunnel direction from the default (unidirectional) to bidirectional:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-te 99
RP/0/RP0/CPU0:router(config-if)# direction bidirectional

Related Commands

Command
Description

flooding-igp (GMPLS)

Floods selected GMPLS Traffic Engineering links.

lmp hello (GMPLS)

Configures LMP IPCC management hello settings.

match (GMPLS)

Configures or matches active and passive tunnels.

passive (GMPLS)

Configures passive GMPLS tunnels.

remote (GMPLS)

Configures remote TE links.

switching (GMPLS)

Configures TE-link switching attributes.


disable (explicit-path)

To prevent the path from being used by MPLS-TE tunnels while it is configured, use the disable command in explicit path configuration mode. To return to the default behavior, use the no form of this command.

disable

Syntax Description

This command has no arguments or keywords.

Defaults

Explicit path is enabled

Command Modes

Explicit path configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to disable explicit path 200:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# explicit-path identifier 200 
RP/0/RP0/CPU0:router(config-expl-path)# disable

Related Commands

Command
Description

index exclude-address

Specifies the next IP address to exclude from the explicit path.

index next-address

Specifies path entries at a specific index.

show explicit-paths

Displays configured IP explicit paths.


fast-reroute

To enable fast-reroute (FRR) protection for an MPLS-TE tunnel, use the fast-reroute command in interface configuration mode. To return to the default behavior, use the no form of this command.

fast-reroute

no fast-reroute

Syntax Description

This command has no arguments or keywords.

Defaults

FRR is disabled

Command Modes

Interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

When a protected link used by the fast-reroutable label switched path (LSP) fails, the traffic is rerouted to a previously assigned backup tunnel. Configuring FRR on the tunnel informs all the nodes that the LSP is traversing that this LSP desires link/node/bandwidth protection.

You must allow sufficient time after an RP failover before triggering FRR on standby RPs in order to synchronize with the active RP (verified using the show redundancy command). All TE tunnels must be in the recovered state and the database must be in the ready state for all ingress and egress line cards. To verify this information, use the show mpls traffic-eng tunnels and show mpls traffic-eng fast-reroute database commands.


Note Wait approximately 60 seconds before triggering FRR after verifying the database state.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to enable FRR on an MPLS-TE tunnel:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-te 1 
RP/0/RP0/CPU0:router(config-if)# fast-reroute

Related Commands

Command
Description

show mpls traffic-eng tunnels

Displays tunnel information.


flooding-igp (GMPLS)

To flood the GMPLS Traffic Engineering link into a specific OSPF area and instance, use the flooding-igp command in MPLS-TE interface configuration mode. To return to the default behavior, use the no form of this command.

flooding-igp ospf instance area area

no flooding-igp ospf instance area area

Syntax Description

ospf

Floods the interface into an OSPF instance

instance

Name of the OSPF instance into which the GMPLS link is to be flooded.

area area

Area into which the GMPLS link is to be flooded (where TE is configured).


Defaults

No default behavior or values

Command Modes

MPLS-TE interface configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

A GMPLS link won't be flooded into any IGP topology unless this command is used.


Note The flooding-igp command is valid for GMPLS-TE only.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to flood the optical GMPLS link on POS 0/1/0/0 into area 0 of OSPF instance "optical":

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng
RP/0/RP0/CPU0:router(config-mpls-te)# interface pos0/1/0/0
RP/0/RP0/CPU0:router(config-mpls-te-if)# flooding-igp ospf optical area 0

Related Commands

Command
Description

destination

Configures bidirectional optical tunnels.

lmp hello (GMPLS)

Configures LMP IPCC management hello settings.

match (GMPLS)

Configures or matches active and passive tunnels.

passive (GMPLS)

Configures passive GMPLS tunnels.

remote (GMPLS)

Configures remote TE links.

switching (GMPLS)

Configures TE-link switching attributes.


flooding thresholds

To set the reserved bandwidth thresholds for a link, use the flooding thresholds command in MPLS-TE interface configuration mode. To return to the default behavior, use the no form of this command.

flooding thresholds {down | up} percent [percent1 | percent2 | percent3 | ... percent 15]

no flooding thresholds {down | up}

Syntax Description

down

Threshold for decreased resource availability.

up

Threshold for increased resource availability.

percent [percent]

Bandwidth threshold level. Range is 0 to 100 for all 16 levels.


Defaults

down: 100, 99, 98, 97, 96, 95, 90, 85, 80, 75, 60, 45, 30, 15

up: 5, 30, 45, 60, 75, 80, 85, 90, 95, 97, 98, 99, 100

Command Modes

MPLS-TE interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

You can configure up to sixteen flooding threshold values. The first value is mandatory; the next 15 are optional.

When a threshold is crossed, MPLS-TE link management advertises updated link information. If no thresholds are crossed, changes can be flooded periodically unless periodic flooding was disabled.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to set the reserved bandwidth threshold for the link for decreased resource availability (down) and for increased resource availability (up) thresholds:

RP/0/RP0/CPU0:router# configure 
RP/0/RP0/CPU0:router(config)# mpls traffic-eng
RP/0/RP0/CPU0:router(config-mpls-te)# interface POS 0/7/0/0
RP/0/RP0/CPU0:router(config-mpls-te-if)# flooding thresholds down 100 75 25
RP/0/RP0/CPU0:router(config-mpls-te-if)# flooding thresholds up 25 50 100

Related Commands

Command
Description

mpls traffic-eng link-management timers periodic-flooding

Sets the length of the interval used for periodic flooding.

show mpls traffic-eng link-management advertisements

Displays local link information currently being flooded by MPLS-TE link management into the global TE topology.

show mpls traffic-eng link-management bandwidth-allocation

Displays current local link information.


forwarding-adjacency

To configure an MPLS TE forwarding adjacency, use the forwarding-adjacency command in interface configuration mode. To return to the default behavior, use the no form of this command.

forwarding-adjacency [holdtime time]

no forwarding-adjacency [holdtime time]

Syntax Description

holdtime time

(Optional) Holdtime value associated with each forwarding-adjacency LSP in milliseconds. The default is 0.


Defaults

holdtime time: 0

Command Modes

Interface configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

If you do not specify a holdtime time value, a delay is introduced with the following results:

When forwarding-adjacency is configured on a tunnel that is up, TE notifies IGP without any additional delay.

When forwarding-adjacency is not configured on a tunnel, TE notifies IGP without any additional delay.

When forwarding-adjacency is configured on a tunnel that is down, TE does not notify IGP.

When a tunnel on which forwarding-adjacency has been configured comes up, TE holds the notification to IGP for the period of holdtime (assuming nonzero holdtime). When the holdtime elapses, TE notifies IGP if the tunnel is still up.

The paths that traffic is taking to the destination can be manipulated by adjusting the forwarding adjacency link metric. To do that, use the bandwidth command. The unit of possible bandwidth values is in kbps.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure forwarding adjacency with a holdtime value of 60 milliseconds:

RP/0/RP0/CPU0:router# configure 
RP/0/RP0/CPU0:router(config)# interface tunnel-te 888
RP/0/RP0/CPU0:router(config-if)# forwarding-adjacency holdtime 60

Related Commands

Command
Description

bandwidth (RSVP)

Configures RSVP bandwidth on an interface using prestandard DS-TE mode.

show mpls traffic-eng forwarding-adjacency

Displays forwarding-adjacency information.


index exclude-address

To exclude an address from a tunnel path entry at a specific index, use the index exclude-address command in explicit path configuration mode. To return to the default behavior, use the no form of this command.

index index-id {exclude-address ipv4 unicast A.B.C.D.}

no index index-id

Syntax Description

index-id

Index number at which the path entry is inserted or modified. Range is 1 to 65535.

exclude-address

To exclude an address from an IP explicit path of a tunnel, use the exclude-address command in explicit path.

ipv4 unicast A.B.C.D.

IPv4 unicast address to be excluded.


Defaults

No default behavior or values

Command Modes

Explicit path configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Support for the ipv4 unicast keyword was added.

Release 3.3.0

No modification.

Release 3.4.0

The index (explicit path) command was modified to create two separate commands: index exclude-address and index next-address.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

You cannot include or exclude addresses from an IP explicit path unless explicitly configured using the exclude-address keyword.

Use the exclude-address keyword only after entering the explicit path configuration mode.

If you use the exclude-address keyword and specify the IP address of a link, the constraint-based routine does not consider that link when it sets up MPLS-TE paths. If the excluded address is a flooded MPLS-TE router ID, the constraint-based shortest path first (SPF) routine does not consider that entire node.


Note The person who performs the configuration must know the IDs of the routers, as it may not be apparent if the value refers to the link or to the node.


MPLS-TE accepts IP explicit paths composed of all excluded addresses configured using the exclude-address keyword.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to exclude address 192.168.3.2 at index 3 of the explicit path 200:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# explicit-path identifier 200 
RP/0/RP0/CPU0:router(config-expl-path)# index 3 exclude-address ipv4 unicast 192.168.3.2

Related Commands

Command
Description

index next-address

Specifies path entries at a specific index.

show explicit-paths

Displays the configured IP explicit paths.


index next-address

To include a path entry at a specific index, use the index next-address command in explicit path configuration mode. To return to the default behavior, use the no form of this command.

index index-id {next-address [loose | strict] ipv4 unicast A.B.C.D.}

no index index-id

Syntax Description

index-id

Index number at which the path entry is inserted or modified. Range is 1 to 65535.

next-address

To include an address in an IP explicit path of a tunnel, use the next-address command in explicit path.

ipv4 unicast A.B.C.D.

IPv4 unicast address to be included (strict address).

loose ipv4 unicast A.B.C.D.

Specifies the next unicast address in the path as a loose hop.

strict ipv4 unicast A.B.C.D.

Specifies the next unicast address in the path as a strict hop.


Defaults

No default behavior or values

Command Modes

Explicit path configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Support for the ipv4 unicast keyword was added.

Release 3.3.0

No modification.

Release 3.4.0

The index (explicit path) command was added to create two separate commands: index exclude-address and index next-address.

Support was added for loose and strict keywords for the index next-address command.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

You cannot include addresses from an IP explicit path unless explicitly configured using the next-address keyword.

Use the next-address keyword only after entering the explicit path configuration mode.


Note The person who performs the configuration must know the IDs of the routers, as it may not be apparent if the value refers to the link or to the node.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to insert the next-address 192.168.3.2 at index 3 of the explicit path 200:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# explicit-path identifier 200 
RP/0/RP0/CPU0:router(config-expl-path)# index 3 next-address ipv4 unicast 192.168.3.2

Related Commands

Command
Description

index exclude-address

Specifies the next IP address to exclude from the explicit path.

show explicit-paths

Displays configured IP explicit paths.


interface tunnel-te

To configure an MPLS-TE tunnel interface, use the interface tunnel-te command in global configuration mode. To return to the default behavior, use the no form of this command.

interface tunnel-te tunnel-id

no interface tunnel-te tunnel-id

Syntax Description

tunnel-id

Specifies a tunnel number. Range is 0 to 65535.


Defaults

Tunnel interfaces are disabled.

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

You cannot have two tunnels using the same encapsulation mode with exactly the same source and destination address. The workaround is to create a loopback interface, and use the loopback interface address as the source address of the tunnel.

Configuring MPLS-TE links or Tunnel-TE interface begins the TE-control process on RP.

The interface tunnel-te command indicates that the tunnel interface is for an MPLS-TE tunnel and enables the various tunnel MPLS configuration options. Use this command to configure these options:

affinity

autoroute announce

autoroute metric

backup-bw

signalled-bandwidth

signalled-name

fast-reroute

path-option

path-selection

priority

record-route


Note You must configure record-route on TE tunnels that are protected by multiple backup tunnels merging at a single node.


Task ID

Task ID
Operations

interface

read, write


Examples

The following example shows how to configure tunnel interface 1:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-te 1
RP/0/RP0/CPU0:router(config-if)# ipv4 unnumbered loopback0

Related Commands

Command
Description

affinity

Configures an affinity for an MPLS-TE tunnel.

autoroute metric

Instructs the IGP to use the tunnel in its enhanced SPF calculation, if the tunnel is in an up state.

backup-bw

Configures backup bandwidth for FRR.

fast-reroute

Configures an FRR on an MPLS-TE tunnel.

path-option

Configures a path option.

path-selection metric

Configures a path selection metric—TE or IGP.

priority (MPLS-TE)

Configures setup and reservation priority for an MPLS-TE tunnel.

record-route

Configures record-route on an MPLS-TE tunnel.


ipv4 unnumbered (MPLS)

To specify the MPLS-TE tunnel Internet Protocol Version 4 (IPv4) address, use the ipv4 unnumbered command in interface configuration mode. To return to the default behavior, use the no form of this command.

ipv4 unnumbered interface-name

no ipv4 unnumbered interface-name

Syntax Description

interface-name

Name of the interface. (Loopback is commonly used.)


Defaults

No IP address is set

Command Modes

Interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Tunnel-te is not signaled until an IP address is configured on the tunnel interface; therefore, the tunnel state stays down without IP address configuration.

Task ID

Task ID
Operations

network

read, write


Examples

The following example shows how to configure the MPLS-TE tunnel to use the IPv4 address used on loopback interface 0:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-te 1 
RP/0/RP0/CPU0:router(config-if)# ipv4 unnumbered loopback0 

lmp hello (GMPLS)

To configure Link Management Protocol (LMP) IPCC management hello settings, use the lmp hello command in MPLS-TE neighbor lmp configuration submode. To return to the default behavior, use the no form of this command.

lmp hello [hello send interval | hello dead interval]

no lmp hello [hello send interval | hello dead interval]

Syntax Description

hello send interval

Time between sending hello keep alive message. Range is 100 to 21845 milliseconds.

hello dead interval

Time to wait without receiving a hello from the neighbor before declaring the IPCC down again. Range is 100 to 21845 milliseconds.


Defaults

No default behavior or values

Command Modes

MPLS-TE neighbor lmp configuration submode

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

You can disable hellos using the lmp static command.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure Link Management Protocol (LMP) IPCC management hello settings:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng
RP/0/RP0/CPU0:router(config-mpls-te)# lmp neighbor lmp
RP/0/RP0/CPU0:router(config-mpls-te)# lmp neighbor gmpls3 lmp hello 400 1200

Related Commands

Command
Description

destination

Configures bidirectional optical tunnels.

flooding-igp (GMPLS)

Floods selected GMPLS Traffic Engineering links.

match (GMPLS)

Configures or matches active and passive tunnels.

passive (GMPLS)

Configures passive GMPLS tunnels.

remote (GMPLS)

Configures remote TE links.

switching (GMPLS)

Configures TE-link switching attributes.


match (GMPLS)

To match an active tunnel to a passive tunnel, use the match command in interface configuration mode. To return to the default behavior, use the no form of this command.

match identifier tunnel number

no match identifier tunnel number

Syntax Description

identifier

Id of the active tunnel to match with this passive tunnel

tunnel number

Tunnel number. Range is 0 to 65535.


Defaults

No default behavior or values

Command Modes

Interface configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

You must enter the hostname for the head router then underscore _t, and the tunnel number for the head router. If tunnel-te1 is configured on the head router with a hostname of gmpls1, CLI is match identifier gmpls1_t1.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to match the active tunnel ID to the passive tunnel:

RP/0/RP0/CPU0:router(config-if)# interface tunnel-te 1
RP/0/RP0/CPU0:router(config-if)# match identifier gmpls1_t1

Related Commands

Command
Description

destination

Configures bidirectional optical tunnels.

flooding-igp (GMPLS)

Floods selected GMPLS Traffic Engineering links.

lmp hello (GMPLS)

Configures LMP IPCC management hello settings.

passive (GMPLS)

Configures passive GMPLS tunnels.

remote (GMPLS)

Configures remote TE links.

switching (GMPLS)

Configures TE-link switching attributes.


mpls traffic-eng ds-te bc-model

To enable a specific bandwidth constraint model (Maximum Allocation Model or Russian Doll Model) on the entire label switched router (LSR), use the mpls traffic-eng ds-te bc-model command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng ds-te bc-model mam

no mpls traffic-eng ds-te bc-model mam

Syntax Description

mam

Enables the Maximum Allocation Model (MAM) bandwidth constraints model.


Defaults

RDM is the default bandwidth constraint model.

Command Modes

Global configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

You can configure both the MAM and RDM bandwidth values on a single interface before swapping to an alternate global MPLS-TE BC model.

If you configure bandwidth constraints without configuring the corresponding bandwidth constraint values, the router uses default bandwidth constraint values.

MAM is not supported in prestandard DS-TE mode. MAM and RDM are supported in IETF DS-TE mode; RDM is supported in prestandard DS-TE mode.


Note Changing the bandwidth constraints model affects the entire router and may have a major impact on system performance as non-zero-bandwidth tunnels are torn down.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to enable the MAM bandwidth constraints model:

RP/0/RP0/CPU0:router# config
RP/0/RP0/CPU0:router(config)# mpls traffic-eng ds-te bc-model mam

Related Commands

Command
Description

show mpls traffic-eng ds-te te-class

Displays the Diff-Serv TE-class map in use.


mpls traffic-eng ds-te mode

To configure standard differentiated-service TE mode (DS-TE), use the mpls traffic-eng ds-te mode command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng ds-te mode {ietf}

no mpls traffic-eng ds-te mode {ietf}

Syntax Description

ietf

Enables IETF standard mode.


Defaults

Prestandard DS-TE is the default differentiated service mode.

Command Modes

Global configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The following two DS-TE modes are supported:

Prestandard mode

The Cisco proprietary mechanism for IGPs and RSVP signalling are used and DS-TE does not interoperate with third-party vendor equipment.

IETF mode

Standard defined extensions are used for IGPs and RSVP signalling and DS-TE in this mode interoperates with third-party equipment.

IETF mode supports two bandwidth constraint models: the Russian Doll Model (RDM) and Maximum Allocation Model (MAM).

RDM is the default model.

Router advertises variable-length bandwidth constraints, max-reservable- bandwidth, and unreserved bandwidths in TE-classes.

tunnels must have valid class-type and priority configured as per TE-class map in use; otherwise, tunnels remain down.

TE-class map (a set of tunnel priority and class-type values) is enabled to interpret unreserved bandwidth values advertised in IGP; therefore, TE-.class map must be identical on all nodes for TE tunnels to be successfully established

For DS-TE to function properly, DS-TE modes must be configured identically on all MPLS-TE nodes.

If you need to change the DS-TE mode, you must bring down all tunnel interfaces and, after the change, you should flood the updated bandwidth values through the network.


Caution Changing the DS-TE mode affects the entire LSR and can have a major impact on system performance when tunnels are torn down.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to enable IETF standard mode:

RP/0/RP0/CPU0:router# config
RP/0/RP0/CPU0:router(config)# mpls traffic-eng ds-te mode ietf

Related Commands

Command
Description

mpls traffic-eng ds-te te-classes

Configures MPLS DS-TE TE-class maps.

show mpls traffic-eng ds-te te-class

Displays the Diff-Serv TE-class map in use.


mpls traffic-eng ds-te te-classes

To enter DS-TE te-class map configuration mode, use the mpls traffic-eng ds-te te-classes command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng ds-te te-classes {te-class te_class_index class-type class_type_number priority pri_number}

no mpls traffic-eng ds-te te-classes {te-class te_class_index class-type class_type_number priority pri_number}

Syntax Description

te-class

Configures the te-class map.

te_class_index

TE class-map index. Range is 0 to 7.

class-type

Class type to be used

class_type_number

Class type value in the te-class map. Range is 0 to 1.

priority

TE tunnel priority.

pri_number

TE tunnel priority value. Range is 0 to 7.


Defaults

The following default te-class maps are used in IETF DS-TE mode

te-class index
class-type
priority

0

0

7

1

1

7

2

UNUSED

 

3

UNUSED

 

4

0

0

5

1

0

6

UNUSED

 

7

UNUSED

 


Note The default mapping has 4 TE-classes used with 2 class-types and 4 TE-classes are unused.

TE-class map is not used in prestandard DS-TE mode.


Command Modes

Global configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

In IETF DS-TE mode, modified semantic of the unreserved bandwidth TLV is used. Each of the eight available bandwidth values advertised in the IGP corresponds to a TE class. Because IGP advertises only eight bandwidth values, only eight TE-Classes can be supported in a IETF DS-TE network. The TE-Class mapping must be configured the same way on every router in a DS-TE domain. There is, however, no method by which to automatically detect or enforce this required consistency.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure a TE-class 7 parameter:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng ds-te te-classes
RP/0/RP0/CPU0:router(config-te-class)# te-class 7 class-type 0 priority 4

Related Commands

Command
Description

mpls traffic-eng ds-te te-classes

Configures MPLS DS-TE TE-class maps.

show mpls traffic-eng ds-te te-class

Displays the Diff-Serv TE-class map in use.


mpls traffic-eng fast-reroute promote

To configure the router to assign a new or more efficient backup MPLS-TE tunnels to protected MPLS-TE tunnels, use the mpls traffic-eng fast-reroute promote command in EXEC mode.

mpls traffic-eng fast-reroute promote

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.2

This command was introduced on the Cisco CRS-1 and the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to initiate backup tunnel promote and assignment:

RP/0/RP0/CPU0:router# mpls traffic-eng fast-reroute promote

Related Commands

Command
Description

mpls traffic-eng fast-reroute timers promotion

Specifies how often the router considers switching a protected MPLS-TE tunnel to a new backup tunnel.


mpls traffic-eng fast-reroute timers promotion

To specify how often the router considers switching a protected MPLS-TE tunnel to a new backup tunnel if additional backup-bandwidth or a better backup tunnel becomes available, use the mpls traffic-eng fast-reroute timers promotion command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng fast-reroute timers promotion {interval}

no mpls traffic-eng fast-reroute timers promotion

Syntax Description

interval

Interval (in seconds) between scans to determine if a label switched path (LSP) should use a new, better backup tunnel. Range is 0 to 604800. A value of 0 disables backup tunnel promotions.


Defaults

interval: 300 seconds (5 minutes)

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was introduced on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Setting the interval to a low value puts more load on the CPU because it has to scan all protected LSPs more frequently. It is not recommended that the timer be configured below the default value of 300 seconds.

Pacing mechanisms have been implemented to distribute the load on the CPU when backup promotion is active. Because of this, when a large number of protected LSPs are promoted, some delay is noticeable in backup promotion/assignment. Also, if the promotion timer is configured to a very low value, depending on the number of protected LSPs, some protected LSPs may never get promoted.

To disable this timer, set the timer value to zero.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to specify that LSPs are scanned every 600 seconds (10 minutes) to determine if they should be promoted to a better backup tunnel:

RP/0/RP0/CPU0:router# config
RP/0/RP0/CPU0:router(config)# mpls traffic-eng fast-reroute timers promotion 600

Related Commands

Command
Description

mpls traffic-eng fast-reroute promote

Configures the router to use a new or more efficient backup MPLS-TE tunnel when a current tunnel is overloaded.


mpls traffic-eng interface

To enable MPLS-TE on an interface and to enter MPLS-TE interface submode, use the mpls traffic-eng interface command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng interface type instance

no mpls traffic-eng interface type instance

Syntax Description

interface

(Optional) Displays information on the specified interface.

type

Interface type. For more information, use the question mark (?) online help function.

instance

Either a physical interface instance or a virtual interface instance as follows:

Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

rack: Chassis number of the rack.

slot: Physical slot number of the modular services card or line card.

module: Module number. A physical layer interface module (PLIM) is always 0.

port: Physical port number of the interface.

Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0.
Example: interface MgmtEth0/RP1/CPU0/0.

Virtual interface instance. Number range varies depending on interface type.

For more information about the syntax for the router, use the question mark (?) online help function.


Defaults

No default behavior or values

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was introduced on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

You must enter MPLS-TE interface mode to configure specific interface parameters on physical interfaces.

Configuring MPLS-TE or Tunnel-TE begins the TE-control process on RP.


Note The maximum number of interfaces, which includes bundle links, are limited to 100 under MPLS-TE.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to enter the MPLS-TE interface configuration mode:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng
RP/0/RP0/CPU0:router(config-mpls-te)# interface POS 0/7/0/1

The following example shows how to remove an interface from the MPLS-TE domain:

RP/0/RP0/CPU0:router# configure 
RP/0/RP0/CPU0:router(config)# mpls traffic-eng
RP/0/RP0/CPU0:router(config-mpls-te)# no interface POS 0/7/0/1

mpls traffic-eng level

To configure a router running Intermediate System-to-System (IS-IS) MPLS-TE at IS-IS Level 1 and Level 2, use the mpls traffic-eng level command in router configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng level {isis-level}

no mpls traffic-eng level {isis-level}

Syntax Description

isis-level

IS-IS level (1, 2, or both) where MPLS-TE is enabled.


Defaults

No default behavior or values

Command Modes

Router configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was introduced on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

Support was added to enable MPLS Traffic Engineering in both IS-IS Level 1 and Level 2.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The mpls traffic-eng level command is supported for IS-IS and affects the operation of MPLS-TE only if MPLS-TE is enabled for that routing protocol instance.

Task ID

Task ID
Operations

isis

read, write


Examples

The following example shows how to configure a router running IS-IS MPLS to flood TE for IS-IS level 1:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# router isis 1
RP/0/RP0/CPU0:router(config-isis)# address-family ipv4 unicast
RP/0/RP0/CPU0:router(config-isis-af)# mpls traffic-eng level 1
RP/0/RP0/CPU0:router(config-isis-af)# metric-style wide

Related Commands

Command
Description

mpls traffic-eng router-id

Specifies that the TE router identifier for the node is the IP address associated with a given interface.


mpls traffic-eng link-management flood

To initiate an immediate flooding of all the local MPLS-TE links, use the mpls traffic-eng link-management flood command in EXEC mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng link-management flood

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was introduced on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.


Note If there is no change in the LSA since last flooding, IGP may dampen the advertisement.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to initiate flooding of the local MPLS-TE links:

RP/0/RP0/CPU0:router# mpls traffic-eng link-management flood

Related Commands

Command
Description

show mpls traffic-eng link-management advertisements

Show MPLS-TE link-management advertisements.


mpls traffic-eng link-management timers bandwidth-hold

To set the length of time that bandwidth is held for a Resource Reservation Protocol (RSVP) Path (setup) message to wait for the corresponding RSVP Resv message to return, use the mpls traffic-eng link-management timers bandwidth-hold command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng link-management timers bandwidth-hold holdtime

no mpls traffic-eng link-management timers bandwidth-hold holdtime

Syntax Description

holdtime

Number of seconds that bandwidth can be held. Range is 1 to 300. Default is 15.


Defaults

holdtime: 15 seconds

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was introduced on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

This command determines the time allowed for an RSVP message to return from a neighbor RSVP node.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to set the bandwidth to be held for 10 seconds:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng link-management timers bandwidth-hold 10

Related Commands

Command
Description

show mpls traffic-eng link-management bandwidth-allocation

Displays current local link information and bandwidth hold time.


mpls traffic-eng link-management timers periodic-flooding

To set the length of the interval for periodic flooding, use the mpls traffic-eng link-management timers periodic-flooding command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng link-management timers periodic-flooding interval

no mpls traffic-eng link-management timers periodic-flooding

Syntax Description

interval

Length of the interval (in seconds) for periodic flooding. Range is 0 to 3600. A value of 0 turns off periodic flooding. The minimum value is 30 seconds.


Defaults

interval: 180 seconds (3 minutes)

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was introduced on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the mpls traffic-eng link-management timers periodic-flooding command to advertise link state information changes that do not trigger immediate action, such as a change to the allocated bandwidth that does not cross a threshold.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to set the interval length for periodic flooding to 120 seconds:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng link-management timers periodic-flooding 
120

Related Commands

Command
Description

flooding thresholds

Sets the reserved bandwidth flooding thresholds for a link.

show mpls traffic-eng link-management summary

Displays the current periodic flooding interval.


mpls traffic-eng lmp router-id

To configure the router ID for the optical instance using the LMP protocol, use the mpls traffic-eng lmp router-id command in MPLS-TE configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng lmp router-id [ipv4 address | interface-name]

no mpls traffic-eng lmp router-id [ipv4 address | interface-name]

Syntax Description

ipv4 address

(Optional) The router ID expressed as an IPv4 address.

interface-name

(Optional) The router ID expressed as an interface name.


Defaults

No default behavior or values

Command Modes

MPLS-TE configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how configure the LMP router ID for IPv4 address 172.24.20.164:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-engineering
RP/0/RP0/CPU0:router(config-mpls-te)# lmp router-id router 172.24.20.164

Related Commands

Command
Description

clear mpls lmp

Clears Link Management Protocol (LMP) management hello settings.


mpls traffic-eng maximum tunnels

To specify the maximum number of MPLS-TE tunnels that can be configured, use the mpls traffic-eng maximum tunnels command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng maximum tunnels {tunnel-limit}

no mpls traffic-eng maximum tunnels {tunnel-limit}

Syntax Description

tunnel-limit

Maximum number of tunnel TE interfaces. Range is 0 to 65536.


Defaults

tunnel-limit: 2500

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was introduced on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to set the tunnel-te configuration limit to 3000:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng maximum tunnels 3000

Related Commands

Command
Description

show mpls traffic-eng maximum tunnels

Displays the configuration of the maximum tunnel-te interfaces allowed.


mpls traffic-eng path-protection switchover (GMPLS)

To specify a manual switchover for path protection for a GMPLS optical LSP, use the mpls traffic-eng path-protection switchover command in global configuration mode. To disable this feature, use the no form of this command.

mpls traffic-eng path-protection switchover {tunnel name | number}

no mpls traffic-eng path-protection switchover {tunnel name | number}

Syntax Description

tunnel name

Name of the tunnel that is used for a switchover.

number

Tunnel ID number for the tunnel that is used for a switchover. The range is from 0 to 65535.


Defaults

No manual path protection is invoked on either the head or tail router.

Command Modes

Global configuration

Command History

Release
Modification

Release 3.3.2

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the mpls traffic-eng path-protection switchover command to run on both tunnel head and tunnel tail at the same time. The mpls traffic-eng path-protection switchover command must be issued on both head and tail router of the GMPLS LSP to achieve the complete path switchover at both ends.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example sets the tunnel ID number to 1:

RP/0/RP0/CPU0:router(config)# mpls traffic-eng path-protection switchover 1

Related Commands

Command
Description

path-option

Configures a path option for an MPLS-TE tunnel.


mpls traffic-eng path-selection loose-expansion affinity

To specify the affinity value to be used to expand a path to the next loose hop for a tunnel on an area border router, use the mpls traffic-eng path-selection loose-expansion affinity command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng path-selection loose-expansion affinity affinity-value mask affinity-mask [class-type type]

no mpls traffic-eng path-selection loose-expansion affinity affinity-value mask affinity-mask [class-type type]

Syntax Description

affinity-value

Attribute values required for links carrying this tunnel. A 32-bit decimal number. Range is 0x0 to 0xFFFFFFFF, representing 32 attributes (bits), where the value of an attribute is 0 or 1.

mask affinity-mask

Link attribute to be checked. A 32-bit decimal number. Range is 0x0 to 0xFFFFFFFF, representing 32 attributes (bits), where the value of an attribute mask is 0 or 1.

class-type type

[Optional] Class-type of the tunnel bandwidth request. Range is 0 to 1.


Defaults

affinity-value: 0X00000000

mask-value: 0XFFFFFFFF

Command Modes

Global configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Note that new affinity scheme (based on names) is not supported for loose hop expansion.

Note that new configuration does not affect the already Up tunnels.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure affinity 0x55 with mask 0xFFFFFFFF:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng path-selection loose-expansion affinity 55 
mask FFFFFFFF

Related Commands

Command
Description

mpls traffic-eng path-selection loose-expansion metric

Configures a metric type to be used to expand a path to the next loose hop for a tunnel on an area border router.

mpls traffic-eng path-selection metric

Configures the MPLS-TE tunnel path-selection metric.


mpls traffic-eng path-selection loose-expansion metric

To specify a metric type to be used to expand a path to the next loose hop for a tunnel on an area border router, use the mpls traffic-eng path-selection loose-expansion metric command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng path-selection loose-expansion metric {igp | te} [class-type type]

no mpls traffic-eng path-selection loose-expansion metric {igp | te} [class-type type]

Syntax Description

igp

Uses an Interior Gateway Protocol (IGP) metric.

te

Uses a TE metric. This is the default.

class-type type

(Optional) Class-type of the tunnel bandwidth request. Range is 0 to 1.


Defaults

TE Metric

Command Modes

Global configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.


Note New configurations do not affect tunnels that are already up.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to set the path-selection metric to use the IGP metric overwriting default:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng path-selection loose-expansion metric igp

Related Commands

Command
Description

mpls traffic-eng path-selection loose-expansion affinity

Configures the affinity value to be used to expand a path to the next loose hop for a tunnel on an area border router.

mpls traffic-eng path-selection metric

Configures a metric type to be used to expand a path to the next loose hop for a tunnel on an area border router.


mpls traffic-eng path-selection metric

To specify the MPLS-TE tunnel path-selection metric, use the mpls traffic-eng path-selection metric command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng path-selection metric {igp | te}

no mpls traffic-eng path-selection metric {igp | te}

Syntax Description

igp

Uses an Interior Gateway Protocol (IGP) metric.

te

Uses a TE metric. This is the default variable.


Defaults

TE metric

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was introduced on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The metric type to be used for path calculation for a given tunnel is determined as follows:

If the path-selection metric command was entered to specify a metric type for the tunnel, use that metric type.

If the mpls traffic-eng path-selection metric command was entered to specify a metric type, use that metric type.

Otherwise, use the default (TE) metric.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to set the path-selection metric to use the IGP metric overwriting default:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng path-selection metric igp

Related Commands

Command
Description

mpls traffic-eng path-selection loose-expansion affinity

Configures the affinity value to be used to expand a path to the next loose hop for a tunnel on an area border router.

mpls traffic-eng path-selection loose-expansion metric

Configures a metric type to be used to expand a path to the next loose hop for a tunnel on an area border router.


mpls traffic-eng reoptimize (Config)

To configure the reoptimization interval for all TE tunnels, use the mpls traffic-eng reoptimize command in EXEC mode. To return to the default behavior, use the no form of this command

mpls traffic-eng reoptimize {frequency}

no mpls traffic-eng reoptimize {frequency}

Syntax Description

frequency

Timer frequency range. Range is 0 to 604800.


Defaults

3600 seconds

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure reoptimization interval to 60 seconds:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router#(config) mpls traffic-eng reoptimize 60

Related Commands

Command
Description

mpls traffic-eng reoptimize (EXEC)

Configures the reoptimization interval of all TE tunnels.


mpls traffic-eng reoptimize (EXEC)

To force immediate reoptimization of all TE tunnels, use the mpls traffic-eng reoptimize command in EXEC mode.

mpls traffic-eng reoptimize [tunnel_id | tunnel_name]

Syntax Description

tunnel_id

MPLS-TE tunnel identification expressed as a number.

tunnel_name

TE tunnel identification expressed as a name.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to immediately reoptimize all TE tunnels reoptimized:

RP/0/RP0/CPU0:router# mpls traffic-eng reoptimize

The following example shows how to immediately reoptimize TE tunnel-te90:

RP/0/RP0/CPU0:router# mpls traffic-eng reoptimize tunnel-te90

Related Commands

Command
Description

mpls traffic-eng reoptimize (Config)

Forces immediate reoptimization of all TE tunnels.


mpls traffic-eng reoptimize timers delay

To delay removal or relabeling of the old label switched paths (LSPs) (reoptimized LSP from the forwarding plane) after tunnel reoptimization, use the mpls traffic-eng reoptimize timers delay command in global configuration mode. To restore the default value, use the no form of this command.

mpls traffic-eng reoptimize timers delay {cleanup | installation} delay-time

no mpls traffic-eng reoptimize timers delay {cleanup | installation} delay-time

Syntax Description

cleanup

Delays removal of the old LSPs after tunnel reoptimization.

installation

Delays installation of a new label after tunnel reoptimization.

delay-time

Reoptimization delay time in seconds. A value of 0 disables delay. The valid range is from 0 to 300 seconds for cleanup time, and 0 to 3600 seconds for installation time.


Defaults

cleanup: 20 seconds

installation: 20 seconds

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

A device with Multiprotocol Label Switching traffic engineering (MPLS TE) tunnels periodically examines tunnels with established LSPs to discover if more efficient LSPs (paths) are available. If a better LSP is available, the device signals the more efficient LSP; if the signaling is successful, the device replaces the older LSP with the new, more efficient LSP.

Sometimes the slower router-point nodes may not yet utilize the new label's forwarding plane. In this case, if the headend node replaces the labels quickly, it can result in brief packet loss. By delaying the cleanup of the old LSP using the mpls traffic-eng reoptimize timers delay cleanup command, packet loss is avoided.

Examples

The following example shows how to set the reoptimization cleanup delay time to 1 minute:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng reoptimize timer delay cleanup 60 

The following example shows how to set the reoptimization installation delay time to 1 hour:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng reoptimize delay installation 3600 

Related Commands

Command
Description

mpls traffic-eng reoptimize (Config)

Reoptimizes all traffic engineering tunnels immediately.

mpls traffic-eng reoptimize (EXEC)

Configures the reoptimization interval of all TE tunnels.


mpls traffic-eng router-id

To specify that the TE router identifier for the node is the IP address associated with a given interface, use the mpls traffic-eng router-id command in router configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng router-id interface-name

no mpls traffic-eng no router-id interface-name

Syntax Description

interface-name

Interface whose primary IP address is the router's identifier.


Defaults

No default behavior or values

Command Modes

Router configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

A routers identifier acts as a stable IP address for the TE configuration. This IP address is flooded to all nodes. You must set the destination on the destination node TE router identifier for all affected tunnels. This router ID is the address that the TE topology database at the tunnel head uses for its path calculation.


Note When the mpls traffic-eng router-id command is not configured, global router ID is used by MPLS-TE if there is one configured.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following examples show how to specify the TE router identifier as the IP address associated with loopback interface:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# router ospf 1 
RP/0/RP0/CPU0:router(config-ospf)# mpls traffic-eng router-id Loopback0

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# router isis 1
RP/0/RP0/CPU0:router(config-isis)# address-family ipv4 unicast
RP/0/RP0/CPU0:router(config-isis-af)# mpls traffic-eng router-id Loopback0

Related Commands

Command
Description

mpls traffic-eng level

Configures a router running OSPF MPLS so that it floods TE for the indicated IS-IS level.

mpls traffic-eng router-id secondary

Configures a secondary TE router identifier in MPLS-TE to be used locally (not advertised).


mpls traffic-eng router-id secondary

To configure a secondary TE router identifier in MPLS-TE to be used locally (not advertised through IGP), use the mpls traffic-eng router-id secondary command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng router-id secondary A.B.C.D

no mpls traffic-eng no router-id secondary A.B.C.D

Syntax Description

A.B.C.D

IPv4 address to be used as secondary TE router ID.


Defaults

No default behavior or values

Command Modes

Global configuration

Command History

Release
Modification

Release 3.4.1

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the mpls traffic-eng router-id secondary command on tail end nodes to terminate verbatim tunnels to secondary TE RIDs as destinations.

You can configure up to 32 IPv4 addresses as TE secondary router IDs.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure a secondary TE router identifier in MPLS-TE:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng router-id secondary 1.1.1.1
RP/0/RP0/CPU0:router(config)# mpls traffic-eng router-id secondary 2.2.2.2

Related Commands

Command
Description

mpls traffic-eng router-id

Specifies that the TE router identifier for the node is the IP address associated with a given interface.


mpls traffic-eng signalling advertise explicit-null

To specify that tunnels terminating on a router use explicit-null labels, use the mpls traffic-eng signalling advertise explicit-null command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng signalling advertise explicit-null

no mpls traffic-eng signalling advertise explicit-null

Syntax Description

This command has no arguments or keywords.

Defaults

Implicit-null labels are advertised.

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the mpls traffic-eng signalling advertise explicit-null command to specify that tunnels terminating on this router use explicit-null labels. This command applies to tunnel labels advertised to next to last (penultimate) hop.

The explicit label is used to carry quality-of-service (QoS) information up to the terminating-end router of the label switched path (LSP).

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure explicit null tunnel labels:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng signalling advertise explicit-null

Related Commands

Command
Description

mpls traffic-eng path-selection loose-expansion metric

Configures a metric type to be used to expand a path to the next loose hop for a tunnel on an area border router.


mpls traffic-eng timers loose-path

To configure the period between the headend retries after path errors, use the mpls traffic-eng timers loose-path command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng timers loose-path retry-period value

no mpls traffic-eng timers loose-path retry-period value

Syntax Description

retry-period value

Time between retries upon a path error. Range is 30 to 600 seconds.


Defaults

retry-period value: 120 seconds

Command Modes

Global configuration

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to the period between retries after path errors to 300 seconds:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng timers loose-path retry-period 300

Related Commands

Command
Description

mpls traffic-eng path-selection loose-expansion affinity

Displays the MPLS TE network topology.


mpls traffic-eng topology holddown sigerr

To specify the time that a router should ignore a link in its TE topology database in tunnel path Constrained Shortest Path First (CSPF) computations following a TE tunnel signalling error on the link, use the mpls traffic-eng topology holddown sigerr command in global configuration mode. To return to the default behavior, use the no form of this command.

mpls traffic-eng topology holddown sigerr seconds

no mpls traffic-eng topology holddown sigerr seconds

Syntax Description

seconds

Time router ignores a link during tunnel path calculations, following a TE tunnel error on the link. Range is 0 to 300. Default is 10.


Defaults

seconds: 10

Command Modes

Global configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

A router at the headend for TE tunnels can receive a Resource Reservation Protocol (RSVP) No Route error message before the router receives a topology update from the IGP routing protocol announcing that the link is down. When this happens, the headend router ignores the link in subsequent tunnel path calculations to avoid generating paths that include the link and are likely to fail when signaled. The link is ignored until the router receives a topology update from its IGP or a link holddown timeout occurs. Use the mpls traffic-eng topology holddown sigerr command to change the link holddown time from its 10-second default value.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to set the link holddown time for signaling errors at 15 seconds:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls traffic-eng topology holddown sigerr 15

Related Commands

Command
Description

show mpls traffic-eng topology

Displays the current MPLS-TE global topology of this node as well as the signaling error holddown time.


passive (GMPLS)

To configure a passive GMPLS tunnel, use the passive command in tunnel-te interface configuration mode. To return to the default behavior, use the no form of this command.

passive

no passive

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values

Command Modes

Interface tunnel-te configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure a passive GMPLS virtual interface tunnel:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-te 99
RP/0/RP0/CPU0:router(config-if)# passive

Related Commands

Command
Description

destination

Configures bidirectional optical tunnels.

flooding-igp (GMPLS)

Floods selected GMPLS Traffic Engineering links.

lmp hello (GMPLS)

Configures LMP IPCC management hello settings.

match (GMPLS)

Configures or matches active and passive tunnels.

remote (GMPLS)

Configures remote TE links.

switching (GMPLS)

Configures TE-link switching attributes.


path-option

To configure a path option for an MPLS-TE tunnel, use the path-option command in tunnel-te interface configuration mode. To return to the default behavior, use the no form of this command.

path-option {number | protecting number} {dynamic | explicit {name pathname | path-number}} [verbatim] [lockdown]

no path-option {number | protecting number} {dynamic | explicit {name pathname | path-number}} [verbatim] [lockdown]

Syntax Description

number

Path option number. When multiple path options are configured, lower numbered options are preferred. Range is 1 to 1000.

protecting number

Path setup option to protect a path. The range for the path option number is 1 to 1000. The protecting keyword specifies that you can configure path-protection for the primary LSP. You specify the backup path for the path-option command in case of the primary path failure.

dynamic

Label switched path (LSP) is dynamically calculated.

explicit

LSP path is an IP explicit path.

name pathname

Pathname of the IP explicit path that the tunnel uses with this option.

path-number

Path number of the IP explicit path that the tunnel uses with this option.

verbatim

(Optional) Bypass Topology/CSPF check for the explicit path specified in the path-option command.

lockdown

(Optional) The LSP cannot be reoptimized.


Defaults

No default behavior or values

Command Modes

Tunnel-te interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.3.2

The protecting keyword was added to support GMPLS protection and restoration.

Release 3.4.0

No modification.

Release 3.4.1

Both the verbatim and lockdown keywords can be used together.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

You can configure several path options for a single tunnel. For example, there can be several explicit path options and a dynamic option for one tunnel. The path setup preference is for lower (not higher) numbers, so option 1 is preferred.

When the lower number path option fails, the next path option is used to set up a tunnel automatically (unless using the lockdown option).

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure the tunnel to use a named IPv4 explicit path as verbatim and lockdown options for the tunnel. This tunnel cannot reoptimize when the FRR event goes away; unless, you manually reoptimize it:

RP/0/RP0/CPU0:router(config)# interface tunnel-te 1 
RP/0/RP0/CPU0:router(config-if)# path-option 1 explicit name test verbatim lockdown

The following example shows how to enable path protection on a tunnel to configure an explicit path:

RP/0/RP0/CPU0:router(config)# interface tunnel-te 1 
RP/0/RP0/CPU0:router(config-if)# path-option 1 explicit name po4
RP/0/RP0/CPU0:router(config-if)# path-option protecting 1 explicit name po6

Related Commands

Command
Description

mpls traffic-eng path-protection switchover (GMPLS)

Specifies a switchover for path protection.

show explicit-paths

Displays the configured IP explicit paths.


path-selection metric

To specify an MPLS-TE tunnel path-selection metric type, use the path-selection metric command in interface configuration mode. To return to the default behavior, use the no form of this command.

path-selection metric {igp | te}

no path-selection metric {igp | te}

Syntax Description

igp

Uses Interior Gateway Protocol (IGP) metrics.

te

Uses TE metrics. This is the default.


Defaults

TE metrics

Command Modes

Interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The metric type to be used for path calculation for a given tunnel is determined as follows:

If the path-selection metric command was entered to specify a metric type for the tunnel, use that metric type.

If the mpls traffic-eng path-selection metric command was entered to specify a metric type, use that metric type.

Otherwise, use the default (TE) metric.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to designate that the MPLS-TE tunnel use the IGP metric for path selection:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-te 1 
RP/0/RP0/CPU0:router(config-if)# path-selection metric igp 

Related Commands

Command
Description

show mpls traffic-eng topology

Displays the tunnel path used.


priority (MPLS-TE)

To configure the setup and reservation priority for an MPLS-TE tunnel, use the priority command in interface configuration mode. To return to the default behavior, use the no form of this command.

priority setup-priority hold-priority

no priority setup-priority hold-priority

Syntax Description

setup-priority

The priority used when signaling a label switched path (LSP) for this tunnel to determine which existing tunnels can be preempted. Range is 0 to 7 (where a lower number indicates a higher priority). Therefore, an LSP with a setup priority of 0 can preempt any LSP with a non-0 priority.

hold-priority

The priority associated with an LSP for this tunnel to determine if it should be preempted by other LSPs that are being signaled. Range is 0 to 7 (where a lower number indicates a higher priority).


Defaults

setup-priority: 7

hold-priority: 7

Command Modes

Interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

When an LSP is signaled and an interface does not currently have enough bandwidth available for that LSP, the call admission software (if necessary) preempts lower-priority LSPs to admit the new LSP. Accordingly, the new LSP priority is the setup priority and the existing LSP priority is the hold priority. The two priorities make it possible to signal an LSP with a low setup priority (so that the LSP does not preempt other LSPs on setup) and a high hold priority (so that the LSP is not preempted after it is established). Setup priority and hold priority are typically configured to be equal, and setup priority cannot be numerically smaller than the hold priority.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure a tunnel with a setup and hold priority of 1:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-te 1 
RP/0/RP0/CPU0:router(config-if)# priority 1 1 

Related Commands

Command
Description

interface tunnel-te

Sets the mode of a tunnel to MPLS for TE, and enters interface configuration mode.


record-route

To record the route used by a tunnel, use the record-route command in interface configuration mode. To return to the default behavior, use the no form of this command.

record-route

no record-route

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values

Command Modes

Interface configuration

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.


Note You must configure record-route on TE tunnels that are protected by multiple backup tunnels merging at a single node.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to enable record-route on the TE tunnel:

RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-te 1 
RP/0/RP0/CPU0:router(config-if)# record-route 

Related Commands

Command
Description

show mpls traffic-eng tunnels

Displays the hops traversed by the tunnel.


remote (GMPLS)

To configure LMP Neighbor remote TE links, use the remote command in MPLS-TE interface lmp data link adjacency configuration mode. To return to the default behavior, use the no form of this command.

remote {interface-id unnum identifier | switching capability {fsc | lsc | psc1} | te-link-id {ipv4 address | unnum identifier}}

Syntax Description

interface-id

LMP Neighbor remote interface identifier.

unnum identifier

Unnumbered interface identifier. Range is 1 to 4294967295.

switching-capability

Remote LMP MPLS TE interface switching capability.

fsc | lsc | psc1

Capability types: Fiber-Switch Capable, Lambda-Switch Capable, Packet-Switch Capable.

te-link-id

Remote LMP MPLS TE link ID address.

ipv4 address

IPv4 address.

unnum identifier

Unnumbered interface and identifier.


Defaults

No default behavior or values

Command Modes

LMP data link adjacency configuration mode

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following example shows how to configure LMP Neighbor remote TE links for unnumber interface-id 1066:

RP0/0/RP0/CPU0:router# configure
RP0/0/RP0/CPU0:router(config)# mpls traffic-eng
RP0/0/RP0/CPU0:router(config-mpls-te)# interface POS 0/1/0/0
RP0/0/RP0/CPU0:router(config-mpls-te-if)# lmp data-link adjacency
RP0/0/RP0/CPU0:router(config-mpls-te-if-adj)# remote interface-id unnnum 1066

Related Commands

Command
Description

destination

Configures bidirectional optical tunnels.

flooding-igp (GMPLS)

Floods selected GMPLS Traffic Engineering links.

lmp hello (GMPLS)

Configures LMP IPCC management hello settings.

match (GMPLS)

Configures or matches active and passive tunnels.

passive (GMPLS)

Configures passive GMPLS tunnels.

switching (GMPLS)

Configures TE-link switching attributes.


show explicit-paths

To display the configured IP explicit paths, use the show explicit-paths command in EXEC mode.

show explicit-paths [path name | identifier number]

Syntax Description

path name

(Optional) Name of the explicit path.

identifier number

(Optional) Number of the explicit path. Range is 1 to 65535.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

An IP explicit path is a list of IP addresses that represent a node or link in the explicit path.

Task ID

Task ID
Operations

mpls-te

read


Examples

The following is sample output from the show explicit-paths command:

RP/0/RP0/CPU0:router# show explicit-paths

Path ToR2    status enabled 
        0x1: next-address 192.168.1.2 
        0x2: next-address 10.20.20.20 
Path ToR3    status enabled 
        0x1: next-address 192.168.1.2
        0x2: next-address 192.168.2.2 
        0x3: next-address 10.30.30.30
Path 100    status enabled 
        0x1: next-address 192.168.1.2 
        0x2: next-address 10.20.20.20 
Path 200    status enabled
        0x1: next-address 192.168.1.2
        0x2: next-address 192.168.2.2 
        0x3: next-address 10.30.30.30

Table 47 describes the significant fields shown in the display.

Table 47 show explicit-paths Field Descriptions 

Field
Description

Path

Pathname or number, followed by the path status.

1: next-address

First IP address in the path.

2: next-address

Second IP address in the path.


The following is sample output from the show explicit-paths command using a specific path name:

RP/0/RP0/CPU0:router# show explicit-paths name ToR3

Path ToR3    status enabled 
        0x1:  next-address 192.168.1.2
        0x2:  next-address 192.168.2.2 
        0x3:  next-address 10.30.30.30

The following is sample output from the show explicit-paths command using a specific path number:

RP/0/RP0/CPU0:router# show explicit-paths identifier 200

Path 200    status enabled
        0x1:  next-address 192.168.1.2
        0x2:  next-address 192.168.2.2 
        0x3:  next-address 10.30.30.30

Related Commands

Command
Description

index exclude-address

Specifies the next IP address to exclude from the explicit path.

index next-address

Specifies path entries at a specific index.


show mpls traffic-eng affinity-map

To display the color name-to-value mappings configured on the router, use the show mpls traffic-eng autoroute command in EXEC mode.

show mpls traffic-eng affinity-map]

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

If the affinity value of an affinity associated with an affinity constraint is unknown, the show mpls traffic-eng affinity-map command output displays: "(refers to undefined affinity name)"

Task ID

Task ID
Operations

mpls-te

read


Examples

The following is sample output from the show mpls traffic-eng affinity-map command:

RP/0/RP0/CPU0:router# show mpls traffic-eng affinity-map

Affinity Name       Affinity Value
-----------------   -----------------
blue                  0x2
green                 0x4
red                   0x1

Table 48 describes the significant fields shown in the display.

Table 48 show mpls traffic-eng affinity-map Field Descriptions 

Field
Description

Affinity Name/Affinity Value

Displays the affinity names and values associated with the tunnel affinity constraints.


Related Commands

Command
Description

affinity

Configures an affinity for an MPLS-TE tunnel

affinity-map

Assigns a numerical value to each affinity name.


show mpls traffic-eng autoroute

To display tunnels that are announced to the Interior Gateway Protocol (IGP), including information about next hop and destinations, use the show mpls traffic-eng autoroute command in EXEC mode.

show mpls traffic-eng autoroute [A.B.C.D.]

Syntax Description

A.B.C.D

(Optional) Displays tunnels leading to this address.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

The enhanced shortest path first (SPF) calculation of the IGP has been modified so that it uses traffic-engineering tunnels. The show mpls traffic-eng autoroute command displays those tunnels IGP is currently using in its enhanced SPF calculation (that is, which tunnels are up and have autoroute configured).

Task ID

Task ID
Operations

mpls-te

read


Examples

The following is sample output from the show mpls traffic-eng autoroute command:

RP/0/RP0/CPU0:router# show mpls traffic-eng autoroute

Destination 103.0.0.3 has 2 tunnels in OSPF 0 area 0
tunnel-te1 (traffic share 1, nexthop 103.0.0.3)
tunnel-te2 (traffic share 1, nexthop 103.0.0.3)

Note Tunnels are organized by destination. All tunnels to a destination carry a share of the traffic tunneled to that destination.


Table 49 describes the significant fields shown in the display.

Table 49 show mpls traffic-eng autoroute Field Descriptions 

Field
Description

Destination

Multiprotocol Label Switching (MPLS) TE tail-end router ID.

traffic share

A factor based on bandwidth, indicating how much traffic this tunnel should carry, relative to other tunnels, to the same destination. If two tunnels go to a single destination, one with a traffic share of 200 and the other with a traffic share of 100, the first tunnel carries two-thirds of the traffic.

Nexthop

Next-hop router ID of the MPLS-TE tunnel.

absolute metric

Metric with mode absolute for the MPLS-TE tunnel.

relative metric

Metric with mode relative for the MPLS-TE tunnel.


Related Commands

Command
Description

autoroute metric

Specifies the MPLS-TE tunnel metric that the IGP-enhanced SPF calculation will use.

mpls traffic-eng topology holddown sigerr

Causes the IGP to use the tunnel (if it is up) in its enhanced SPF calculation.

show mpls traffic-eng tunnels

Displays information about tunnels.


show mpls traffic-eng counters tunnel

To display tunnel signaling statistics, use the show mpls traffic-eng counters tunnel command in EXEC mode.

show mpls traffic-eng counters tunnel {tunnel number | all [heads | tails] | name | summary}

Syntax Description

tunnel number

Displays the input tunnel number.

all

Displays all tunnels.

heads

Displays all tunnel heads.

tails

Displays all tunnel tails.

name

Displays a specific tunnel.

summary

Displays a summary of signaling statistics.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read


Examples

The following is sample output from the show mpls traffic-eng counters tunnel command, using the all keyword, which displays tunnel signaling statistics for all tunnels:

RP/0/RP0/CPU0:router# show mpls traffic-eng counters tunnel all 

Tunnel Head: tunnel-te160
Match Resv Create:       5  Sender Create:       4  Path Error:        0 
Match Resv Change:       0  Sender Modify:       1  Path Change:       0 
Match Resv Delete:       3  Sender Delete:       3  Path Delete:       1 
Total:                  21  Unknown:             4 

Tunnel Head: tunnel-te170
Match Resv Create:       0  Sender Create:       0  Path Error:        0 
Match Resv Change:       0  Sender Modify:       0  Path Change:       0 
Match Resv Delete:       0  Sender Delete:       0  Path Delete:       0 
Total:                   0  Unknown:             0

The following is sample output from the show mpls traffic-eng counters tunnel command using the tunnel number argument, which displays statistics for the input tunnel number:

RP/0/RP0/CPU0:router# show mpls traffic-eng counters tunnel 1

Tunnel Head: tunnel-te1
Match Resv Create:       1  Sender Create:       1  Path Error:        0 
Match Resv Change:       0  Sender Modify:       0  Path Change:       0 
Match Resv Delete:       0  Sender Delete:       0  Path Delete:       0 
Total:                   3  Unknown:             0 

Table 50 describes the significant fields shown in the display.

Table 50 show mpls traffic-eng counters tunnel Field Descriptions 

Field
Description

Tunnel Head

Tunnel head identifier.

Match Resv Create

Number of RSVP Reservation create messages received.

Sender Create

Number of Sender Create messages sent by TE to RSVP.

Path Error

Number of RSVP Path Error messages received.

Match Resv Change

Number of RSVP Reservation change messages received.

Sender Modify

Number of Sender Modify messages sent by TE to RSVP.

Path Change

Number of RSVP Path Change messages received.

Match Resv Delete

Number of RSVP Reservation delete messages received.

Sender Delete

Number of Sender Delete messages sent by TE to RSVP.

Path Delete

Number of RSVP Path Delete messages received.

Total

Total signaling messages received from RSVP.

Unknown

Unknown messages include fast reroute events and internal messages related to process restart.


Related Commands

Command
Description

clear mpls traffic-eng counters tunnels

Clears the counters for MPLS-TE tunnels.


show mpls traffic-eng ds-te te-class

To display the Diff-Serv TE-class map in use, use the show mpls traffic-eng ds-te te-class command in EXEC mode.

show mpls traffic-eng ds-te te-class

Syntax Description

This command has no arguments or keywords.

Command Modes

EXEC

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.


Note TE-class is only used in IETF DS-TE mode.


Task ID

Task ID
Operations

mpls-te

read, write


Examples

The following is sample output from the show mpls traffic-eng ds-te te-class command:

RP/0/RP0/CPU0:router# show mpls traffic-eng ds-te te-class

te-class 0: class-type 0 priority 7 status default
te-class 1: class-type 1 priority 7 status default
te-class 2: unused
te-class 3: unused
te-class 4: class-type 0 priority 0 status default
te-class 5: class-type 1 priority 0 status default
te-class 6: unused
te-class 7: unused

Table 51 describes the significant fields shown in the display.

Table 51 show mpls traffic-eng ds-te te-class Field Descriptions

Field
Description

te-class

TE-class map, pair of class-type and priority.

class-type

class-type of the tunnel

status

Source of the TE-class map, either default or user configured


show mpls traffic-eng forwarding

To display forwarding information on tunnels that were admitted locally, use the show mpls traffic-eng forwarding command in EXEC mode.

show mpls traffic-eng forwarding [interface type interface]

Syntax Description

interface

(Optional) Displays information on the specified interface.

type

Interface type. For more information, use the question mark (?) online help function.

instance

Either a physical interface instance or a virtual interface instance as follows:

Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

rack: Chassis number of the rack.

slot: Physical slot number of the modular services card or line card.

module: Module number. A physical layer interface module (PLIM) is always 0.

port: Physical port number of the interface.

Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0.
Example: interface MgmtEth0/RP1/CPU0/0.

Virtual interface instance. Number range varies depending on interface type.

For more information about the syntax for the router, use the question mark (?) online help function.


Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read


Examples

The following is sample output from the show mpls traffic-eng forwarding command:

RP/0/RP0/CPU0:router# show mpls traffic-eng forwarding

System Information:
      Tunnels Count     : 2
      Tunnels Selected  : 2
  Bandwidth descriptor legend:
    B0 = bw from pool 0, B1 = bw from pool 1, R = bw locked, H = bw held
TUNNEL ID              UP IF      DOWN IF      LOC_LBL  OUT_LBL  Backup    
---------------------- ---------- ------------ -------- -------- ----------
10.10.10.10 1_34       -          PO0/2/0/1    0        61       tunnel-te15
10.10.10.10 15_2       -          PO0/2/0/2    0        3        unknown   

Table 52 describes the significant fields shown in the display.

Table 52 show mpls traffic-eng forwarding Field Descriptions

Field
Description

Tunnels Count

Total number of tunnels admitted.

Tunnels Selected

Number of tunnels to be displayed.

Bandwidth descriptor legend

BW pool type and status displayed with the tunnel entry (see Table 54).

TUNNEL ID

Tunnel identification.

UP IF

Upstream interface that the tunnel used.

DOWN IF

Downstream interface used by the tunnel.

PRIORITY

Tunnel setup priority and hold priority.

STATE

Tunnel admission status.

BW (kbps)

Tunnel bandwidth in kilobits per second. If an R follows the bandwidth number, the bandwidth is reserved. If an H follows the bandwidth number, the bandwidth is temporarily being held for a Path message. If a B0 follows the bandwidth number, the bandwidth is from the global pool/class-type 0. If an B1 follows the bandwidth number the bandwidth is from the sub-pool/class-type 1.


show mpls traffic-eng forwarding-adjacency

To display forwarding-adjacency information for an IPv4 address, use the show mpls traffic-eng forwarding-adjacency command in EXEC mode.

show mpls traffic-eng forwarding-adjacency [A.B.C.D]

Syntax Description

A.B.C.D

Destination IPv4 address for forwarding adjacency.


Command Modes

EXEC

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read


Examples

The following is sample output from the show mpls traffic-eng forwarding-adjacency command:

RP/0/RP0/CPU0:router# show mpls traffic-eng forwarding-adjacency

destination 3.3.3.3 has 1 tunnels
tunnel-te1    (traffic share 0, next-hop 3.3.3.3)
(Adjacency Announced: yes, holdtime 0)

Related Commands

Command
Description

forwarding-adjacency

Configures an MPLS TE forwarding adjacency.


show mpls traffic-eng igp-areas

To display MPLS-TE internal area storage, use the show mpls traffic-eng igp-areas command in EXEC mode.

show mpls traffic-eng igp-areas

Syntax Description

This command has no arguments or keywords.

Command Modes

EXEC

Command History

Release
Modification

Release 3.4.0

This command was introduced on the Cisco CRS-1 and the Cisco XR 12000 Series Router.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read


Examples

The following is sample output from the show mpls traffic-eng igp-areas command:

RP/0/RP0/CPU0:router# show mpls traffic-eng igp-areas

Global router-id: 1.1.1.1
OSPF foo
    IGP ID:                  1.1.1.1
    TE router-id configured: 1.1.1.1
                     in use: 1.1.1.1
    area 0
        TE index: 0
          IGP config for TE: complete
 	          IGP ready to exchange link data with TE
  	          IGP ready to exchange topology/tunnel data with TE
        4 interfaces:
            GigE 0/2/0/0
            GigE 0/2/0/1
            GigE 0/2/0/2
            POS 0/5/0/0
        3 tunnel heads running over this area.
            tunnel 32
            tunnel 33
            tunnel 3333
        3 loose-hops expanded over this area.
            router-1_t1
            router-1_t97
            router-1_t10004
    area 1
        TE index: 1
          IGP config for TE: complete
 	          IGP ready to exchange link data with TE
  	          IGP ready to exchange topology/tunnel data with TE
        2 interfaces:
            POS 0/1/0/0
            POS 0/1/0/1
        0 tunnel heads running over this area.
        0 loose-hops expanded over this area.
    area 2
        TE index: 5
          IGP config for TE: complete
 	          IGP ready to exchange link data with TE
  	          IGP ready to exchange topology/tunnel data with TE
        0 interfaces:
        0 tunnel heads running over this area.
        0 loose-hops expanded over this area.

IS-IS 0
    System ID:               0001.0001.0001
    TE router-id configured: none
                     in use: 100.100.100.100
    level 1
        TE index: 2
          IGP config for TE: complete
 	          IGP ready to exchange link data with TE
  	          IGP ready to exchange topology/tunnel data with TE
        2 interfaces:
            POS 0/1/0/0
            POS 0/1/0/1
        3 tunnel heads running over this level.
            tunnel 1
            tunnel 2
            tunnel 25
        0 loose-hops expanded over this level.

Table 53 describes the significant fields shown in the display.

Table 53 show mpls traffic-eng igp-areas Field Descriptions

Field
Description

Global router-id

Global router ID on this node.

IGP ID

IGP System ID.

area

IGP area.

TE index

Internal index in the IGP area table.

IGP config for TE

Indicates if the IGP configuration is complete or missing.


show mpls traffic-eng link-management admission-control

To display which tunnels were admitted locally and their parameters, use the show mpls traffic-eng link-management admission-control command in EXEC mode.

show mpls traffic-eng link-management admission-control [interface type instance]

Syntax Description

interface

(Optional) Displays information on the specified interface.

type

Interface type. For more information, use the question mark (?) online help function.

instance

Either a physical interface instance or a virtual interface instance as follows:

Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

rack: Chassis number of the rack.

slot: Physical slot number of the modular services card or line card.

module: Module number. A physical layer interface module (PLIM) is always 0.

port: Physical port number of the interface.

Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0.
Example: interface MgmtEth0/RP1/CPU0/0.

Virtual interface instance. Number range varies depending on interface type.

For more information about the syntax for the router, use the question mark (?) online help function.


Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

Support was added for the Name-Based Affinity Constraint scheme.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID

Task ID
Operations

mpls-te

read


Examples

The following is sample output from the show mpls traffic-eng link-management admission-control command:

RP/0/RP0/CPU0:router# show mpls traffic-eng link-management admission-control

S System Information:
      Tunnels Count     : 2
      Tunnels Selected  : 2
  Bandwidth descriptor legend:
    B0 = bw from pool 0, B1 = bw from pool 1, R = bw locked, H = bw held
TUNNEL ID                UP IF      DOWN IF    PRI STATE         BW (kbits/sec) 
------------------------ ---------- ---------- --- ------------- ---------------
10.10.10.10 1_34         -          PO0/2/0/1  7/7 Resv Admitted 100         RB0  
10.10.10.10 15_2         -          PO0/2/0/2  7/7 Resv Admitted 0            B0  

Table 54 describes the significant fields shown in the display.

Table 54 show mpls traffic-eng link-management admission-control Field Descriptions

Field
Description

Tunnels Count

Total number of tunnels admitted.

Tunnels Selected

Number of tunnels displayed.

Bandwidth descriptor legend

BW pool type and status displayed with the tunnel entry. In the sample output above, shown as RG (Locked BW in global pool).

TUNNEL ID

Tunnel identification.

UP IF

Upstream interface used by the tunnel.

DOWN IF

Downstream interface used by the tunnel.

PRIORITY

Tunnel setup priority and hold priority.

STATE

Tunnel admission status.

BW (kbps)

Tunnel bandwidth in kilobits per second. If an R follows the bandwidth number, the bandwidth is reserved. If an H follows the bandwidth number, the bandwidth is temporarily being held for a Path message. If a G follows the bandwidth number, the bandwidth is from the global pool. If an S follows the bandwidth number the bandwidth is from the sub-pool.


The following is sample output from the show mpls traffic-eng link-management interface command:

RP/0/RP0/CPU0:router# show mpls traffic-eng link-management int pos 0/2/0/1

  System Information::
      Links Count         : 1

  Link ID:: POS0/2/0/1 (35.0.0.5)
    Local Intf ID: 7
    Link Status:

      Link Label Type          : PSC (inactive)
      Physical BW                : 155520 kbits/sec
      BCID                            : RDM 
      Max Reservable BW    : 0 kbits/sec (reserved: 100% in, 100% out)
      BC0 (Res. Global BW): 0 kbits/sec (reserved: 100% in, 100% out)
      BC1 (Res. Sub BW)     : 0 kbits/sec (reserved: 100% in, 100% out)
      MPLS TE Link State    : MPLS TE on, RSVP on
      Inbound Admission      : allow-all
      Outbound Admission    : allow-if-room
      IGP Neighbor Count     : 0
      Max Res BW (RDM)    : 0 kbits/sec