< Home

ping vpls mac vsi

Function

The ping vpls mac vsi command checks the connectivity of Layer 2 forwarding links on the VPLS network.

Format

ping vpls mac mac-address vsi vsi-name [ vlan vlan-id | -c count | -m time-value | -s packsize | -t timeout | -exp exp | -r replymode | -h ttl ] *

ping vpls mac mac-address vsi vsi-name rapid [ vlan vlan-id | -c count | -s packsize | -t timeout | -exp exp | -r replymode | -h ttl ] *

Parameters

Parameter Description Value
mac mac-address Specifies the unicast destination MAC address of the VPLS MAC ping, expressed in the format of H-H-H. An H is a hexadecimal number of 1 to 4 bits, such as 00e0 and fc01. If you enter less than four digits, 0s are padded before the input digits. For example, if e0 is entered, 00e0 is displayed. The value cannot be a broadcast or multicast MAC address.
vsi vsi-name Specifies the name of a VSI. The value is an existing VSI.
vlan vlan-id Specifies the ID of a VLAN vlan-id specifies the VLAN ID, which is an integer that ranges from 1 to 4094.
rapid Indicates that VPLS MAC ping packets are sent in rapid mode.

This parameter can be used if each response message is not concerned and multiple ping operations need to be performed within a shot period of time. This configuration allows all packets to be sent at the same time, and only summary statistics are displayed.

-
-c count Specifies the number of VPLS MAC Ping Request packets to be sent. The value ranges from 1 to 4294967295. The default value is 5.
-m time-value Specifies the time to wait before sending the next VPLS MAC Ping Request packet. The value ranges from 1 to 10000, in milliseconds. The default value is 2000 ms.
-s packsize Specifies the size of the VPLS MAC Ping Request packet. The value ranges from 142 to 1442, in bytes. The default value is 142 bytes.
-t timeout Specifies the timeout period for waiting for a Reply packet in response to a VPLS MAC Ping Request packet. The value ranges from 0 to 65535, in milliseconds. The default value is 2000 ms.
-exp exp Specifies the priority. The value ranges from 0 to 7. The default value is 0.
-r replymode Specifies the reply mode, that is, the Reply packet is sent from the control layer or the data layer. Enumerated type. -
-h ttl Specifies the TTL value of an Echo Request packet to be sent. The value ranges from 1 to 255. The default value is 30.

Views

All views

Default Level

0: Visit level

Usage Guidelines

Using the ping vpls mac vsi command, you can check the connectivity of Layer 2 forwarding links on the VPLS network.

Example

# On the VPLS network, check whether the device with the MAC address of 00e0-5952-6f01 is reachable.

<HUAWEI> ping vpls mac 00e0-5952-6f01 vsi v123
Ping mac 00e0-5952-6f01 vsi v123 : 100 data bytes , press CTRL_C to break
     Reply from 10.1.1.1 : bytes=100 sequence=1 time = 1ms
     Reply from 10.1.1.1 : bytes=100 sequence=2 time = 1ms
     Reply from 10.1.1.1 : bytes=100 sequence=3 time = 2ms
     Reply from 10.1.1.1 : bytes=100 sequence=4 time = 3ms
     Reply from 10.1.1.1 : bytes=100 sequence=5 time = 2ms
     The IP address of the PE is 5.5.5.5 and the interface on the PE is GigabitEthernet0/0/1.
   
   --- vsi : v123 00e0-5952-6f01 ping statistics ---
     5 packet(s) transmitted
     5 packet(s) received
     0.00% packet loss
     round-trip min/avg/max = 1/2/3 ms
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >