This module describes Multiprotocol Label Switching (MPLS) label switched path (LSP) verification commands. These commands provide a means to detect and diagnose data plane failures and are the first set of commands in the MPLS Operations, Administration, and Maintenance (OAM) solution.
For detailed information about MPLS concepts, configuration tasks, and examples, see .
Interface type. For more information, use the question mark (?) online help function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces
command to see a list of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark (?) online help function.
packet
Clears global packet counters.
Command Default
No default behavior or values
Command Modes
EXEC
Command History
Release
Modification
Release 5.0.0
This command was introduced.
Usage Guidelines
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
Task ID
Operations
mpls-te
execute
mpls-ldp
execute
mpls-static
execute
Examples
The following example shows how to clear all global MPLS OAM counters:
RP/0/RP0/CPU0:router# clear mpls oam counters global
echo disable-vendor-extension
To disable sending the vendor extension type length and value (TLV) in the echo request, use the echo disable-vendor extension command in MPLS OAM configuration mode. To return to the default behavior, use the no form of this command.
echo disable-vendor-extension
noecho disable-vendor-extension
Syntax Description
This command has no arguments or keywords.
Command Default
The default value is 4.
Command Modes
MPLS OAM configuration mode
Command History
Release
Modification
Release 5.0.0
This command was introduced.
Usage Guidelines
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
Task ID
Operations
mpls-te
read, write
mpls-ldp
read, write
mpls-static
read, write
Examples
The following example shows how to disable inclusion of the vendor extensions TLV in the echo requests:
To set the echo packet revision, use the echo revision command in MPLS OAM configuration mode. To return to the default behavior, use the no form of this command.
echo revision
{ 1 | 2 | 3 | 4 }
noecho revision
Syntax Description
1 | 2 | 3 | 4
Draft revision number:
1: draft-ietf-mpls-lsp-ping-03 (initial)
2: draft-ietf-mpls-lsp-ping-03 (rev 1)
3: draft-ietf-mpls-lsp-ping-03 (rev 2)
4: draft-ietf-mpls-lsp-ping-09 (initial)
Command Default
The default echo revision is 4 (in draft 9).
Command Modes
MPLS OAM configuration mode
Command History
Release
Modification
Release 5.0.0
This command was introduced.
Usage Guidelines
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
Task ID
Operations
mpls-te
read, write
mpls-ldp
read, write
mpls-static
read, write
Examples
The following example shows how to set the echo packet default revision:
To enable MPLS OAM LSP verification, use the mpls oam command in global configuration mode. To return to the default behavior, use the no form of this command.
mpls oam
nompls oam
Syntax Description
This command has no arguments or keywords.
Command Default
By default, MPLS OAM functionality is disabled.
Command Modes
Global configuration
Command History
Release
Modification
Release 5.0.0
This command was introduced.
Usage Guidelines
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 mpls oam command and OAM functionality is described in the IETF LSP ping draft.
Task ID
Task ID
Operations
mpls-te
read, write
mpls-ldp
read, write
mpls-static
read, write
Examples
The following example shows how to enable MPLS OAM:
To check MPLS host reachability and network connectivity by specifying the destination type as a Label Distribution Protocol (LDP) IPv4 address, use the ping mpls ipv4 command in EXEC mode.
(Optional) Specifies a network 127/8 address to be used as the destination address in the echo request packet.
start address
Start of the network address.
end address
Start of the ending network address.
address increment
Incremental value of the network address, which is expressed as a decimal number value or IP address.
dsmap
(Optional) Indicates that a downstream mapping (DSMAP) type length and value should be included in the LSP echo request.
expexp-bits
(Optional) Specifies the MPLS experimental field value in the MPLS header for echo replies. Range is 0 to 7. Default is 0.
force-explicit-null
(Optional) Forces an unsolicited explicit null label to be added to the MPLS label stack and allows LSP ping to be used to detect LSP breakages at the penultimate hop.
intervalmin-send-delay
(Optional) Specifies a send interval, in milliseconds, between requests. Range is 0 to 3600000. Default is 0.
outputinterface
(Optional) Specifies the output interface where echo request packets are sent.
type
Interface type. For more information, use the question mark (?) online help function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list of all
interfaces currently configured on the router.
For more information, use the question mark (?) online help function.
nexthop
(Optional) Specifies the nextop as an IP address.
nexthop-iaddress
(Optional) IP address for the next hop.
padpattern
(Optional) Specifies the pad pattern for an echo request.
repeatcount
(Optional) Specifies the number of times to resend a packet. Range is 1 to 2147483647. Default is 5.
reply dscpdscp-value
Specifies the differentiated service codepoint value for an MPLS echo reply.
reply mode [ipv4
|
router-alert
|
no-reply]
Specifies the reply mode for the echo request packet.
no-reply
Do not reply
ipv4
Reply with an IPv4 UDP packet (this is the default)
router-alert
Reply with an IPv4 UDP packet with the IP router alert set
reply pad-tlv
Indicates that a pad TLV should be included.
revisionversion
(Optional) Specifies the Cisco extension TLV versioning field:
1 draft-ietf-mpls-lsp-ping-03 (initial)
2 draft-ietf-mpls-lsp-ping-03 (rev 1)
3 draft-ietf-mpls-lsp-ping-03 (rev 2)
4 draft-ietf-mpls-lsp-ping-09 (initial)
sizepacket size
(Optional) Specifies the packet size or number of bytes in each MPLS echo request packet. Range is 100 to 17986. Default is 100.
sourcesource-address
(Optional) Specifies the source address used in the echo request packet.
sweepmin valuemax valueinterval
(Optional) Specifies a range of sizes for the echo packets sent.
min value
Minimum or start size for an echo packet (range is 100 to 17986)
max value
Maximum or end size for an echo packet(range is 100 to 17986)
interval
Number used to increment an echo packet size(range is 1 to 8993)
timeouttimeout
(Optional) Specifies the timeout interval, in seconds. Range is 0 to 3600. Default is 2.
ttlvalue
(Optional) Specifies the TTL value to be used in the MPLS labels (range is 1 to 255).
verbose
(Optional) Enables verbose output information, including MPLS echo reply, sender address of the packet, and return codes.
Command Default
expexp bits: 0
intervalmin-send-delay: 0
repeatcount: 5
reply-mode:
IPv4
timeouttimeout : 2
Command Modes
EXEC
Command History
Release
Modification
Release 5.0.0
This command was introduced.
Usage Guidelines
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 output interface keyword specifies the output interface on which the MPLS echo request packets are sent. If the specified output interface is not part of the LSP, the packets are not transmitted.
In cases where the sweep keyword is used, values larger than the outgoing interface’s MTU are not transmitted.
The ping command sends an echo request packet to an address, and then awaits a reply. Ping output can help you evaluate path-to-host reliability, delays over the path, and whether the host can be reached or is functioning.
Note
The ping mpls command is not supported on optical LSPs. If an optical LSP is encountered along the LSP's path, it is treated as a physical interface.
For detailed configuration information about the MPLS ping command, see
System Monitoring Configuration Guide
.
Task ID
Task ID
Operations
mpls-te
read, write
mpls-ldp
read, write
Examples
The following example shows the destination type as a label distribution protocol (LDP) prefix and specifies a range of sizes for the echo packets sent:
Specifies the destination type as an MPLS traffic engineering (TE) tunnel and the tunnel interface number. The range for the tunnel interface number is from 0 to 65535.
dsmap
(Optional) Indicates that a downstream mapping (DSMAP) type length and value should be included in the LSP echo request.
expexp-bits
(Optional) Specifies the MPLS experimental field value in the MPLS header for echo replies. Range is 0 to 7. Default is 0.
force-explicit-null
(Optional) Forces an unsolicited explicit null label to be added to the MPLS label stack and allows LSP ping to be used to detect LSP breakages at the penultimate hop.
intervalmin-send-delay
(Optional) Specifies a send interval, in milliseconds, between requests. Range is 0 to 3600000. Default is 0.
padpattern
(Optional) Specifies the pad pattern for an echo request.
repeatcount
(Optional) Specifies the number of times to resend a packet. Range is 1 to 2147483647. Default is 5.
reply dscpdscp-value
(Optional) Specifies the differentiated service codepoint value for an MPLS echo reply.
reply mode
[ipv4 | router-alert | no-reply]
(Optional) Specifies the reply mode for the echo request packet.
no-reply
Do not reply
ipv4
Reply with an IPv4 UDP packet (this is the default)
router-alert
Reply with an IPv4 UDP packet with the IP router alert set
reply pad-tlv
(Optional) Indicates that a pad TLV should be included.
revisionversion
(Optional) Specifies the Cisco extension TLV versioning field:
1 draft-ietf-mpls-lsp-ping-03 (initial)
2 draft-ietf-mpls-lsp-ping-03 (rev 1)
3 draft-ietf-mpls-lsp-ping-03 (rev 2)
4 draft-ietf-mpls-lsp-ping-09 (initial)
sizepacket-size
(Optional) Specifies the packet size or number of bytes in each MPLS echo request packet. Range is 100 to 17986. Default is 100.
sourcesource-address
(Optional) Specifies the source address used in the echo request packet.
sweepmin-valuemax-valueinterval
(Optional) Specifies a range of sizes for the echo packets sent.
min-value
Minimum or start size for an echo packet (range is 100 to 17986)
max-value
Maximum or end size for an echo packet(range is 100 to 17986)
interval
Number used to increment an echo packet size(range is 1 to 8993)
timeouttimeout
(Optional) Specifies the timeout interval, in seconds. Range is 0 to 3600. Default is 2.
ttlvalue
(Optional) Specifies the TTL value to be used in the MPLS labels (range is 1 to 255).
verbose
(Optional) Enables verbose output information, including MPLS echo reply, sender address of the packet, and return codes.
Command Default
exp exp-bits: 0
intervalmin-send-delay: 0
repeatcount: 5
reply-mode:
IPv4
timeouttimeout : 2
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.0
This command was introduced. This command was replaced by the ping mpls traffic-eng tunnel-te (P2P) command.
Usage Guidelines
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 output interface keyword specifies the output interface on which the MPLS echo request packets are sent. If the specified output interface is not part of the LSP, the packets are not transmitted.
In cases where the sweep keyword is used, values larger than the outgoing interface’s MTU are not transmitted.
The ping command sends an echo request packet to an address, and then awaits a reply. Ping output can help you evaluate path-to-host reliability, delays over the path, and whether the host can be reached or is functioning.
Note
The ping mpls traffic-eng
command is not supported on optical LSPs. If an optical LSP is encountered along the LSP's path, it is treated as a physical interface.
Task ID
Task ID
Operations
mpls-te
read, write
mpls-ldp
read, write
Examples
The following example shows how to check connectivity by using the ping mpls traffic-eng command when a TE tunnel 10 is present. Return code, reply address, and packet size are displayed due to the verbose keyword.
(Optional) Verifies the Labeled Switch Path (LSP).
remote-PE address
IP address of the remote PE LSR.
pw-id
Pseudowire ID that identifies the pseudowire in which MPLS connectivity is being verified. The pseudowire is used to send the echo request packets. The range is from 1 to 4294967295.
expexp-bits
(Optional) Specifies the MPLS experimental field value in the MPLS header for echo replies. Range is 0 to 7. Default is 0.
intervalmin-send-delay
(Optional) Specifies a send interval, in milliseconds, between requests. Range is 0 to 3600000. Default is 0.
padpattern
(Optional) Specifies the pad pattern for an echo request.
repeatcount
(Optional) Specifies the number of times to resend a packet. Range is 1 to 2147483647. Default is 5.
reply dscpdscp-value
(Optional) Specifies the differentiated service codepoint value for an MPLS echo reply.
(Optional) Specifies the reply mode for the echo request packet.
no-reply
Do not reply
ipv4
Reply with an IPv4 UDP packet (the default)
router-alert
Reply with an IPv4 UDP packet with the IP router alert set
control-channel
Force the use of a VCCV control channel.
Reply using an application for a defined control channel. This applies only to pseudowires in which VCCV is used in the reply path. This is the default choice for pseudowire ping.
reply pad-tlv
(Optional) Indicates that a reply pad TLV should be included.
sizepacket-size
(Optional) Specifies the packet size or number of bytes in each MPLS echo request packet. Range is 100 to 17986. Default is 100.
sourcesource-address
(Optional) Specifies the source address used in the echo request packet.
sweepmin-valuemax-valueinterval
Specifies a range of sizes for the echo packets sent.
min-value
Minimum or start size for an echo packet (range is 100 to 17986)
max-value
Maximum or end size for an echo packet(range is 100 to 17986)
interval
Number used to increment an echo packet size(range is 1 to 8993)
timeouttimeout
(Optional) Specifies the timeout interval in seconds. Range is 0 to 3600. Default is 2 seconds.
ttlvalue
(Optional) Specifies the TTL value to be used in the MPLS labels (range is 1 to 255).
verbose
(Optional) Enables verbose output information, including MPLS echo reply, sender address of the packet, and return codes.
Command Default
expexp bits: 0
intervalmin-send-delay: 0
repeatcount: 5
reply-mode: IPv4
timeouttimeout : 2
Command Modes
EXEC
Command History
Release
Modification
Release 3.9.0
The following keywords and arguments were added:
force-control-channel, control-word, ra-label and ttl-expiry keywords were added.
Usage Guidelines
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.
In cases in which the sweep keyword is used, values larger than the outgoing interface’s MTU are not transmitted.
The ping command sends an echo request packet to an address, and then awaits a reply. Ping output can help you evaluate path-to-host reliability, delays over the path, and whether the host can be reached or is functioning.
Note
The ping mpls command is not supported on optical LSPs. If an optical LSP is encountered along the LSP's path, it is treated as a physical interface.
AToM VCCV allows the sending of control packets inband of an AToM pseudowire (PW) from the originating provider edge (PE) router. The transmission is intercepted at the destination PE router, instead of being forwarded to the customer edge (CE) router. This lets you use MPLS LSP ping to test the pseudowire section of AToM virtual circuits (VCs).
The no interactive version of the ping pseudowire (AToM) command is supported.
The control word setting is either enabled along the entire path between the Terminating-Provider Edge (T-PE) or it is completely disabled. If the control word configuration is enabled on one segment and disabled on another segment, the multisegment pseudowire does not come up.
Task ID
Task ID
Operations
mpls-te
read, write
mpls-ldp
read, write
Examples
The following example shows how the ping mpls pseudowire command is used to verify PE to PE connectivity in which the remote PE address is 150.150.150.150. Only one echo request packet is sent and the remote PE is to answer using IPv4 instead of the control channel.
Specifies the destination type as an MPLS traffic engineering (TE) tunnel and the tunnel interface number. The range for the tunnel interface number is 0 to 65535.
destinationstart-addressend-addressincrement
Specifies a network 127/8 address to be used as the destination address in the echo request packet.
start address
Start of the network address.
end address
Start of the ending network address.
address increment
Incremental value of the network address, which is expressed as a decimal number value or IP address.
dsmap
(Optional) Indicates that a downstream mapping (DSMAP) type length and value should be included in the LSP echo request.
expexp-bits
(Optional) Specifies the MPLS experimental field value in the MPLS header for echo replies. Range is 0 to 7. Default is 0.
force-explicit-null
(Optional) Forces an unsolicited explicit null label to be added to the MPLS label stack and allows LSP ping to be used to detect LSP breakages at the penultimate hop.
intervalmin-send-delay
(Optional) Specifies a send interval, in milliseconds, between requests. Range is 0 to 3600000. Default is 0.
padpattern
(Optional) Specifies the pad pattern for an echo request.
repeatcount
(Optional) Specifies the number of times to resend a packet. Range is 1 to 2147483647. Default is 5.
reply dscpdscp-value
(Optional) Specifies the differentiated service codepoint value for an MPLS echo reply.
mode
[ipv4 | router-alert | no-reply]
(Optional) Specifies the reply mode for the echo request packet.
no-reply
Do not reply
ipv4
Reply with an IPv4 UDP packet (this is the default)
router-alert
Reply with an IPv4 UDP packet with the IP router alert set
reply pad-tlv
(Optional) Indicates that a pad TLV should be included.
revisionversion
(Optional) Specifies the Cisco extension TLV versioning field:
1 draft-ietf-mpls-lsp-ping-03 (initial)
2 draft-ietf-mpls-lsp-ping-03 (rev 1)
3 draft-ietf-mpls-lsp-ping-03 (rev 2)
4 draft-ietf-mpls-lsp-ping-09 (initial)
sizepacket-size
(Optional) Specifies the packet size or number of bytes in each MPLS echo request packet. Range is 100 to 17986. Default is 100.
sourcesource-address
(Optional) Specifies the source address used in the echo request packet.
sweepmin-valuemax-valueinterval
(Optional) Specifies a range of sizes for the echo packets sent.
min-value
Minimum or start size for an echo packet (range is 100 to 17986)
max-value
Maximum or end size for an echo packet(range is 100 to 17986)
interval
Number used to increment an echo packet size(range is 1 to 8993)
timeouttimeout
(Optional) Specifies the timeout interval, in seconds. Range is 0 to 3600. Default is 2.
ttlvalue
(Optional) Specifies the TTL value to be used in the MPLS labels (range is 1 to 255).
verbose
(Optional) Enables verbose output information, including MPLS echo reply, sender address of the packet, and return codes.
Command Default
exp exp-bits: 0
intervalmin-send-delay: 0
repeatcount: 5
reply-mode:
IPv4
timeouttimeout : 2
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.0
This command was introduced. This command replaces the ping mpls traffic-eng command.
Usage Guidelines
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 output interface keyword specifies the output interface on which the MPLS echo
request packets are sent. If the specified output interface is not
part of the LSP, the packets are not transmitted.
In cases where the sweep keyword is used, values larger than the outgoing interface's MTU are not transmitted.
The ping command sends an echo request packet to an address, and then waits for a reply. Ping output helps you evaluate path-to-host reliability, delays over the path. It also helps you determine whether the host is reachable or is functioning.
Task ID
Task ID
Operation
mpls-te
read, write
mpls-ldp
read, write
Related Commands
Command
Description
show mpls traffic-eng tunnels
Displays information about MPLS-TE tunnels.
show mpls oam
To display MPLS OAM information, use the show mpls oam command in EXEC mode.
show mpls oam
{ client | counters
{ global | packet } | interfacetypeinterface-path-id }
Syntax Description
client
Displays clients registered with LSPV server.
counters global
Displays LSP verification global counters.
counters packet
Displays LSP verification packet counters.
counters interface
Displays LSP verification information for a specific interface.
type
Interface type. For more information, use the question mark (?) online help function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark (?) online help function.
Command Default
No default behavior or values
Command Modes
EXEC
Command History
Release
Modification
Release 5.0.0
This command was introduced.
Usage Guidelines
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
Task ID
Operations
mpls-te
read
mpls-ldp
read
mpls-static
read
Examples
The following example shows how to display MPLS OAM client information:
Generic handle value. Range is from 0 to 4294967295.
Command Default
No default behavior or values
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.0
The replies keyword was removed.
Release 5.0.0
This command was introduced.
Usage Guidelines
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
Task ID
Operations
mpls-te
read
mpls-ldp
read
mpls-static
read
Examples
The following example shows how to display detailed MPLS OAM database information:
RP/0/RP0/CPU0:router# show mpls oam database request detail
traceroute mpls ipv4
To learn the routes that packets follow when traveling to their Label Distribution Protocol (LDP) IPv4 destination, use the traceroute mpls command in EXEC mode.
Specifies the destination type as a label distribution protocol (LDP) prefix. Address prefix of the target and number of bits in the target address network mask.
Specifies a network 127 address to be used as the destination address in the echo request packet.
start address
Start of the network address.
end address
End of the network address.
address increment
Incremental value of the network address.
expexp-bits
(Optional) Specifies the MPLS experimental field value in the MPLS header for echo replies. Range is 0 to 7. Default is 0.
flags fec
(Optional) Specifies that forwarding equivalent class (FEC) stack checking is to be performed at transit routers.
force-explicit-null
(Optional) Forces an unsolicited explicit null label to be added to the MPLS label stack and allows LSP ping to be used to detect LSP breakages at the penultimate hop.
output interface
(Optional) Specifies the output interface in which echo request packets are sent.
type
Interface type. For more information, use the question mark (?) online help function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list of all
interfaces currently configured on the router.
For more information, use the question mark (?) online help function.
nexthop
(Optional) Specifies the IP address for the next hop.
nexthop-address
(Optional) IP address for the next hop.
reply dscp dscp-value
(Optional) Specifies the differentiated service codepoint value for an MPLS echo reply.
reply mode
{ipv4 | router-alert}
(Optional) Specifies the reply mode for the echo request packet.
ipv4
Reply with IPv4 UDP packet (this is the default)
router-alert
Reply with IPv4 UDP packet with router alert
revisionversion
(Optional) Specifies the Cisco extension TLV versioning field:
1 draft-ietf-mpls-lsp-ping-03 (initial)
2 draft-ietf-mpls-lsp-ping-03 (rev 1)
3 draft-ietf-mpls-lsp-ping-03 (rev 2)
4 draft-ietf-mpls-lsp-ping-09 (initial)
sourcesource-address
(Optional) Specifies the source address used in the echo request packet.
timeouttimeoutt
(Optional) Specifies the timeout interval, in seconds. Range is from 0 to 3600. Default is 2.
ttlvalue
(Optional) Specifies the maximum number of hops (range is 1 to 255).
verbose
(Optional) Enables verbose output information, including MPLS echo reply, sender address of the packet, and return codes.
Command Default
expexp-bits: 0
reply mode: IPv4
timeouttimeout: 2
Command Modes
EXEC
Command History
Release
Modification
Release 5.0.0
This command was introduced.
Usage Guidelines
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
The traceroute mpls command is not supported on optical LSPs. If an optical LSP is encountered along the LSPs path, it is treated as a physical interface.
For detailed configuration information about MPLS LSP trace operations, see .
Task ID
Task ID
Operations
mpls-te
read, write
mpls-ldp
read, write
Examples
The following example shows how to trace a destination:
(Optional) Specifies a network 127 address to be used as the destination address in the echo request packet.
start-address
Start of the network address.
end-address
End of the network address.
address-increment
Incremental value of the network address.
expexp-bits
(Optional) Specifies the MPLS experimental field value in the MPLS header for echo replies. Range is 0 to 7. Default is 0.
flags fec
(Optional) Specifies that forwarding equivalent class (FEC) stack checking is to be performed at transit routers.
force-explicit-null
(Optional) Forces an unsolicited explicit null label to be added to the MPLS label stack and allows LSP ping to be used to detect LSP breakages at the penultimate hop.
hashkey ipv4 bitmapbit-size
(Optional) Allows user control of the hash key/multipath settings. Range is 0 to 256. The default is 32.
intervalmin-send-delay
(Optional) Specifies a send interval, in milliseconds, between requests. Range is 0 to 3600000. Default is 0.
output interface
(Optional) Specifies the output interface where echo request packets are sent.
type
Interface type. For more information, use the question mark (?) online help function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list of all
interfaces currently configured on the router.
For more information, use the question mark (?) online help function.
nexthop
(Optional) Specifies the IP address for the next hop.
nexthop-address
(Optional) IP address for the next hop.
reply dscpdscp-value
(Optional) Specifies the differentiated service codepoint value for an MPLS echo reply.
reply mode [ipv4 | router-alert]
(Optional) Specifies the reply mode for the echo request packet.
ipv4
Reply with IPv4 UDP packet (this is the default)
router-alert
Reply with IPv4 UDP packet with router alert
retry-countcount
(Optional) Specifies the number of retry attempts during multipath LSP traceroute. A retry is attempted if an outstanding echo request
times out waiting for the corresponding echo reply.
fails to find a valid destination address set to exercise a specific outgoing path. Range is 0 to 10. Default is 3.
revisionversion
(Optional) Specifies the Cisco extension TLV versioning field:
1 draft-ietf-mpls-lsp-ping-03 (initial)
2 draft-ietf-mpls-lsp-ping-03 (rev 1)
3 draft-ietf-mpls-lsp-ping-03 (rev 2)
4 draft-ietf-mpls-lsp-ping-09 (initial)
sourcesource-address
(Optional) Specifies the source address used in the echo request packet.
timeouttimeout
(Optional) Specifies the timeout interval, in seconds. Range is from 0 to 3600. Default is 2.
ttlvalue
(Optional) Specifies the maximum number of hops (range is 1 to 255).
verbose
(Optional) Enables verbose output information, including MPLS echo reply, sender address of the packet, and return codes.
Command Default
expexp-bits : 0
hashkey ipv4 bitmapbit-size: 4
intervalmin-send-delay: 0
reply mode: IPv4
retry-count: 3
timeouttimeout : 2
Command Modes
EXEC
Command History
Release
Modification
Release 5.0.0
This command was introduced.
Usage Guidelines
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 hashkey ipv4 bitmap
keyword and bit-size value control how many addresses are encoded in the DSMAP multipath field. Larger values allow more coverage of equal cost multiple paths throughout the network, but with more processing at the head, mid, and tail routers.
Task ID
Task ID
Operations
mpls-te
read, write
mpls-ldp
read, write
Examples
The following example shows how to specify the destination type as an LDP IPv4 prefix:
(Optional) Specifies a network 127 address to be used as the destination address in the echo request packet.
start-address
Start of the network address.
end-address
End of the network address.
address-increment
Incremental value of the network address.
increment-mask
Incremental mask of the network address.
expexp-bits
(Optional) Specifies the MPLS experimental field value in the MPLS header for echo replies. Range is 0 to 7. Default is 0.
flags fec
(Optional) Specifies that forwarding equivalent class (FEC) stack checking is to be performed at transit routers.
force-explicit-null
(Optional) Forces an unsolicited explicit null label to be added to the MPLS label stack and allows LSP ping to be used to detect LSP breakages at the penultimate hop.
reply dscpdscp-value
(Optional) Specifies the differentiated service codepoint value for an MPLS echo reply.
reply mode [ipv4 | router-alert]
(Optional) Specifies the reply mode for the echo request packet.
ipv4
Reply with IPv4 UDP packet (this is the default)
router-alert
Reply with IPv4 UDP packet with router alert
revisionversion
(Optional) Specifies the Cisco extension TLV versioning field:
1 draft-ietf-mpls-lsp-ping-03 (initial)
2 draft-ietf-mpls-lsp-ping-03 (rev 1)
3 draft-ietf-mpls-lsp-ping-03 (rev 2)
4 draft-ietf-mpls-lsp-ping-09 (initial)
sourcesource-address
(Optional) Specifies the source address used in the echo request packet.
timeouttimeout
(Optional) Specifies the timeout interval, in seconds. Range is from 0 to 3600. Default is 2.
ttlvalue
(Optional) Specifies the maximum number of hops (range is 1 to 255).
verbose
(Optional) Enables verbose output information, including MPLS echo reply, sender address of the packet, and return codes.
Command Default
expexp-bits : 0
reply mode: IPv4
timeouttimeout : 2
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.0
This command was replaced by the traceroute mpls traffic-eng tunnel-te (P2P) command.
Usage Guidelines
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
Task ID
Operation
mpls-te
read
mpls-ldp
read
Examples
The following example shows how to specify the destination as a MPLS-TE tunnel:
Displays information about MPLS-TE tunnel for a point-to-point connection.
traceroute mpls traffic-eng tunnel-te (P2P)
To specify the destination type as an MPLS traffic engineering (TE) tunnel for a point-to-point connection, use the traceroute mpls traffic-eng tunnel-te (P2P) command in EXEC mode.
(Optional) Specifies a network 127 address to be used as the destination address in the echo request packet.
start-address
Start of the network address.
end-address
End of the network address.
address-increment
Incremental value of the network address.
increment-mask
Incremental mask of the network address.
expexp-bits
(Optional) Specifies the MPLS experimental field value in the MPLS header for echo replies. Range is 0 to 7. Default is 0.
flags fec
(Optional) Specifies that forwarding equivalent class (FEC) stack checking is to be performed at transit routers.
force-explicit-null
(Optional) Forces an unsolicited explicit null label to be added to the MPLS label stack and allows LSP ping to be used to detect LSP breakages at the penultimate hop.
reply dscpdscp-value
(Optional) Specifies the differentiated service codepoint value for an MPLS echo reply.
reply-mode [ipv4 | router-alert]
(Optional) Specifies the reply mode for the echo request packet.
ipv4
Reply with IPv4 UDP packet (this is the default)
router-alert
Reply with IPv4 UDP packet with router alert
revisionversion
(Optional) Specifies the Cisco extension TLV versioning field:
1 draft-ietf-mpls-lsp-ping-03 (initial)
2 draft-ietf-mpls-lsp-ping-03 (rev 1)
3 draft-ietf-mpls-lsp-ping-03 (rev 2)
4 draft-ietf-mpls-lsp-ping-09 (initial)
sourcesource-address
(Optional) Specifies the source address used in the echo request packet.
timeouttimeout
(Optional) Specifies the timeout interval, in seconds. Range is from 0 to 3600. Default is 2.
ttlvalue
(Optional) Specifies the maximum number of hops (range is 1 to 255).
verbose
(Optional) Enables verbose output information, including MPLS echo reply, sender address of the packet, and return codes.
Command Default
expexp-bits : 0
reply-mode: IPv4
timeouttimeout : 2
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.0
This command was introduced. This command replaces the traceroute mpls traffic-eng command.
Usage Guidelines
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
Task ID
Operation
mpls-te
read
mpls-ldp
read
Examples
The following example shows how to specify the destination as a MPLS-TE tunnel: