315
MPLS L2VPN configuration task list
To establish an MPLS L2VPN, you must complete the following tasks:
•
Configure an IGP to achieve IP connectivity within the backbone.
•
Configure basic MPLS, LDP, or MPLS TE to set up public tunnels across the backbone.
•
Configure MPLS L2VPN on the PEs, including setting up PWs, and binding ACs to PWs.
This chapter only describes MPLS L2VPN configurations on the PEs.
MPLS L2VPN configurations vary with the following scenarios:
•
MPLS L2VPN connection
—To create an MPLS L2VPN connection, configure an AC,
configure a PW in cross-connect view or auto-discovery cross-connect view, and bind the AC
with the PW in cross-connect view or auto-discovery cross-connect view.
•
Multi-segment PW
—To create a multi-segment PW, configure two PWs and bind the two PWs
in cross-connect view.
To configure MPLS L2VPN on a PE:
Tasks at a glance
Remarks
N/A
For multi-segment PWs, skip
this task.
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.
Binding an AC to a cross-connect
For multi-segment PWs, skip
this task.
•
Configuring static PW redundancy
•
Choose either task to
configure PW redundancy.
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 backbone interface of the PE.
For more information about these commands, see
MPLS Command Reference
.
To enable L2VPN:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable L2VPN.
l2vpn enable
By default, L2VPN is disabled.