R2511-HP MSR Router Series MPLS Command Reference(V5)

107
If you do not specify a tunneling policy, or if you specify a nonexistent tunneling policy, the default policy
is used for the VC. The default tunneling policy selects only one tunnel in this order: LSP tunnel, GRE
tunnel, CR-LSP tunnel. For information about how to configure a tunneling policy, see MPLS Configuration
Guide.
Only L2VPNs that use encapsulation types of PPP, HDLC, FR DLCI, FR port mode, ATM AAL5 transparent
transport, and ATM cell transparent transport support the control word function.
If the AC link type is Ethernet, the VC encapsulation type can be Ethernet or VLAN. The device allows you
to specify the VC encapsulation type for only Layer 3 Ethernet interfaces and subinterfaces, Layer 3
virtual Ethernet interfaces and subinterfaces, VLAN interfaces, and VE-L2VPN-Terminate interfaces.
When not specified, the VC encapsulation type is Ethernet on Layer 3 Ethernet interfaces, Layer 3 virtual
Ethernet interfaces, and VE-L2VPN-Terminate interfaces, and is VLAN on Layer 3 Ethernet subinterfaces,
Layer 3 virtual Ethernet subinterfaces, and VLAN interfaces.
Examples
# Create a static VC to the peer PE 1.1.1.1, and specify the outgoing VC label as 111, incoming VC label
as 222, and the tunneling policy as pol1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] mpls static-l2vc destination 1.1.1.1 transmit-vpn-label 111
receive-vpn-label 222 tunnel-policy pol1
mpls static-l2vc switchover
Use mpls static-l2vc switchover to switch traffic from the active VC to the standby VC manually.
Syntax
mpls static-l2vc switchover
Views
Interface view
Default command level
2: System level
Usage guidelines
This command applies only to primary and backup SVCs create by using the mpls static-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 static VC and a backup static 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 static-l2vc switchover
mtu (MPLS L2VPN view)
Use mtu to set the MTU for the Kompella connections.