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).
Verifying the HVPN Configuration

Verifying the HVPN Configuration

After you configure an HVPN, check on a local CE the default route or specific routes from this CE to a remote CE.

Prerequisites

The HVPN has been configured.

Procedure

  • Run the display ip routing-table command on a local CE to check routing table information.

    • If you have configured an HoVPN, the command output shows a default route from the local CE to the remote CE. The next hop of the route is a UPE.

    • If you have configured an H-VPN, the command output shows specific routes from the local CE to the remote CE.

  • Run the display mpls lsp protocol bgp [ nexthop nexthop-address ] [ lsr-role { egress | ingress | transit } ] [ verbose ] command to check information about the LSP established using BGP for BGP IPv4 VPN routes.

Example

# Run the display ip routing-table command on a local CE. The command output shows a default route from the local CE to the remote CE. The next hop is the UPE connected to the local CE.

<CE> display ip routing-table
Route Flags: R - relay, D - download
to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 5        Routes : 5
  Destination/Mask  Proto  Pre  Cost      Flags  NextHop               Interface
        0.0.0.0/0  EBGP  255  0             D 10.1.1.2             GigabitEthernet0/1/0
       10.1.1.0/24  Direct 0    0             D  10.1.1.1              GigabitEthernet0/1/0
       10.1.1.1/32  Direct 0    0             D  127.0.0.1             GigabitEthernet0/1/0
      127.0.0.0/8   Direct 0    0             D  127.0.0.1             InLoopBack0
      127.0.0.1/32  Direct 0    0             D  127.0.0.1             InLoopBack0

Run the display mpls lsp protocol bgp command on an SPE. The command output shows detailed information about the LSP established using BGP for BGP IPv4 VPN routes.

<HUAWEI> display mpls lsp protocol bgp nexthop 1.1.1.9 verbose
-------------------------------------------------------------------------------
                 LSP Information: L3VPN Label-Per-Nexthop LSP
-------------------------------------------------------------------------------
  No                  :  1
  VrfIndex            :  ASBR LSP
  RD Value            :  ------
  IndirectID          :  1862271516
  Nexthop             :  1.1.1.9
  In-Label            :  32913
  Out-Label           :  32888
  In-Interface        :  ------
  Out-Interface       :  ------
  LspIndex            :  32913
  Type                :  Primary
  OutSegmentIndex     :  ------
  LsrType             :  Transit
  Outgoing TunnelID   :  0x4c4b42
  Label Operation     :  SWAP
  Mpls-Mtu            :  ------
  LspAge              :  ------
  
  No                  :  2
  VrfIndex            :  ASBR LSP
  RD Value            :  ------
  IndirectID          :  1862271516
  Nexthop             :  1.1.1.9
  In-Label            :  32915
  Out-Label           :  32889
  In-Interface        :  ------
  Out-Interface       :  ------
  LspIndex            :  32915
  Type                :  Primary
  OutSegmentIndex     :  ------
  LsrType             :  Transit
  Outgoing TunnelID   :  0x4c4b42
  Label Operation     :  SWAP
  Mpls-Mtu            :  ------
  LspAge              :  ------
  
  No                  :  3
  VrfIndex            :  ASBR LSP
  RD Value            :  ------
  IndirectID          :  1862271516
  Nexthop             :  1.1.1.9
  In-Label            :  32914
  Out-Label           :  32891
  In-Interface        :  ------
  Out-Interface       :  ------
  LspIndex            :  32914
  Type                :  Primary
  OutSegmentIndex     :  ------
  LsrType             :  Transit
  Outgoing TunnelID   :  0x4c4b42
  Label Operation     :  SWAP
  Mpls-Mtu            :  ------
  LspAge              :  ------
Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 28175

Downloads: 53

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