R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
212
vc-id: Specifies an ID for the VC, in the range of 1 to 4294967295.
control-word: Enables the control word function.
ethernet: Specifies the VC type as Ethernet.
no-control-word: Disables the control word function.
vlan: Specifies the VC type as VLAN.
tunnel-policy tunnel-policy-name: Specifies a tunneling policy for the VC by its name, a string of 1 to 19
case-insensitive characters.
backup-peer ip-address vcid: Specifies the peer PE IP address and VC ID of the backup VC. The vc-id
argument specifies a VC ID for the backup VC, in the range of 1 to 4294967295.
backup-tunnel-policy tunnel-policy-name: Specifies a tunnel policy for the backup VC, a string of 1 to 19
case-insensitive 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 only for Layer 3 Ethernet interfaces/subinterfaces and Layer 3 virtual Ethernet
interfaces/subinterfaces. When not specified, the VC type is Ethernet on Layer 3 Ethernet interfaces and
Layer 3 virtual Ethernet interfaces, and is VLAN on Layer 3 Ethernet subinterfaces and Layer 3 virtual
Ethernet subinterfaces.
Examples
# Create a primary static VC and a backup static VC on interface Serial 2/1/0 and enter static-L2VC
view. Specify the peer PE IP address and VC ID as 1.1.1.9 and 100 for the primary VC and as 2.2.2.9 and
200 for the backup VC.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] mpls static-l2vc 1.1.1.9 100 backup-peer 2.2.2.9 200
[Sysname-Serial2/1/0-static-l2vc]
Related commands
tunnel-policy
mpls static-l2vc (for ordinary SVC)
Use mpls static-l2vc to create a static VC between CEs connected to different PEs.










