Configuring MPLS L2VPN
You can select any of the implementation methods for MPLS L2VPN as needed. However, no matter
what method you select, you must complete these two tasks:
Configuring MPLS basic capability
Enabling MPLS L2VPN
Follow these steps to complete the above two tasks:
To do...
Enter system view
Configure the LSR ID
Configure MPLS basic
capability and enter MPLS view
Return to system view
Specify the reserved VLAN
Enable MPLS L2VPN
Configuring a PE Interface Connecting a CE
A PE interface connecting a CE can use these encapsulation types:
Ethernet
VLAN
Configuring a PE Interface Connecting a CE to Use Ethernet
An Ethernet interface can use the encapsulation type of Ethernet. For Ethernet interface
configuration information, refer to Ethernet Port Configuration in the Access Volume.
A VLAN interface using the link type of access can use the encapsulation type of Ethernet. For
configuration information about VLAN interface and link type, refer to VLAN Configuration in the
Access Volume.
Configuring a PE Interface Connecting a CE to Use VLAN
A VLAN interface using the link type of trunk or hybrid can use the encapsulation type of VLAN (the
VLAN interface and the CE must reside in the same VLAN). For configuration information about VLAN
interface and link type, refer to VLAN Configuration in the Access Volume.
Configuring CCC MPLS L2VPN
Configuration Prerequisites
Before configuring CCC L2VPN, complete these tasks:
Use the command...
system-view
mpls lsr-id lsr-id
mpls
quit
mpls l2vpn reserve vlan
vlan-id
mpls l2vpn
1-6
Remarks
—
Required
Required
—
Optional
Required when using
LSQ1SRP1CB engine.
Required