R3303-HP HSR6800 Routers MPLS Command Reference
215
no-control-word: Disables the control word function.
vlan: Specifies the VC type as VLAN.
tunnel-policy tunnel-policy-name: Specifies the tunneling policy for the VC. The tunneling policy name is
a case-insensitive string of 1 to 19 characters.
backup-peer ip-address vcid: Specifies the IP address of the backup VC’s peer PE and the VC ID of the
backup VC. The value range for the VC ID is 1 to 4294967295.
backup-tunnel-policy tunnel-policy-name: Specifies the tunneling policy for the backup VC. The tunneling
policy name is a case-insensitive string of 1 to 19 characters.
revertive: Enables support for switchback. With this keyword specified, when the primary VC recovers,
traffic is switched from the backup VC back to the primary VC automatically. If you do not specify this
keyword, traffic will not be switched back automatically.
wtr-time wtr-time: Specifies the switchback delay time. When the primary VC recovers, the device waits
for the switchback delay time before switching the traffic from the backup VC back to the primary VC. The
value range for the wtr-time argument is 1 to 720 minutes,and the default is 30 minutes.
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










