Enabling L2VPN

Perform this task to enable L2VPN on the PE.

Before you perform this task, configure an LSR ID for the PE with the mpls lsr-id command, and 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.