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

Configuration Guide - VPN 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - VPN
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

This section describes how to use the ping command to detect the network connectivity between the source and destination, and how to use the tracert command to check the devices through which data packets are sent from the source to the destination.

Procedure

  • Run the ping [ ip ] [ -a source-ip-address | -c count | -d | { -f | ignore-mtu } | -h ttl-value | { -si source-interface-type source-interface-number | -nexthop nexthop-address } | -i interface-type interface-number | -m time | -p pattern | -q | -r | { -s packetsize | -range [ [ min min-size | max max-size | step step-size ] * ] } | -system-time | -t timeout | { -tos tos-value | -dscp dscp-value } | -v | -vpn-instance vpn-instance-name | -ri | -8021p 8021p-value ] * host [ ip-forwarding ] command to detect the reachability of the destination.
  • Run the tracert [ -a source-ip-address | -f first-TTL | -m max-TTL | -p port | -q nqueries | -vpn-instance vpn-instance-name | -w timeout ]* host command to check the gateway that a packet passes when being transmitted from the source 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-iphost mask-length [ ip-address ] [ nexthop nexthop-address ] command to check the connectivity of the Layer 3 VPN LSP.
  • Run the tracert lsp [ -a source-ip | -exp exp-value | -h ttl-value | -r reply-mode | -t time-out ] * ip destination-iphost mask-length [ ip-address ] detail command to check the gateways that a packet passes when being transmitted along the LSP.

Example

  • Run the ping command on a local CE. The command output shows whether the local and remote CEs in the same VPN can communicate with each other. If the ping fails, you can run the tracert command to locate the faulty node.
  • Alternatively, run the ping command with the -vpn-instance vpn-instance-name parameter on the PE. The command output shows whether the PE and 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 lowest 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, after a NE receives a single-tagged MPLS packet whose time to live (TTL) has expired, the NE returns an ICMP packet along the local IP route, a public network route. No VPN route, however, exists in the public network routing table of the ASBR. As a result, the ICMP packet is discarded when being sent to or returned by an ASBR.

Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 36663

Downloads: 61

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