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 Configuration of Carrier's Carrier (Solution 2)

Verifying the Configuration of Carrier's Carrier (Solution 2)

After configuring carrier's carrier, you can view information about public network routes on PEs and CEs of carriers at different levels, VPN routes on the PEs, and LDP LSPs.

Prerequisites

The Carrier's Carrier (Solution 2) function has been configured.

Procedure

  • Run the display ip routing-table vpn-instance vpn-instance-name command to check routing tables of the private network on the Level 1 carrier PE and the Level 2 carrier PE.
  • Run the display ip routing-table command to check routing tables of the public network on PEs and CEs of both the Level 1 carrier and the Level 2 carrier's networks.
  • Run the display mpls lsp [ vpn-instance vpn-instance-name ] [ protocol ldp ] [ { exclude | include } ip-address mask-length ] [ outgoing-interface interface-type interface-number ] [ in-label in-label-value ] [ out-label out-label-value ] [ lsr-role { egress | ingress | transit } ] [ verbose ] command to check whether the LDP LSP is set up on the Level 1 carrier CE.

Example

Run the display ip routing-table command on the Level 1 carrier PEs and CEs, and on the Level 2 carrier PEs and CEs. You can find the following:

  • The routing table of the public network on the Level 1 carrier PE contains only the routes of the Level 1 carrier network.
  • The routing table of the public network on the Level 1 carrier CE contains the internal routes, rather than the external routes of the Level 2 carrier's network. The routing table of the public network on the Level 2 carrier PE contains the internal routes of the Level 2 carrier's network.
  • The local Level 2 carrier CE has routes to the remote Level 2 carrier CE.
  • The routes between the Level 1 carrier CE and the remote Level 2 carrier PE are labeled BGP routes of the public network: The routing table is "Public", the protocol type is "BGP", and the label has a non-zero value.
<~CE1> display ip routing-table 6.6.6.9 verbose
Route Flags: R - relay, D - download
to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------
Routing Table : _public_
Summary Count : 1

Destination: 6.6.6.9/32
     Protocol: BGP             Process ID: 0
   Preference: 255                   Cost: 0
      NextHop: 127.0.0.1        Neighbour: 10.1.1.2
        State: Active Adv             Age: 00h12m53s
          Tag: 0                 Priority: low
        Label: 15369              QoSInfo: 0x0
   IndirectID: 0x0
 RelayNextHop: 0.0.0.0          Interface: GigabitEthernet2/0/0
     TunnelID: 0x6002006            Flags:  D

Run the display ip routing-table vpn-instance vpn-instance-name command on the Level 1 carrier PE and the Level 2 carrier PE to check the routing tables of the private network, and you can find the following:

  • The VPN routing table on the Level 1 carrier PE contains the internal routes, rather than the external routes, of the Level 2 carrier network.
  • The VPN routing table on the Level 2 carrier PE contains the routes of the remote VPN clients, that is, the external routes of the Level 2 carrier network.

Run the display mpls lsp protocol ldp include dest-ip-address mask-length verbose command on the Level 1 carrier CE and the remote Level 2 carrier PE. You can find that the LDP Egress LSP and LDP Ingress LSP are established on the Level 1 carrier CE and the remote Level 2 carrier PE respectively.

[~CE1] display mpls lsp protocol ldp include 6.6.6.9 32 verbose
----------------------------------------------------------------------
                 LSP Information: LDP LSP
----------------------------------------------------------------------
  No                  :  1
  VrfIndex            :
  Fec                 :  6.6.6.9/32
  Nexthop             :  10.1.1.2
  In-Label            :  1027
  Out-Label           :  NULL
  In-Interface        :  ----------
  Out-Interface       :  ----------
  LspIndex            :  10247
  Type                :  Primary
  OutSegmentIndex     :  0
  LsrType             :  Egress
  Outgoing TunnelID   :  0x6002006
  Label Operation     :  POPGO
  Mpls-Mtu            :  ------
  LspAge              :  150 sec
  Bfd-State           :  ---
[~PE4] display mpls lsp protocol ldp include 2.2.2.9 32 verbose
-------------------------------------------------------------------------------
                 LSP Information: LDP LSP
-------------------------------------------------------------------------------
  No                  :  1
  VrfIndex            :
  Fec                 :  2.2.2.9/32
  Nexthop             :  10.1.1.1
  In-Label            :  NULL
  Out-Label           :  1024
  In-Interface        :  ----------
  Out-Interface       :  GigabitEthernet 2/0/0
  LspIndex            :  123904
  Type                :  Primary
  OutSegmentIndex     :  0
  LsrType             :  Ingress
  Outgoing TunnelID   :  0x6002006
  Label Operation     :  PUSH
  Mpls-Mtu            :  1500
  LspAge              :  160 sec
  Bfd-State           :  ---

  No                  :  2
  VrfIndex            :
  Fec                 :  2.2.2.9/32
  Nexthop             :  10.1.1.1
  In-Label            :  1024
  Out-Label           :  1024
  In-Interface        :  ----------
  Out-Interface       :  GigabitEthernet 2/0/0
  LspIndex            :  123905
  Type                :  Primary
  OutSegmentIndex     :  0
  LsrType             :  Transit
  Outgoing TunnelID   :  0x4000
  Label Operation     :  SWAP
  Mpls-Mtu            :  1500
  LspAge              :  16 sec
  Bfd-State           :  --- 
Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 28085

Downloads: 53

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