使用Ping检测EVPN网络
当EVPN隧道出现故障时,可以首先使用Ping EVPN测试EVPN标签转发路径,并且迅速定位隧道转发故障。
- 使用Ping检测EVPN网络的连通性
使用Ping可以检测EVPN标签转发路径,迅速定位EVPN隧道的转发故障。
使用Ping检测EVPN网络的连通性
使用Ping可以检测EVPN标签转发路径,迅速定位EVPN隧道的转发故障。
操作步骤
- 检测EVPN公网类型为EVPN over MPLS LDP或EVPN over MPLS TE隧道的连通性
执行命令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 ] *,检测EVPN公网类型为EVPN over MPLS LDP或EVPN over MPLS TE隧道的连通性。
<HUAWEI> ping evpn vpn-instance evpna mac 38ba-37d4-ae01 -c 3 -s 200 Ping vpn-instance evpna mac 38ba-37d4-ae01 : 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 38ba-37d4-ae01 ping statistics --- 3 packet(s) transmitted 3 packet(s) received 0.00% packet loss round-trip min/avg/max = 10/10/11 ms
- 检测EVPN公网类型为EVPN over VXLAN隧道的连通性
执行命令ping evpn bridge-domain bd-id mac mac-address [ -a source-ip | -c count | -m interval | -s packet-size | -t time-out | -r reply-mode | -nexthop nexthop-address ] *,检测EVPN公网类型为EVPN over VXLAN隧道的连通性。
<HUAWEI> ping evpn bridge-domain 101 mac 38ba-37d4-ae01 -c 3 -s 200 Ping bridge-domain 101 mac 38ba-37d4-ae01 : 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 38ba-37d4-ae01 ping statistics --- 3 packet(s) transmitted 3 packet(s) received 0.00% packet loss round-trip min/avg/max = 10/10/11 ms