< Home

ping vpls multicast

Function

The ping vpls multicast command starts an MFIB ping test with a specified VSI in the VPLS domain.

Format

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

Parameters

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.
  • 1: indicates that the peer end does not respond to Echo Request packets.
  • 2: indicates that the peer end responds to Echo Request packets with IPv4 or IPv6 UDP packets.
  • 3: indicates that the peer end responds to Echo Request packets with IPv4 or IPv6 UDP packets carrying the Router Alert option.
  • 4: indicates that the peer end responds to Echo Request packets through the control channel of the application program grade.
  • 5: indicates that the peer end responds to Echo Request packets with VPLS IPv4 UDP packets.
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. -

Views

All views

Default Level

0: Visit level

Usage Guidelines

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:

  • If IGMP snooping is enabled on a PE and the ping vpls multicast command run on the PE contains the -v parameter, the MPLS Echo packet received by the initiator carries information about interfaces at the AC side of the PE. If the initiator does not receive the Echo Reply packet of the PE, it considers the IGMP snooping function faulty.
  • If a certain PE is not enabled with the IGMP snooping function, the Echo Reply packet received by the initiator does not carry information about interfaces at the AC side of the PE.

Example

# 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
Table 1 Description of the ping vpls multicast command output

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.

  • Self: indicates that packets are sent from the local end (AC side).
  • In-Band: indicates that packets are sent from the data link layer (PW side).

Size

Size of the packet.

RTT

Round trip time.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >