![H3C S9500 Series Command Manual Download Page 77](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036077.webp)
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches
Chapter 1 MPLS Basics Configuration Commands
1-69
1.1.44 ping lsp
Syntax
ping lsp
[
-a source-ip
|
-c count
|
-exp exp-value
|
-h ttl-value
|
-m wait-time
|
-r
reply-mode
|
-s packet-size
|
-t time-out
|
-v
]
* {
ipv4 dest-addr
mask-length
[
destination-ip-addr-header
] |
te interface-type interface-number
}
View
Any view
Default Level
0: Visit level
Parameters
-a source-ip
: Specifies the source address for the echo request message.
-c count
: Specifies the number of attempts to sending the request message.
-exp exp-value
: Specifies the EXP value for the echo request message.
-h ttl-value
: Specifies the TTL value for the echo request message.
-m
wait-time
: Specifies the interval for sending echo request messages.
-r
reply-mode
: Specifies the reply mode in response to an echo request message. The
S9500 series supports only two of the four reply modes in RFC 4397. A value of 1
means “Do not response”, while a value of 2 means “Respond using a UDP packet”.
-s packet-size
: Specifies the payload length of the echo request message.
-t time-out
: Specifies the timeout interval for the response to an echo request message.
-v
: Displays detailed response information.
ipv4 dest-addr
mask-length
: Specifies the LDP Ipv4 destination address and the mask.
destination-ip-addr-header
: Specifies the IP header destination address for the MPLS
echo request message, which can be any address on segment 127.0.0.0/8, that is, any
local loopback address.
te
interface-type interface-number
: Specifies a tunnel interface by its type and number.
Description
Use the
ping lsp
command to check the validity and reachabiliity of an LSP.
Examples
# Ping a specified address by send five packets.
<Sysname> ping lsp –c 5 ipv4 3.3.3.9 32
LSP PING FEC: LDP IPV4 PREFIX 3.3.3.9/32 : 100 data bytes, press CTRL_C to
break