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 Inter-AS VPN Option C Configuration

Verifying the Inter-AS VPN Option C Configuration

After configuring inter-AS VPN OptionC (solution 2), check information about all BGP peer relationships, VPNv4 routes on PEs, and labels of IPv4 routes on ASBRs.

Prerequisites

Inter-AS VPN Option C (solution 2) has been configured.

Procedure

  • Run the display bgp vpnv4 all peer command to check information about the specified VPNv4 peer on a PE.
  • Run the display bgp vpnv4 all routing-table command to check information about the VPN-IPv4 routing table on a PE or an ASBR.
  • Run the display bgp labeled routing-table label command to check information about the labels of the IPv4 routes on an ASBR.
  • Run the display ip routing-table vpn-instance vpn-instance-name command to check information about the VPN routing table on a PE.
  • Run the display mpls route-state [ vpn-instance vpn-instance-name ] [ { exclude | include } { idle | ready | settingup } * | destination-address mask-length ] [ verbose ] command to check the matching relationship between routes and the LSP on an ASBR.
  • Run the display ip routing-table command to check information about the routing table on an ASBR.
  • 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 an LDP LSP is established on an ASBR.

Example

Run the display bgp vpnv4 all peer command. The command output shows that the EBGP peer relationship between PEs is established.

Run the display bgp vpnv4 all routing-table command on a PE and an ASBR. The command output shows that BGP VPNv4 routes and BGP VPN instance routes are on the PE, rather than on the ASBR.

Run the display bgp labeled routing-table label command on an ASBR, and you can check information about labels of IPv4 routes.

Run the display ip routing-table vpn-instance vpn-instance-name command on a PE. The command output shows that the VPN routing table of the PE has the VPN routes to the CE related to the specified VPN instance.

Run the display mpls route-state verbose command on an ASBR. The command output shows the labeled BGP routes of the public network.

Run the display ip routing-table command on an ASBR. The command output shows that the routes to the remote 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.

[~ASBR] display ip routing-table 4.4.4.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 : 4.4.4.9/32
     Protocol : BGP             Process ID : 0
   Preference : 255                   Cost : 1
      NextHop : 192.168.1.2       Neighbour: 192.168.1.2
        State : Active Adv             Age : 00h12m53s
          Tag : 0                 Priority : low
        Label : 15360              QoSInfo : 0x0
    IndirectID: 0x0
 RelayNextHop : 0.0.0.0          Interface : GigabitEthernet0/2/0
     TunnelID : 0x6002006            Flags :  D

Run the display mpls lsp command on an ASBR. The command output shows that an LDP LSP is established between the ASBR and remote PE. An ingress LDP LSP to the remote PE can be found on the local PE.

[~ASBR] display mpls lsp protocol ldp include 4.4.4.9 32 verbose
----------------------------------------------------------------------
                 LSP Information: LDP LSP
----------------------------------------------------------------------
  No                  :  1
  VrfIndex            :
  Fec                 :  4.4.4.9/32
  Nexthop             :  192.168.1.2
  In-Label            :  1024
  Out-Label           :  NULL
  In-Interface        :  ----------
  Out-Interface       :  ----------
  LspIndex            :  5000003
  Type                :  Primary
  OutSegmentIndex     :  0
  LsrType             :  Egress
  Outgoing TunnelID   :  0x40000
  Label Operation     :  SWAPPUSH
  Mpls-Mtu            :  ------
  LspAge              :  16 sec
  Bfd-State           :  ------
Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 28079

Downloads: 53

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