5.6.7 Checking the Configuration
After a Kompella VLL is configured, you can view BGP and connection information about the
Kompella VLL, L2VPN information on PEs, and information about the route target (RT)
attribute list.
Prerequisite
The configurations of the Kompella VLL function are complete.
Procedure
l Run the display bgp l2vpn { all | group [ group-name ] | peer [ [ peer-ip-address ]
verbose ] | route-distinguisher route-distinguisher [ ce-id ce-id [ label-offset label-
offset ] ] } command to check the BGP information of the Kompella VLL.
l Run the display mpls l2vpn connection [ vpn-name [ remote-ce ce-id | down | up |
verbose ] | summary | interface interface-type interface-number ] command to check the
connection information of the Kompella VLL.
l Run the display mpls l2vpn [ l2vpn-name [ local-ce | remote-ce ] ] command to check the
VLL information on PE.
l Run the display mpls l2vpn { export-route-target-list | import-route-target-list }
command to check the route target list of the L2VPN.
----End
Example
Run the display bgp l2vpn command. You can find that nexthop is the peer address of the VC,
route-distinguisher of the L2VPN is correct, and the label allocation is complete. For example:
<Quidway> display bgp l2vpn all
 BGP Local router ID : 1.1.1.9, local AS number : 100
 Origin codes:i - IGP, e - EGP, ? - incomplete
 bgp.l2vpn: 1 destination
 Route Distinguisher: 100:1
 CE ID   Label Offset   Label Base    nexthop          pref      as-path
 2       0              35850         6.6.6.6          100       
Run the display mpls l2vpn connection command. You can find that VPN name is correctly
configured, status of the connection is up, and route-distinguisher is correctly configured. For
example:
<Quidway> display mpls l2vpn connection
1 total connections,
connections: 1 up, 0 down, 0 local, 1 remote, 0 unknown
  CE name: ce1, id: 1,
  Rid type status peer-id         route-distinguisher interface
  primary or not
----------------------------------------------------------------------------
  2   rmt  up     3.3.3.9         100:1               GigabitEthernet1/0/0.1
  primary
Run the display mpls l2vpn [ l2vpn-name [ local-ce | remote-ce ] ] command. You can find
that route-distinguisher and L2VPN route targets are correctly configured. For example:
<Quidway> display mpls l2vpn vpn1
VPN name: vpn1, encap type: vlan, local ce number(s): 1, remote ce number(s): 1
route distinguisher: 100:1, MTU: 1500
import vpn target: 1:1,
export vpn target: 1:1,
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 5 VLL Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
471