ping vpls [ -c echo-number | -m time-value | -s data-bytes | -t timeout-value | -r reply-mode | -exp exp-value | -v ] * vsi vsi-name local-site-id remote-site-id
ping vpls [ -c echo-number | -m time-value | -s data-bytes | -t timeout-value | -r reply-mode | -exp exp-value | -v ] * vsi vsi-name peer peer-address [ negotiate-vc-id vc-id ]
Parameter | Description | Value |
---|---|---|
-c echo-number |
Specifies the number of sent Echo Request packets. |
The value is an integer that ranges from 1 to 4294967295. The default value is 5. |
-m time-value |
Specifies the time to wait before sending the next packet. |
The value is an integer that ranges from 1 to 10000, in milliseconds. The default value is 2000 milliseconds. |
-s data-bytes |
Specifies the number of bytes of an Echo Request packet to be sent. |
The value is an integer that ranges from 65 to 8100. The default value is 100. |
-t timeout-value |
Specifies the timeout period of sending Echo Request packets. |
The value is an integer that ranges from 0 to 65535. The default value is 2000. |
-r reply-mode |
Specifies the mode in which the peer sends MPLS Echo Reply packets. The value is a decimal integer. The values are as follows:
|
The value ranges from 1 to 4. The default value is 2. |
-exp exp-value |
Specifies the EXP value of an Echo Request packet to be sent. |
The value is an integer that ranges from 0 to 7. |
-v |
Displays detailed information. |
- |
vsi vsi-name |
Specifies the name of a VSI. |
The value is an existing VSI. |
local-site-id |
Specifies the ID of the local CE. |
The value is an integer that ranges from 0 to 65534. |
remote-site-id |
Specifies the ID of the remote CE. |
The value is an integer that ranges from 0 to 65534. |
peer peer-address |
Specifies the IP address of the peer PE. |
- |
negotiate-vc-id vc-id |
Specifies the ID of the local PW. |
The value is an integer that ranges from 1 to 4294967295. |
Usage Scenario
After VPLS configurations are complete, you can run the ping vpls command to check the PW status and reachability of the peer.
ping vpls [ -c echo-number | -m time-value | -s data-bytes | -t timeout-value | -r reply-mode | -exp exp-value | -v ] * vsi vsi-name local-site-id remote-site-id
.
ping vpls [ -c echo-number | -m time-value | -s data-bytes | -t timeout-value | -r reply-mode | -exp exp-value | -v ] * vsi vsi-name peer peer-address [ negotiate-vc-id vc-id ]
.
Prerequisites
Configuring Kompella VPLS
Configuring Martini VPLS
Configuring BGP AD VPLS
Precautions
The timeout period specified by -t is less than the waiting time specified by -m.
Note the following points when configuring VPLS:
<HUAWEI> ping vpls -c 10 -m 10 -s 65 -t 100 -v vsi bgp1 10 10
Reply from 10.2.2.2: bytes=65 Sequence=1 time=2 ms Return Code 3, Subcode 1
Reply from 10.2.2.2: bytes=65 Sequence=2 time=2 ms Return Code 3, Subcode 1
Reply from 10.2.2.2: bytes=65 Sequence=3 time=3 ms Return Code 3, Subcode 1
Reply from 10.2.2.2: bytes=65 Sequence=4 time=2 ms Return Code 3, Subcode 1
Reply from 10.2.2.2: bytes=65 Sequence=5 time=3 ms Return Code 3, Subcode 1
Reply from 10.2.2.2: bytes=65 Sequence=6 time=41 ms Return Code 3, Subcode 1
Reply from 10.2.2.2: bytes=65 Sequence=7 time=4 ms Return Code 3, Subcode 1
Reply from 10.2.2.2: bytes=65 Sequence=8 time=4 ms Return Code 3, Subcode 1
Reply from 10.2.2.2: bytes=65 Sequence=9 time=3 ms Return Code 3, Subcode 1
Reply from 10.2.2.2: bytes=65 Sequence=10 time=6 ms Return Code 3, Subcode 1
--- FEC: L2 VPN ENDPOINT. Sender VEID = 10, Remote VEID = 10 ping statistics ---
10 packet(s) transmitted
10 packet(s) received
0.00% packet loss
round-trip min/avg/max = 2/7/41 ms
Item |
Description |
---|---|
Return Code |
Return code. Different values have different meanings:
|
Subcode |
Subcode, indicating the number of layers of the labels. Usually, the value is 1. |
<HUAWEI> ping vpls vsi a2 peer 10.2.2.2
Reply from 10.2.2.2: bytes=100 Sequence=1 time=3 ms
Reply from 10.2.2.2: bytes=100 Sequence=2 time=6 ms
Reply from 10.2.2.2: bytes=100 Sequence=3 time=6 ms
Reply from 10.2.2.2: bytes=100 Sequence=4 time=6 ms
Reply from 10.2.2.2: bytes=100 Sequence=5 time=6 ms
--- FEC: FEC 128 PSEUDOWIRE (NEW). Type = vlan, ID = 10 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 3/4/6 ms
Item |
Description |
---|---|
Reply from x.x.x.x |
Response from the destination host to each Echo Request packet:
|
FEC: FEC 128 PSEUDOWIRE |
Check on FEC 128, namely, check on a Martini VPLS PW. |
Type = vlan |
VLAN encapsulation on packets. |
ID = 10 |
The VSI ID being 10. |
<HUAWEI> ping vpls vsi ad peer 10.2.2.2
Reply from 10.2.2.2: bytes=100 Sequence=1 time=30 ms
Reply from 10.2.2.2: bytes=100 Sequence=2 time=60 ms
Reply from 10.2.2.2: bytes=100 Sequence=3 time=60 ms
Reply from 10.2.2.2: bytes=100 Sequence=4 time=60 ms
Reply from 10.2.2.2: bytes=100 Sequence=5 time=60 ms
--- FEC: FEC 129 PSEUDOWIRE. Sender = 1.1.1.1, Remote = 10.2.2.2 ping statisti
cs ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 30/54/60 ms
Item |
Description |
---|---|
Reply from x.x.x.x |
Response from the destination host to each Echo Request packet:
|
FEC: FEC 129 PSEUDOWIRE |
Check on FEC 129, namely, check on a BGP AD VPLS PW. |
Sender = x.x.x.x |
Address of the sender. |
Remote = x.x.x.x |
Address of the destination host. |