R3303-HP HSR6800 Routers MPLS Command Reference
226
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.
Examples
# Create a primary static VC and a backup static VC for service instance 1. Configure the local VC label
as 100 and remote VC label as 200 for the primary 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 label local 100 remote 200
# Create a primary static VC and a backup static VC on the interface Ten-GigabitEthernet 1/0/1.
Configure the local VC label as 100 and remote VC label as 200 for the primary 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 label local 100 remote 200
trans-mode
Use trans-mode to specify the VC type.
Use undo trans-mode to restore the default.
Syntax
trans-mode { ethernet | vlan }
undo trans-mode
Default
The VC type is VLAN.
Views
PW class view
Default command level
2: System Level










