The ping vpls multicast command starts an MFIB ping test with a specified VSI in the VPLS domain.
ping vpls multicast vsi vsi-name [ -a source-ip-address | -c count | -s packetsize | -t timeout | -m interval | -r replymode | -exp exp | -v ] * dest-ip-address
Parameter | Description | Value |
---|---|---|
vsi vsi-name | Specifies the name of the VSI on which the operation is performed. | The value is an existing VSI. |
-a source-ip-address | Specifies the multicast source IP address. By default, the multicast source IP address is the IP address of the initiator. The value is in dotted decimal notation. | - |
-c count | Specifies the number of Echo Request packets to be sent. | The value is an integer that ranges from 1 to 4294967295. The default value is 5. |
-s packetsize | Specifies the length of the payload in the Echo Request packet, which should be smaller than the MTU value. | The value ranges from 100 to 1442, in bytes. The default value is 100. |
-t timeout | Specifies the timeout period for waiting for an Echo Reply packet. | The value ranges from 0 to 65535, in milliseconds. The default value is 2000 milliseconds. |
-m interval | Specifies the time to wait before sending the next Echo Request packet. | The value ranges from 1 to 10000, in milliseconds. The default value is 2000 milliseconds. |
-r replymode | Specifies the reply mode. The default value is 2.
NOTE:
Currently, the switch only supports mode 1, 2,
and 5. |
- |
-exp exp | Specifies the priority of Echo Request packets to be sent. | The value is an integer that ranges from 0 to 7. The default value is 0. |
-v | Specifies the displayed details. | - |
dest-ip-address | Specifies the multicast IP address. | - |
Usage Scenario
Using the ping vpls multicast command, you can start an MFIB ping test with a specified VSI in the VPLS domain and obtain information about the egress that is in the VPLS domain and can normally receive specified IP multicast packets. In addition, you can check whether the IGMP snooping function is normal.
Precautions
To check whether the IGMP snooping function is normal, enable IGMP snooping of the VSI to trigger the exchange of IGMP Query packets and Report packets between the multicast source and receiver and specify a non-reserved multicast address as the destination address to initiate the VPLS multicast ping.
The ping vpls multicast command does not support BGP AD VPLS.
After receiving a VPLS multicast Ping packet, the egress in the VPLS domain sends a Reply packet to the sender. The sender can determine the connectivity of the egress and the round trip delay according to the received Reply packet.
You can check the IGMP snooping function in the following scenarios:
# Initiate an MFIB ping test with a specified VSI in the VPLS domain.
<HUAWEI> ping vpls multicast vsi aaa -a 11.10.10.1 -c 2 -v 225.0.0.1 ping 225.0.0.1 : 56 data bytes , press CTRL-C to break Seq Node-id Path Size RTT ------------------------------------------------------------------------------- [Send request Seq. 1.] 1 51.51.51.51: ge0/0/1 Self 100 0ms 1 52.52.52.52: ge0/0/2 In-Band 100 20ms 1 54.54.54.54: ge0/0/2 In-Band 100 10ms [Send request Seq. 2.] 2 51.51.51.51: ge0/0/1 Self 100 0ms 2 52.52.52.52: ge0/0/2In-Band 100 10ms 2 54.54.54.54: ge0/0/2 In-Band 100 20ms ------------------------------------------------------------------------------- --225.0.0.1 ping statistics-- 2 packets transmitted 4 packets received round-trip min/avg/max = 10/15/20 ms
Item |
Description |
---|---|
Seq |
Sequence number of the packet. |
Node-id |
Response address, which carries the port number if it contains forwarding information about the AC side. |
Path |
Path.
|
Size |
Size of the packet. |
RTT |
Round trip time. |