Tasks at a glance
(Required.)
(Required.)
(Required.)
Configuring a
•
(Optional.)
•
(Required.) Choose either of the following tasks to configure a PW:
Configuring a static PW
Configuring an LDP PW
Configuring a BGP PW
Configuring a remote CCC connection
(Required.)
(Optional.)
Configuring PW
•
Configuring static PW redundancy
•
Configuring LDP PW redundancy
(Optional.)
Configuring interworking for a cross-connect
(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
1.
Enter system view.
2.
Enable L2VPN.
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
Enabling L2VPN
Configuring an AC
Configuring a cross-connect
PW:
Configuring a PW class
Binding an AC to a cross-connect
redundancy:
Command
system-view
l2vpn enable
398
Remarks
N/A
For multi-segment PWs,
skip this task.
N/A
Choose a PW configuration
method depending on the
MPLS L2VPN
implementation.
Skip these tasks for local
connection configuration.
For multi-segment PWs,
skip this task.
Choose either task to
configure PW redundancy.
N/A
N/A
Remarks
N/A
By default, L2VPN is disabled.