3com 8807 User Guide

Page of 883
Kompella MPLS L2VPN Configuration
625
Kompella MPLS L2VPN 
Configuration
Configuring Kompella 
MPLS L2VPN
Table 566   Configure Kompella MPLS L2VPN
Operation 
Command 
Description 
Enter system view 
system-view 
Configure the LSR ID 
mpls lsr-id lsr-id 
Required 
Enable MPLS 
mpls 
Required 
Enable MPLS L2VPN globally 
mpls l2vpn 
Required 
Perform BGP (border gateway 
protocol) related 
configuration. Make sure BGP 
operates properly and routers 
can discover routes to other 
routers. 
Refer to BGP Configuration in 
Routing Protocol module. 
Required. In a Kompella MPLS 
L2VPN, the extended BGP is 
used as the signaling protocol 
to distribute VC labels. So, 
you also need to configure 
BGP parameters on PEs. As for 
the MPLS L2VPN itself, it has 
no special requirements on 
the BGP configuration. 
Enter L2VPN address family 
view. 
l2vpn-family 
Required 
Activate the peer or peer 
group. 
peer { group-name | 
peer-address } enable 
Required. By default, only the 
peers of BGP IPv4 unicast 
address families are active. 
The peer groups of other 
types are deactivated and thus 
cannot exchange the routing 
information. 
Quit to system view 
quit 
Create a VPN and specify the 
encapsulation type. 
mpls l2vpn vpn-name [ 
encapsulation { ethernet | 
vlan } ] 
Required. The default 
encapsulation type is 
Ethernet. In the Kompella 
mode, the encapsulation type 
of the access side of the 
private network can be 
Ethernet access and VLAN 
access. If you configure the 
encapsulation type as 
Ethernet access, the port link 
type in a private network 
VLAN is Access type; if you 
configure the encapsulation 
type as VLAN access, the port 
link type in a private network 
VLAN is Trunk type. It is not 
recommended to use Hybrid 
type as the port link type in a 
private network VLAN. The 
user access modes of the 
instance in all the peer PEs 
must be consistent.