You can perform a ping operation to check tunnel connectivity on an EVPN VPLS network by specifying a MAC address.
Run ping evpn vpn-instance evpn-name mac mac-address [ -a source-ip | -c count | -m interval | -s packet-size | -t time-out | -r reply-mode | -nexthop nexthop-address ] *
The device is configured to check the connectivity of an EVPN over MPLS LDP or EVPN over MPLS TE tunnel.
<HUAWEI> ping evpn vpn-instance evpna mac 00e0-fc12-3456 -c 3 -s 200
Ping vpn-instance evpna mac 00e0-fc12-3456 : 200 data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=200 sequence=1 time = 11ms
Reply from 1.1.1.1: bytes=200 sequence=2 time = 10ms
Reply from 1.1.1.1: bytes=200 sequence=3 time = 10ms
--- vpn-instance: evpna 00e0-fc12-3456 ping statistics ---
3 packet(s) transmitted
3 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/10/11 ms
Run ping evpn bridge-domain bd-id [ vlan vlan-id ] mac mac-address [ -a source-ip | -c count | -m interval | -s packet-size | -t time-out | -r reply-mode | -nexthop nexthop-address ] *
The VLAN cannot be specified if the MAC address learning is not in qualify mode.
<HUAWEI> ping evpn bridge-domain 101 mac 00e0-fc12-3456 -c 3 -s 200
Ping bridge-domain 101 mac 00e0-fc12-3456 : 200 data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=200 sequence=1 time = 11ms
Reply from 1.1.1.1: bytes=200 sequence=2 time = 10ms
Reply from 1.1.1.1: bytes=200 sequence=3 time = 10ms
--- bridge-domain: 101 00e0-fc12-3456 ping statistics ---
3 packet(s) transmitted
3 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/10/11 ms
Run ping evpn vpn-instance evpn-name mac mac-address [ -a source-ip | -c count | -m interval | -spacket-size | -t time-out | -r reply-mode | -nexthop nexthop-address ] *
The device is configured to check the connectivity of an EVPN over SR-MPLS BE or EVPN over SR-MPLS TE tunnel.
<HUAWEI> ping evpn vpn-instance evpna mac 00e0-fc12-3456 -c 3 -s 200
Ping vpn-instance evpna mac 00e0-fc12-3456 : 200 data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=200 sequence=1 time = 11ms
Reply from 1.1.1.1: bytes=200 sequence=2 time = 10ms
Reply from 1.1.1.1: bytes=200 sequence=3 time = 10ms
--- vpn-instance: evpna 00e0-fc12-3456 ping statistics ---
3 packet(s) transmitted
3 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/10/11 ms
Run ping evpn vpn-instance evpn-name mac mac-address [ -asource-ip | -c count | -m interval | -s packet-size | -t time-out | -r reply-mode | -nexthop nexthop-address ] *
The device is configured to check the connectivity of an EVPN over BGP tunnel.
<HUAWEI> ping evpn vpn-instance evpna mac 00e0-fc12-3456 -c 3 -s 200
Ping vpn-instance evpna mac 00e0-fc12-3456 : 200 data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=200 sequence=1 time = 11ms
Reply from 1.1.1.1: bytes=200 sequence=2 time = 10ms
Reply from 1.1.1.1: bytes=200 sequence=3 time = 10ms
--- vpn-instance: evpna 00e0-fc12-3456 ping statistics ---
3 packet(s) transmitted
3 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/10/11 ms
Run ping evpn bridge-domain bd-id [ vlan vlan-id ] mac mac-address [ -a source-ip | -c count | -m interval | -s packet-size | -t time-out | -r reply-mode | -nexthop nexthop-address ] *
The VLAN cannot be specified if the MAC address learning is not in qualify mode.
<HUAWEI> ping evpn bridge-domain 100 mac 00e0-fc12-3456
Ping bridge-domain 100 mac 385d-6721-0300 : 110 data bytes, press CTRL_C to break
Reply from 2001:DB8:100::1:0:5F: bytes=110 sequence=1 time < 1ms
Reply from 2001:DB8:100::1:0:5F: bytes=110 sequence=2 time < 1ms
Reply from 2001:DB8:100::1:0:5F: bytes=110 sequence=3 time < 1ms
Reply from 2001:DB8:100::1:0:5F: bytes=110 sequence=4 time < 1ms
Reply from 2001:DB8:100::1:0:5F: bytes=110 sequence=5 time < 1ms
--- bridge-domain: 100 00e0-fc12-3456 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/1 ms