R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide

219
[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.
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.