Executing ldp lsp ping – Brocade Multi-Service IronWare Administration Guide (Supporting R05.6.00) User Manual
Page 233

Multi-Service IronWare Administration Guide
215
53-1003028-02
LSP ping and traceroute
6
Executing LDP LSP ping
The LDP LSP ping command, sends an MPLS echo request from the ingress to the egress LSR.
To perform the LDP LSP ping operation, use the following command.
Brocade)# ping mpls ldp 10.22.22.22
Send 5 80-byte MPLS Echo Requests for LDP FEC 10.22.22.22/32, timeout 5000 msec
Type Control-c to abort
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max=0/1/1 ms.
Brocade)#
Syntax: ping mpls ldp ip-address | ip-address/mask-length [count num] [destination ip-address]
[detail] [reply-mode no-reply | reply-mode router-alert] [reply-tos num] [size bytes] [source
ip-address] [timeout msec] [nexthop ipv4 address]
The ldp ip-address and ip-address/mask-length variables specify the LDP IPv4 destination prefix
and mask length. If the mask-length is not specified, the default value is 32.
The count option with the num variable specifies the number of echo requests to send. The default
value is 5.
The destination option specifies an IP address within the 127/8 subnet. The default address is
127.0.0.1
The detail option displays the details of the echo request and reply messages. By default, the
display is in the brief mode.
The reply-mode option species the reply mode field in the echo request if and only if the user does
not want the reply to be sent as an IPv4 UDP packet.
The no-reply option can be used to test one-way connectivity.
The router-alert option is used when the normal IP return path is unreliable. This option
indicates that the reply should be sent as an IPv4 UDP packet with the Router Alert option. This
option requires extra overhead processing at each LSR along the return path.
The reply-tos option specifies a TOS value between 0 and 254 to be included in the Reply-TOS-byte
TLV. This value will be copied to the IP header TOS byte of the echo reply. By default, the reply-tos
TLV is not included in the echo request.
NOTE
The last bit of the TOS byte is always 0.
The size option specifies that the size of the echo request including the label stack to be sent will
be the value of the variable bytes. The pad TLV is used to fill the echo request message to the
specified size. The minimum size is 80 byte for an LDP echo request. The maximum size is the size
of the LSP MTU.
The source option specifies the IP address of any interface. This address is used as the destination
address for the echo reply address. The default address is the LSR ID.
The timeout option specifies an interval in milliseconds for the echo request message. The default
timeout is 5 seconds. The maximum timeout value is 5 minutes.
The nexthop specifies the nexthop IPv4 address to send the OAM request to. If an address that
does not match the outgoing path for the tunnel is given, following error message appears as
response:
Ping fails: LDP next-hop does not exist.