R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
209
Usage guidelines
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, and ATM AAL5
transparent transport support the control word function.
If the AC link type is Ethernet, the VC type can be Ethernet or VLAN. The device allows you to specify the
VC 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 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 Martini VC, and specify the peer PE IP address as 2.2.2.9 and VC ID as 999.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] mpls l2vc 2.2.2.9 999
Related commands
tunnel-policy
mpls l2vc switchover
Use mpls l2vc switchover to switch traffic from the active VC to the standby VC manually.
Syntax
mpls l2vc switchover
Views
Interface view
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










