A tracert operation can be performed to locate an EVPN VPWS tunnel forwarding fault.
Before running the tracert evpn vpws command to locate a forwarding fault on an EVPN VPWS network, ensure that the EVPN VPWS network has been correctly configured.
After EVPN VPWS configurations are complete, perform the following operation in any view of the client.
Run the tracert evpn vpws local-ce-id remote-ce-id [ vpn-instance evpn-name ] [ control-word ] [ -a source-ip | -exp exp-value | -s packet-size | -t timeout | -h max-ttl | -r reply-mode | -tc tc ] * [ pipe | uniform ] command to check the EVPN VPWS status and locate the faulty node on the EVPN VPWS path.
In cross-domain scenarios, the control-word keyword must be specified, and the -r 4 mode is recommended.
Run the tracert evpn vpws local-ce-id remote-ce-id [ vpn-instance evpn-name ] [ end-op endOp ] [ -a source-ip | -exp exp-value | -s packet-size | -t timeout | -h max-ttl | -r reply-mode | -tc tc | -service-class classValue ] * [ pipe | uniform ] command to check the EVPN VPWS status and locate the faulty node on the EVPN VPWS path.
If the local service ID is not globally unique, the vpn-instance evpn-name parameter must be specified.
The following shows an example:
# Perform a tracert operation on an EVPN VPWS network.
<HUAWEI> tracert evpn vpws 1 2
EVPN VPWS TRACE FEC: Local Evpn Vpws Id = 1, Remote Evpn Vpws Id = 2 , press CTRL_C to break
TTL Replier Time Type Downstream
0 Ingress 10.1.1.1/[3 1 32927]
1 10.1.1.1 52 ms Egress