mplstrace
ExtremeWare Software 7.3.0 Command Reference Guide 1827
mplstrace
mplstrace [[<ipaddress> | prefix <ipaddress/masklength> | <hostname>]
{next-hop [<ipaddress> | <host_name>]}] | lsp <lsp_name>] {from
<ipaddress>} {reply-mode [ip | mpls]} {ttl <max_ttl_value>} {ping-address
<ipaddress>} {detail}
Description
Traces the path an LSP takes for the specified FEC.
Syntax Description
Default
max_ttl_value
- 30.
Usage Guidelines
This command traces the path an LSP takes for the specified FEC. The mplstrace command works by
repeatedly sending a MPLS echo request. The TTL value is incremented for each successive MPLS echo
request sent. The sending LSR waits 5 seconds before sending the next MPLS echo request. This
operation continues until either the egress LSR for the FEC is reached, the maximum TTL value is
reached, or the operation is interrupted. For each response received, the following information is
displayed on the console: IP address of the replying LSR, return code, and an indication of a MPLS echo
reply timeout if no response was received.
The FEC can be specified using the
ipaddress
,
ipaddress/masklength
or
hostname
parameter. If the
FEC is specified using the host_name parameter, the DNS client must be configured so that the
host_name can first be resolved to an IP address. The resolved host name IP address is assumed to be a
/32 prefix. The
lsp
keyword may be used to specify the LSP to trace. The selected LSP is specified by
the lsp_name parameter.
The
from
keyword is used to specify the source IP address used in the MPLS echo request. This is the IP
address used by the target LSR will use to send the MPLS echo reply. If not specified, the OSPF/ISIS
router ID is used.
The optional r
eply-mode
keyword is used to specify the return path for the MPLS echo response. When
the ip option is specified, the MPLS echo reply is routed back to the sender via an IPv4 packet with the
IP Router Alert option. When the mpls option is specified, the MPLS echo reply is switched back to the
sender via an IPv4 packet over an LSP. If the reply-mode is not specified, the
mpls
reply mode is used.
ipaddress Specifies the FEC.
ipaddress/masklength Specifies the FEC.
host_name Specifies the FEC. Must be able to be resolved to an IP address.
ipaddress Specifies the source IP address in the MPLS echo request.
isp_name Specifies the tunnel LSP on which to send the MPLS echo request.
ip Specifies the return path for the MPLS echo response. Routes back to the
sender via an IPv4 packet with the IP Router Alert option.
mpls Specifies the return path for the MPLS echo response.
Switches the echo
reply back to the sender via an IPv4 packet over an LSP.
max_ttl_value Specifies the maximum TTL value in the MPLS echo request packet.