3com 8807 User Guide
Martini MPLS L2VPN Configuration
621
Martini MPLS L2VPN
Configuration
Configuration
Configuring Martini
MPLS L2VPN
c
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.
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.
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
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 .
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
id
-
Create a Martini MPLS L2VPN
virtual connection in VLAN
interface view
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.
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
P
VLAN22
VLAN22
VLAN21
CE A
CE B
PE A
PE B
P
VLAN212
VLAN21