This module describes the commands used to configure Transport Profile (MPLS-TP) in a Multiprotocol Label Switching (MPLS) network.
MPLS Transport Profile supported by IETF enables the migration of transport networks to a packet-based network that efficiently scale to support packet services in a simple and cost effective way. MPLS transport profile enables you to create tunnels that provide the transport network service layer over which IP and MPLS traffic traverse.
For detailed information about MPLS concepts, configuration tasks, and examples, see Cisco ASR 9000 Series Aggregation Services Router MPLS Configuration Guide.
To configure a refresh interval globally for all MPLS-TP LSPs, use the fault-oam-refresh command in MPLS-TP configuration mode. To return to the default behavior, use the no form of this command.
fault-oam-refresh interval seconds
interval seconds |
Configures the interval value, in seconds, that gets refreshed for all MPLS-TP LSPs. Range is 1 to 20 seconds. The default is 20 seconds. |
The default interval is 20 seconds.
MPLS-TP configuration
Release | Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID | Operation |
---|---|
MPLS-TE | read, write |
The following example shows how to configure the global refresh interval :
RP/0/RSP0/CPU0:router# config RP/0/RSP0/CPU0:router(config)# mpls traffic-eng RP/0/RSP0/CPU0:router(config-mpls-te)# tp RP/0/RSP0/CPU0:router(config-mpls-te-tp)# fault-oam-refresh 10 RP/0/RSP0/CPU0:router(config-mpls-te-tp)# commit
The following example shows how to configure the OAM refresh interval for a LSP :
RP/0/RSP0/CPU0:router# config RP/0/RSP0/CPU0:router(config)# interface tunnel-tp 10 RP/0/RSP0/CPU0:router(config-if)# static-lsp RP/0/RSP0/CPU0:router(config-if-slsp)# fault-oam-refresh 10 RP/0/RSP0/CPU0:router(config-if-slsp-prot)# commit
To assign a global ID for a node, use the global-id command in MPLS-TP configuration mode. To remove the ID, use the no form of this command.
global-id value
value |
Value number that identifies the global ID. Range is 1 to 65535 . |
The default value is 0.
MPLS transport profile configuration
Release | Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
The global ID is a 32-bit number, and can be assigned to each node.
Task ID | Operation |
---|---|
MPLS-TE | read, write |
The following example shows how to define a global ID for the node:
RP/0/RSP0/CPU0:router# config RP/0/RSP0/CPU0:router(config)# mpls traffic-eng RP/0/RSP0/CPU0:router(config-mpls-te)# tp RP/0/RSP0/CPU0:router(config-mpls-te-tp)# global-id 10 RP/0/RSP0/CPU0:router(config-mpls-te-tp)# commit
To define an ID for an interface or next-hop address that carries MPLS-TP LSPs, use the link-id command in interface configuration mode. To remove the ID, use the no form of this command.
link-id value next-hop [IPv4address]
value |
Value number that identifies the link ID. Range is 1 to 65535. |
IPv4 address |
Configures the IPv4 address for the MPLS-TP link ID. |
No default behavior or values
Interface configuration
Release | Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
![]() Note | You can define MPLS-TP link ID only once. If you attempt to use the same MPLS-TP link ID with different interface or next-hop-address, the configuration gets rejected. |
Task ID | Operation |
---|---|
MPLS-TE | read, write |
The following example shows how to define an ID for the GigabitEthernet interface 0/2/1/1:
RP/0/RSP0/CPU0:router# config RP/0/RSP0/CPU0:router(config)# mpls traffic-eng RP/0/RSP0/CPU0:router(config-mpls-te)# interface Gige0/2/1/1 RP/0/RSP0/CPU0:router(config-mpls-te-if)# link-id 22 next-hop 192.4.1.0 RP/0/RSP0/CPU0:router(config-mpls-te-if)# commit RP/0/RSP0/CPU0:router(config-mpls-te-if)# no link-id 22 RP/0/RSP0/CPU0:router(config-mpls-te-if)# exit RP/0/RSP0/CPU0:router(config-mpls-te-if)# exit RP/0/RSP0/CPU0:router(config-mpls-te)# interface Gige0/2/1/3 RP/0/RSP0/CPU0:router(config-mpls-te-if)# link-id 22 next-hop 192.4.1.0 RP/0/RSP0/CPU0:router(config-mpls-te-if)# commit
To enable lockout on a LSP, use the lockout command in LSP interface configuration mode. To disable lockout, use the no form of this command.
lockout
This command has no arguments or keywords.
No default behavior or values
LSP interface configuration
Release | Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID | Operation |
---|---|
MPLS-TE | read, write |
The following example shows how to enable lock on the working LSP:
RP/0/RSP0/CPU0:router# config RP/0/RSP0/CPU0:router(config)# interface tunnel-tp 1 RP/0/RSP0/CPU0:router(config-if)# working-lsp RP/0/RSP0/CPU0:router(config-if-slsp-work)# lockout RP/0/RSP0/CPU0:router(config-if-slsp-work)# commit RP/0/RSP0/CPU0:router(config-if-slsp-work)# no lockout RP/0/RSP0/CPU0:router(config-if-slsp-work)# commit
The following example shows how to enable lock on the protecting LSP:
RP/0/RSP0/CPU0:router# config RP/0/RSP0/CPU0:router(config)# interface tunnel-tp 1 RP/0/RSP0/CPU0:router(config-if)# protect-lsp RP/0/RSP0/CPU0:router(config-if-slsp-work)# lockout RP/0/RSP0/CPU0:router(config-if-slsp-work)# commit
To assign a node ID for each node, use the Node-ID command in MPLS-TP configuration mode. To remove the ID, use the no form of this command.
node-id address
address |
Configures the IPv4 address for the MPLS-TP node ID. |
No default behavior or values
MPLS transport profile configuration
Release | Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
The node ID is a 32-bit number represented in IPv4 address format, and can be optionally assigned to each node.
Task ID | Operation |
---|---|
MPLS-TE | read, write |
The following example shows how to define a node ID for the node:
RP/0/RSP0/CPU0:router# config RP/0/RSP0/CPU0:router(config)# mpls traffic-eng RP/0/RSP0/CPU0:router(config-mpls-te)# tp RP/0/RSP0/CPU0:router(config-mpls-te-tp)# node-id 10.1.1.1 RP/0/RSP0/CPU0:router(config-mpls-te-tp)# commit
To enable alarm, use the alarm command in MPLS-TP configuration mode. To disable alarm, use the no form of this command.
alarm { soak-time time | suppression disable }
soak-time time |
Defines the time interval in seconds. Range is 0 to 10. |
suppression |
Suppresses the alarm that is configured. |
disable |
Disables the configured alarm. |
None
MPLS Transport Profile configuration
Release | Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID | Operation |
---|---|
mpls-te |
read, write |
This example shows how to disable alarm configured in MPLS-TP configuration mode:
conf mpls traffic-eng tp alarm suppression disable
To specify the minimum control packet interval for BFD sessions for the corresponding BFD configuration scope, use the bfd command in the MPLS-TP configuration mode. To return the router to the default setting, use the no form of this command.
bfd { min-interval { value | standby value } | multiplier { value | standby value } }
min-intervaltime |
Specifies the rate, in seconds, at which BFD control packets are sent BFD peers. Range is 15 to 5000. |
standby time |
Specifies the minimum interval, in seconds, for a standby LSP. Range is 15 to 5000. |
multiplier value |
Specifies the number of consecutive BFD control packets that must be missed from a BFD peer before BFD declares that the peer is unavailable. Range is 2 to 10. |
standby value |
Specifies the multiplier for a standby LSP. Range is from 2 to 10. |
The default value of minimum interval is 50 seconds.
The default value of multiplier is 3.
MPLS Transport profile configuration
Release |
Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID |
Operations |
---|---|
MPLS-TE |
read, write |
This example shows how to configure BFD parameters on a working LSP:
interface tunnel-tp1 bfd min-interval 30 standby 300 multiplier 3 standby 5 ! !
bandwidth kbps
kbps |
Number of kilobits per second set aside for the MPLS-TP tunnel. Range is 0 to 4294967295. |
The default bandwidth is 0.
MPLS Transport profile configuration
Release |
Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID |
Operations |
---|---|
MPLS-TE |
read, write |
This example shows how to configure bandwidth on a MPLS-TP tunnel:
mpls traffic-eng tp mid midpt1 tunnel-name tunnel-tp1 lsp-id 20 fwd-lsp source 1.1.1.1 10 tunel-id 20 bandwidth 500 in-label 2000 out-label 2000 out-tp-link 1 exit rev-lsp source 2.2.2.2 20 tunnel-id 30 bandwidth 500 in-label 2000 out-label 3000 out-tp-link 1 exit
To give a descriptive name to a MPLS-TP tunnel, use the description command at MPLS-TP interface configuration mode.
description line
line |
Describes the MPLS-TP tunnel. |
None
MPLS Transport Profile Interface configuration
Release |
Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID |
Operations |
---|---|
MPLS-TE |
read, write |
This example shows how to describe the MPLS-TP tunnel:
interface tunnel-tp1 description PE1_PE2 source 1.1.1.1
To specify destination at a destination end point, use the destination command in MPLS-TP interface configuration mode.
destination node id global-id id tunnel-id id
node id |
|
||
global-id id |
Specifies global ID at a destination end point. It is a 32-bit number. |
||
tunnel-id id |
Specifies tunnel ID at the destination end point. |
None
MPLS Transport Profile Interface configuration
Release |
Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID |
Operations |
---|---|
MPLS-TE |
read, write |
This example shows how to configure various options at the destination end point:
interface tunnel-tp 2 tunnel-name tunnel1 source 10.1.1.1 destination 2.2.2.2 bandwidth 500
To enable MPLS-TP LSP wrapping, use the fast-protect command in MPLS-TP mode. To remove MPLS-TP LSP wrapping, use the no form of this command.
fast-protect
no fast-protect
This command has no keywords or arguments.
No default behavior or values.
MPLS-TP configuration.
Release |
Modification |
---|---|
Release 4.3.1 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
To verify if MPLS-TP LSP wrapping is enabled, use the show run mpls traffic-eng tp mid command and check for fast-protect.
Task ID |
Operations |
---|---|
mpls-te |
read, write |
The following example shows how to enable LSP wrapping:
RP/0/RSP0/CPU0:router# configure RP/0/RSP0/CPU0:router(config)#mpls traffic-eng tp mid midpt1 RP/0/RSP0/CPU0:router(config-mpls-te-tp-mid)#fast-protect
Command | Description |
| |
|
To specify the mid-point identifier for the MPLS-TP tunnel, use the mid command in MPLS-TP configuration mode.
mid name
name |
Specifies the name of the mid-point identifier. |
None
MPLS Transport Profile configuration
Release |
Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID |
Operations |
---|---|
MPLS-TE |
read, write |
This example shows how to configure the mid point with various parameters:
mid tun_PE1_PE2_1_7_Protect lsp-number 1 source 1.1.1.1 tunnel-id 1 destination 2.2.2.2 tunnel-id 2
To configure the working LSP on a MPLS-TP tunnel, use the protect-lsp command in MPLS-TP interface configuration mode.
protect-lsp { in-label | lockout | lsp-number | out-label }
in-label |
Specifies the incoming MPLS label. |
lockout |
Locks out the protecting LSP. |
lsp-number |
Specifies the LSP identifier. |
out-label |
Specifies the outgoing MPLS label. |
None
MPLS Transport Profile Interface configuration
Release |
Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID |
Operations |
---|---|
MPLS-TE |
read, write |
This example shows how to configure protecting LSP on a MPLS-TP tunnel:
interface tunnel-tp1 description Router_1 source 1.1.1.1 destination 2.2.2.2 working-lsp in-label 2000 out-label 2000 out-link 1 ! protect-lsp in-label 3000 out-label 3000 out-link 2 ! ! !
To configure the working LSP on a MPLS-TP tunnel, use the working-lsp command in MPLS-TP interface configuration mode.
working-lsp { in-label | lockout | lsp-number | out-label }
in-label |
Specifies the incoming MPLS label. |
lockout |
Locks out the working LSP. |
lsp-number |
Specifies the LSP identifier. |
out-label |
Specifies the outgoing MPLS label. |
None
MPLS Transport Profile Interface configuration
Release |
Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID |
Operations |
---|---|
MPLS-TE |
read, write |
This example shows how to configure working LSP on a MPLS-TP tunnel:
interface tunnel-tp1 description Router_1 source 1.1.1.1 destination 2.2.2.2 working-lsp in-label 2000 out-label 2000 out-link 1 ! ! !
To configure LSP in forward direction, use the forward-lsp command in MPLS transport profile midpoint configuration mode.
forward-lsp bandwidth value in-label value out-label value out-tp-link value
bandwidth value |
Defines the bandwidth in kbps. The range is 0 to 4294967295. |
in-label value |
Defines the incoming local MPLS label. |
out-label value |
Defines the outgoing local MPLS label. |
out-tp-link value |
Defines the TP link ID of outgoing link. |
None
MPLS Transport Profile midpoint configuration
Release |
Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID |
Operations |
---|---|
MPLS-TP |
read, write |
This sample shows an output from the forward-lsp command:
mpls traffic-eng ! tp mid work lsp-number 0 source 1.1.1.1 tunnel-id 1 destination 4.4.4.4 tunnel-id 1 forward-lsp in-label 2001 out-label 4001 out-link 3 ! reverse-lsp in-label 2002 out-label 1001 out-link 1 ! ! mid protect lsp-number 1 source 1.1.1.1 tunnel-id 1 destination 4.4.4.4 tunnel-id 1 forward-lsp in-label 2003 out-label 4002 out-link 4 ! reverse-lsp in-label 2004 out-label 1002 out-link 2 ! ! ! !
To configure LSP in reverse direction, use the reverse-lsp command in MPLS transport profile midpoint configuration mode.
reverse-lsp bandwidth value in-label value out-label value out-tp-link value
bandwidth value |
Defines the bandwidth in kbps. |
in-label value |
Defines the incoming local MPLS label. |
out-label value |
Defines the outgoing local MPLS label. |
out-tp-link value |
Defines the TP link ID of outgoing link. |
None
MPLS Transport Profile midpoint configuration
Release |
Modification |
---|---|
Release 4.2.0 |
This command was introduced. |
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID |
Operations |
---|---|
mpls-tp |
read, write |
This sample shows an output from the reverse-lsp command:
mpls traffic-eng ! tp mid work lsp-number 0 source 1.1.1.1 tunnel-id 1 destination 4.4.4.4 tunnel-id 1 forward-lsp in-label 2001 out-label 4001 out-link 3 ! reverse-lsp in-label 2002 out-label 1001 out-link 1 ! ! mid protect lsp-number 1 source 1.1.1.1 tunnel-id 1 destination 4.4.4.4 tunnel-id 1 forward-lsp in-label 2003 out-label 4002 out-link 4 ! reverse-lsp in-label 2004 out-label 1002 out-link 2 ! ! ! !