
8
ipv4
dest-addr
mask-length
: Checks the connectivity of the LSP for a FEC.
dest-addr
is the destination
address of the FEC. The
mask-length
argument is the length of the FEC destination address mask and is
in the range of 0 to 32.
destination-ip-addr-header
: Specifies the destination address in the IP header of MPLS echo request
messages. It can be any address on segment 127.0.0.0/8—any local loopback address.
Description
Use the
ping lsp ipv4
command to check the connectivity of the LSP for a FEC.
Examples
# Check the connectivity of the LSP to destination 3.3.3.9/32.
<Sysname> ping lsp 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
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: LDP IPV4 PREFIX 3.3.3.9/32 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 31/55/62 ms
tracert
Syntax
tracert
[
-a
source-ip
|
-f
first-ttl
|
-m
max-ttl
|
-p
port
|
-q
packet-number
|
-vpn-instance
vpn-instance-name
|
-w
timeout
] *
host
View
Any view
Default level
0: Visit level
Parameters
-a
source-ip
: Specifies the source IP address of a tracert packet. It must be a legal IP address configured
on the device. If this parameter is not provided, the source IP address of an ICMP echo request is the
primary IP address of the outbound interface of the tracert packet.
-f
first
-
ttl
: Specifies the first TTL, or, the allowed number of hops for the first packet. It is in the range of 1
to 255 and defaults to 1, and must be less than the maximum TTL.
-m
max
-
ttl
: Specifies the maximum TTL, or, the maximum allowed number of hops for a packet. It is in the
range of 1 to 255 and defaults to 30, and must be greater than the first TTL.
-p
port
: Specifies the UDP port number of the destination, which is in the range of 1 to 65535 and
defaults to 33434. You do not need to modify this option.
-q
packet-number
: Specifies the number of probe packets sent each time, which is in the range of 1 to
65535 and defaults to 3.