Command Manual – MPLS L2VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L2VPN Configuration Commands
1-30
1.1.18 mpls static-l2vc destination
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
]
undo mpls static-l2vc
View
Interface view
Default Level
2: System level
Parameters
dest-router-id
: Destination route ID.
transmit-label-value
: Label used for transmitting VPN, namely the outgoing label for the
static level 2 VC.
receive-label-value
: Label used for receiving VPN, namely the incoming label for the
static level 2 VC.
tunnel-policy-name
: Tunneling policy for the VC.
Description
Use the
mpls static-l2vc destination
command to create a static VC between CEs
connected to different PEs.
Use the
undo mpls static-l2vc
command to delete the static VC.
z
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 respectively the
incoming label and outgoing label of the peer.
z
If you do not specify the tunneling policy, or specify the tunneling policy name but
do not configure the policy, the default policy is used. The default tunneling policy
uses LSP tunnels and the load balance number is one.
Examples
# Create a static VC between CEs connected to different PEs.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] mpls static-l2vc destination 1.1.1.1
transmit-vpn-label 111 receive-vpn-label 222 tunnel-policy pol1