3com S7906E Guide De Référence

Page de 2327
 
1-42 
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 ]  
View 
Any view 
Default Level 
0: Visit level 
Parameters 
-a source-ip: Specifies the source address for the echo request messages. 
-c count: Specifies the number of request messages to be sent. The count argument ranges from 1 to 
4294967295. 
-exp exp-value: Specifies the EXP value for the echo request message. The exp-value argument 
ranges from 0 to 7. 
-h ttl-value: Specifies the TTL value for the echo request message. The ttl-value argument ranges from 
1 to 255. 
-m wait-time: Specifies the interval for sending echo request messages. The wait-time argument ranges 
from 1 to 10,000 ms. 
-r  reply-mode: Specifies the reply mode in response to an echo request message. The reply-mode 
argument can be 1 or 2. 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. The packet-size argument 
ranges from 64 to 8100 bytes. 
-t time-out: Specifies the timeout interval for the response to an echo request message. The time-out 
argument ranges from 0 to 65535 milliseconds. 
-v: Displays detailed response information. 
ipv4 dest-addr  mask-length: Specifies the IPv4 destination address of the LSP and the mask. The 
mask-length argument ranges from 0 to 32. 
destination-ip-addr-header: Specifies the IP header destination address for the MPLS echo request 
messages. It can be any address on segment 127.0.0.0/8, that is, any local loopback address. 
Description 
Use the ping lsp command to check the validity and reachability of an LSP. 
Examples 
# Ping a specified address, sending 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 
    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