R3303-HP HSR6800 Routers MPLS Command Reference
225
Default
No VC labels are configured for a backup VC.
Views
Static-L2VC view, static-xpeer view
Default command level
2: System level
Parameters
local local-vc: Specifies the local VC label in the range of 16 to 1023.
remote remote-vc: Specifies the remote VC label in the range of 16 to 1023.
Usage guidelines
When you configure a static VC, you must manually specify VC labels for the VC. Make sure VC labels
you specify on the local device match those on the remote device.
If you do not specify the backup-peer keyword in the mpls static-l2vc command (for main-backup SVC)
or in the xconnect static-peer command, the static backup-label command will fail.
Examples
# Create a primary static VC and a backup static VC for service instance 1. Configure the local VC label
as 200 and remote VC label as 201 for the backup VC. (This configuration is supported only on routers
with SAP-4EXPs.)
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] service-instance 1
[Sysname-Ten-GigabitEthernet1/0/1-srv1] encapsulation s-vid 100
[Sysname-Ten-GigabitEthernet1/0/1-srv1] xconnect static-peer 1.1.1.9 pw-id 600
backup-peer 2.2.2.9 backup-pw-id 7
[Sysname-Ten-GigabitEthernet1/0/1-srv1-static-xpeer] static backup-label local 200
remote 201
# Create a primary static VC and a backup static VC on the interface Ten-GigabitEthernet 1/0/1.
Configure the local VC label as 200 and remote VC label as 201 for the backup VC.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] mpls static-l2vc 1.1.1.9 100 backup-peer 2.2.2.9 200
[Sysname-Ten-GigabitEthernet1/0/1-static-l2vc] static backup-label local 200 remote 201
static label
Use static label to configure VC labels for a primary VC.
Use undo static label to delete the VC labels configured for the primary VC.
Syntax
static label local local-vc remote remote-vc
undo static label
Default
No VC labels are configured for a primary VC.










