No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - VPN

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document describes VPN features on the device and provides configuration procedures and configuration examples.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Checking Network Connectivity and Reachability

Checking Network Connectivity and Reachability

Context

After completing VPN configuration, you can:
  • Run the ping command on the local CE to check whether the local CE and the remote CE in the same VPN can communicate with each other. If the ping fails, you can run the tracert command to locate the faulty node.
  • Run the ping command with the -vpn-instance vpn-instance-name parameter on the PE to check whether the PE and the CE in the same VPN as the PE can communicate with each other. If the ping fails, you can run the tracert command with the -vpn-instance vpn-instance-name parameter to locate the faulty node.

If multiple interfaces on the PE are bound to the same VPN, you need to specify the source IP address, that is, the -a source-ip-address when you ping or tracert the remote CE that accesses the peer PE. If no source IP address is specified, the PE selects the smallest IP address from the IP addresses of the interfaces on the PE bound to this VPN as the source address of the Internet Control Message Protocol (ICMP) messages. If the CE has no route to the selected IPv4 route, the CE discards the returned ICMP message.

NOTE:

By default, as for the MPLS time to live (MPLS TTL) timeout packet with a single label, the router returns the ICMP message according to the local IP route (that is, the public network route). However, no VPN route exists in the public network routing table of the ASBR and therefore, the ICMP message is discarded when being sent to or returned by the ASBR.

Procedure

  • Run the ping [ ip ] [ -a source-ip-address | -c count | -d | -f | -h ttl-value | [ -i interface-type interface-number | -si source-interface-type source-interface-number ] | -m time | -n | -name | -p pattern | -q | -r | -s packetsize | -system-time | -t timeout | -tos tos-value | -v | -vpn-instance vpn-instance-name | ignore-mtu ] * host [ ip-forwarding ] command to check network connectivity from the local device to a specified destination IP address.
  • Run the tracert [ -a source-ip-address | -f first-ttl | -m max-ttl | -name | -p port | -q nqueries | -vpn-instance vpn-instance-name | -w timeout | -v ] * host command to check the gateways that a data packet passes when it is sent from the local device to the destination.
  • Run the ping lsp [ -a source-ip | -c count | -exp exp-value | -h ttl-value | -m interval | -r reply-mode | -s packet-size | -t time-out | -v ] * ip destination-address mask-length [ ip-address ] [ nexthop nexthop-address | draft6 ] command to check connectivity of a Label Switched Path (LSP).
  • Run the tracert lsp [ -a source-ip | -exp exp-value | -h ttl-value | -r reply-mode | -t time-out | -v ] * ip destination-address mask-length [ ip-address ] [ nexthop nexthop-address | draft6 ] command to check the gateways that a data packet passes when it is sent from the local device to the destination along the LSP.
Translation
Download
Updated: 2019-08-07

Document ID: EDOC1100033725

Views: 144543

Downloads: 361

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next