398
Tasks at a glance
Remarks
(Required.)
N/A
(Required.)
For multi-segment PWs,
skip this task.
(Required.)
N/A
:
•
(Optional.)
•
(Required.) Choose either of the following tasks to configure a PW:
{
{
{
{
Configuring a remote CCC connection
Choose a PW configuration
method depending on the
MPLS L2VPN
implementation.
Skip these tasks for local
connection configuration.
(Required.)
Binding an AC to a cross-connect
For multi-segment PWs,
skip this task.
(Optional.)
•
Configuring static PW redundancy
•
Choose either task to
configure PW redundancy.
(Optional.)
Configuring interworking for a cross-connect
N/A
(Optional.)
Enabling SNMP notifications for L2VPN PW
Enabling L2VPN
Before you enable L2VPN, perform the following tasks:
•
Configure an LSR ID for the PE with the
mpls lsr-id
command.
•
Enable MPLS with the
mpls enable
command on the core-facing interface of the PE.
To enable L2VPN:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable L2VPN.
l2vpn enable
By default, L2VPN is disabled.
Configuring an AC
An AC can be a Layer 3 interface or subinterface.
Configuring a Layer 3 interface
To create a Layer 2 link between a PE and CE, configure the Layer 3 interface that connects the PE
to the CE.
The PE forwards packets received from a Layer 3 interface through the bound PW without network
layer processing. Therefore, the Layer 3 interface does not need an IP address.
Configuring the interface with Ethernet or VLAN encapsulation
On a Layer 3 Ethernet interface (including Layer 3 Ethernet interface and VE-L2VPN interface), both
the default PW data encapsulation type and default access mode are Ethernet. On a Layer 3