使用Ping/Trace检测虚拟集群网络
在虚拟集群网络中,当业务出现问题,可以通过ping&trace检测VP的连通性及故障点,及通过ping检测到指定AP的VC的连通性,达到辅助定位的目的。
- 使用Ping检测虚拟集群网络的连通性
可以使用ping检测master到AP设备的VP隧道或VC隧道的连通性。 - 使用Trace检测虚拟集群网络的路径信息
可以使用trace检测master到AP设备路径信息。
使用Ping检测虚拟集群网络的连通性
可以使用ping检测master到AP设备的VP隧道或VC隧道的连通性。
操作步骤
- 执行命令vping [ -c count | -exp exp-value | -m time | -t timeout | -g ] ap { ap-name | ap-address } [ primary | hot-standby ],检测master到AP设备的VP隧道的连通性。
举例如下:
# 检测到AP10的主VP的连通性。
<HUAWEI> vping ap 10 primary LSP PING FEC: IPV4 PREFIX 1.1.1.9/0/ : 100 data bytes, press CTRL_C to break Reply from 2.1.1.2: bytes=100 Sequence=0 time = 50 ms Reply from 2.1.1.2: bytes=100 Sequence=1 time = 28 ms Reply from 2.1.1.2: bytes=100 Sequence=2 time = 33 ms Reply from 2.1.1.2: bytes=100 Sequence=3 time = 52 ms Reply from 2.1.1.2: bytes=100 Sequence=4 time = 8 ms --- vping ap 10 statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 8/34/52 ms
- 执行命令vping [ -c count | -exp exp-value | -m time | -t timeout | -g ] ap { ap-name | ap-address } interface interface-name,检测master到AP设备的VC隧道的连通性。
举例如下:
# 检测到AP10 VC的连通性。
<HUAWEI> vping ap 10 interface GigabitEthernet0/1/0 LSP PING FEC: IPV4 PREFIX 1.1.1.9/0/ : 100 data bytes, press CTRL_C to break Reply from 1.1.1.9: bytes=100 Sequence=1 time = 140 ms Reply from 1.1.1.9: bytes=100 Sequence=2 time = 40 ms Reply from 1.1.1.9: bytes=100 Sequence=3 time = 30 ms Reply from 1.1.1.9: bytes=100 Sequence=4 time = 50 ms Reply from 1.1.1.9: bytes=100 Sequence=5 time = 50 ms --- vping ap 10 statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 30/62/140 ms