261
NOTE:
The HP 5800 switch series do not support the control word option.
Examples
# Create Kompella VPN named vpn1 and enter MPLS L2VPN view.
<Sysname> system-view
[Sysname] mpls l2vpn vpn1 encapsulation ethernet
[Sysname-mpls-l2vpn-vpn1]
# Create Kompella VPN named vpn2 and enter MPLS L2VPN view.
<Sysname> system-view
[Sysname] mpls l2vpn vpn1 encapsulation ethernet
[Sysname-mpls-l2vpn-vpn1] mpls l2vpn vpn2 encapsulation ethernet
[Sysname-mpls-l2vpn-vpn2]
mpls static-l2vc
Description
Use the mpls static-l2vc command to create a static VC between CEs connected to different PEs.
Use the undo mpls static-l2vc command to delete the static VC.
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 for a VC or the specified tunneling policy is not configured, the
VC selects tunnels by using the default tunneling policy. The default tunneling policy selects only one
tunnel (no load balancing) in this order: LSP tunnel, CR-LSP tunnel.
Syntax
mpls static-l2vc destination destination-router-id transmit-vpn-label transmit-label-value receive-vpn-label
receive-label-value [ tunnel-policy tunnel-policy-name ] [ control-word | no-control-word ]
undo mpls static-l2vc
View
Interface view
Default level
2: System level
Parameters
destination dest-router-id: Specifies a destination router ID.
transmit-vpn-label transmit-label-value: Specifies an outgoing label for the VPN, or the outgoing label for
the static level 2 VC. The value ranges from 16 to 1023.
receive-vpn-label receive-label-value: Specifies an incoming label for the VPN, or the incoming label for
the static level 2 VC. The value ranges from 16 to 1023.
tunnel-policy tunnel-policy-name: Specifies an tunneling policy for the VC, which is a string of 1 to 19
characters.
control-word: Enables the control word option.