5.8.3 Checking the Configuration
After an inter-AS 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 Inter-AS 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 BGP information about a 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
information about the Kompella VLLs.
l
Run the
display mpls l2vpn
[
l2vpn-name
[
local-ce
|
remote-ce
] ] command to check
L2VPN information about a PE.
l
Run the
display mpls l2vpn
{
export-route-target-list
|
import-route-target-list
}
command to check the route target list of an 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
3.3.3.9
0 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
VPN name: vpn1,
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
----------------------------------------------------------------------------
1 rmt up 6.6.6.6 1:1 Vlanif222
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
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.
476