R3303-HP HSR6800 Routers MPLS Command Reference
216
Default command level
2: System level
Usage guidelines
This command cannot be configured on VLAN interfaces.
This command applies only to Martini VCs create by using the mpls l2vc command.
You can use this command to manage traffic on the network.
After you execute this command, if the VC has an available primary or backup VC, the device switches
traffic from the VC to the primary or backup VC. Otherwise, the device does not switch traffic.
Examples
# Assume that a primary VC and a backup VC are created on interface GigabitEthernet 2/1/1. Switch
traffic from the currently active VC to the standby VC on the interface.
<Sysname> system-view
[Sysname] interface gigabitethernet2/1/1
[Sysname-GigabitEthernet2/1/1] mpls l2vc switchover
mpls l2vpn
Use mpls l2vpn to enable MPLS L2VPN.
Use undo mpls l2vpn to disable MPLS L2VPN and delete all L2VPN configurations.
Syntax
mpls l2vpn
undo mpls l2vpn
Default
MPLS L2VPN is disabled.
Views
L2VPN view
Default command level
2: System level
Usage guidelines
You must use the mpls l2vpn command to enable MPLS L2VPN before configuring other MPLS L2VPN
commands except the mpls l2vpn reserve vlan command.
Examples
# Enable MPLS L2VPN.
<Sysname> system-view
[Sysname] l2vpn
[Sysname-l2vpn] mpls l2vpn
mpls l2vpn vpn-name
Use mpls l2vpn vpn-name to create a Kompella VPN and enter MPLS L2VPN view.










