
263
View
Any view
Default level
0: Visit level
Parameters
-a
source-ip
: Specifies the source IP address of the Echo Request messages to be sent.
-c
count
: Specifies the number of request messages to be sent. The
count
parameter ranges from 1 to
4,294,967,295 and defaults to 5.
-exp
exp-value
: Specifies the EXP value for the Echo Request messages. The
exp-value
parameter ranges
from 0 to 7 and defaults to 0.
-h
ttl-value
: Specifies the TTL value for the Echo Request messages. The
ttl-value
parameter ranges from 1
to 255 and defaults to 255.
-m
wait-time
: Specifies the interval for sending Echo Request messages. The
wait-time
parameter ranges
from 1 to 10,000 and defaults to 200, in milliseconds.
-r
reply-mode
: Specifies the reply mode of a receiver in response to an Echo Request message. The
reply-
mode
parameter can be 1 or 2 where 1 means “Do not respond” and 2 means “Respond using a UDP
packet.” The default is 2.
-s
packet-size
: Specifies the payload length of the Echo Request messages. The
packet-size
parameter
ranges from 65 to 8100 and defaults to 100, in bytes.
-t
time-out
: Specifies the timeout interval for waiting for the response to an echo request message. The
time-out
parameter ranges from 0 to 65,535 and defaults to 2000, in milliseconds.
-v
: Displays detailed response information.
pw
ip-address
: Specifies the IP address of the peer PE.
pw-id
pw-id
: Specifies the ID of the PW to the peer PE. The
pw-id
parameter ranges from 1 to
4,294,967,295.
Examples
# Check the validity and reachability of the VC that is with PW ID 301 and connected to peer PE 3.3.3.9.
<Sysname> ping lsp pw 3.3.3.9 pw-id 301
LSP Ping FEC: FEC 128 PSEUDOWIRE (NEW) 3.3.3.9 301 : 100 data bytes, press CTRL_C to
break
Reply from 100.1.2.1: bytes=100 Sequence=0 time = 31 ms
Reply from 100.1.2.1: bytes=100 Sequence=1 time = 62 ms
Reply from 100.1.2.1: bytes=100 Sequence=2 time = 62 ms
Reply from 100.1.2.1: bytes=100 Sequence=3 time = 62 ms
Reply from 100.1.2.1: bytes=100 Sequence=4 time = 62 ms
--- FEC: FEC 128 PSEUDOWIRE (NEW) 3.3.3.9 301 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 31/55/62 ms