3com 8807 User Guide

Page of 883
Martini MPLS L2VPN Configuration
621
Martini MPLS L2VPN 
Configuration
Configuring Martini 
MPLS L2VPN
CAUTION:
You can configure only one VLAN on the access side of each VPN private 
network. Each VLAN can have only one interface. And IGMP must be disabled 
on the VLAN.
L2VPN supports VLAN interfaces only. Configure L2VPN on a VLAN interface.
Martini MPLS L2VPN 
Configuration Example
Network requirements
CEs shown in Figure 150 are in the same VLAN as the corresponding PEs resides 
in. A remote connection is required between CE-A and CE-B.
Network diagram
Figure 150   Network diagram for Martini MPLS L2VPN
Table 565   Configure Martini MPLS L2VPN
Operation 
Command 
Description 
Enter system view 
system-view 
Configure the LSR ID 
mpls lsr-id lsr-id 
Required 
Enable MPLS 
mpls 
Required 
Quit to system view 
quit 
Configure the LDP remote 
peer 
mpls ldp remote-peer index 
Required. Before configuring 
the connection, you need to 
enable LDP on each router 
and each port of the public 
network along the connection 
and configure the LDP remote 
peer on the peer PE. Refer to 
LDP Configuration in MPLS 
module for the configuration 
related to LDP . 
Quit to system view 
quit 
Enable MPLS L2VPN 
mpls l2vpn 
Required 
Enter VLAN interface view 
interface vlan-interface vlan 
id
 
Create a Martini MPLS L2VPN 
virtual connection in VLAN 
interface view 
mpls l2vc ip-address vc-id 
Required. To configure a 
Martini MPLS L2VPN on a PE, 
you need to provide the IP 
address (Lsr-id) of the peer PE 
and specify the VC ID. The 
combination of the VC ID and 
the encapsulation type must 
be unique on the PE. 
Quit to system view 
quit 
-
VLAN212
CE A 
CE B 
PE A 
PE B 
VLAN22
VLAN22
VLAN21
CE A 
CE B 
PE A 
PE B 
VLAN212
VLAN21