R2511-HP MSR Router Series MPLS Command Reference(V5)
102
Examples
# Assume that a primary VC and a backup VC are created on Ethernet 1/1. Switch traffic from the active
VC to the standby VC on the interface.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/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.
Examples
# Enable MPLS L2VPN.
<Sysname> system-view
[Sysname] l2vpn
[Sysname-l2vpn] mpls l2vpn
mpls l2vpn soft-gre
Use mpls l2vpn soft-gre to enable Soft GRE.
Use undo mpls l2vpn soft-gre to restore the default.
Syntax
mpls l2vpn soft-gre
undo mpls l2vpn soft-gre
Default
Soft GRE is disabled.
Views
L2VPN view










