R3303-HP HSR6800 Routers MPLS Command Reference
218
mpls static-l2vc (for primary-backup SVCs)
Use mpls static-l2vc to create a primary static VC and a backup static VC on a Layer 3 interface, and
enter static-L2VC view.
Use undo mpls static-l2vc to delete the static VCs on the interface.
Syntax
mpls static-l2vc destination vcid [ { control-word | ethernet | no-control-word | vlan } | [ tunnel-policy
tunnel-policy-name ] [ backup-peer ip-address vcid [ backup-tunnel-policy tunnel-policy-name | revertive
[ wtr-time wtr-time ] ] * ] ] *
undo mpls static-l2vc
Views
Interface view
Default command level
2: System level
Parameters
destination: Specifies the IP address of the peer PE.
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.










