R3303-HP HSR6800 Routers MPLS Command Reference
219
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.
Use undo mpls static-l2vc to delete the static VC.
Syntax
mpls static-l2vc destination destination-router-id transmit-vpn-label transmit-label-value
receive-vpn-label receive-label-value [ { control-word | ethernet | no-control-word | vlan } |
tunnel-policy tunnel-policy-name ] *
undo mpls static-l2vc
Views
Interface view
Default command level
2: System level
Parameters
destination dest-router-id: Specifies the IP address of the peer PE.
transmit-vpn-label transmit-label-value: Specifies the outgoing VC label in the range of 16 to 1023.
receive-vpn-label receive-label-value: Specifies the incoming VC label in the range of 16 to 1023.
control-word: Enables the control word function.
ethernet: Specifies the PW encapsulation 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, a string of 1 to 19 characters.
Usage guidelines
You must configure the command on both PEs. The destination address is the IP address of the peer PE.
The outgoing label and incoming label are the incoming label and outgoing label of the peer.










