Parameters
dest-router-id: Destination router ID.
transmit-label-value: Outgoing label for the VPN, namely the outgoing label for the static level 2 VC. The
value ranges from 16 to 1023.
receive-label-value: Incoming label for the VPN, namely the incoming label for the static level 2 VC. The
value ranges from 16 to 1023.
tunnel-policy-name: Tunneling policy for the VC, a string of 1 to 19 characters.
control-word: Enables the control word option.
no-control-word: Disables the control word option.
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.
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.
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.
At present, the S7900E series Ethernet switches do not support the control word option.
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
mtu (MPLS L2VPN view)
Syntax
mtu mtu
undo mtu
View
MPLS L2VPN view
Default Level
2: System level
Parameters
mtu-value: MTU for the L2VPN. It ranges from 128 to 1,500 and defaults to 1,500.
1-24
Need help?
Do you have a question about the S7906E and is the answer not in the manual?
Questions and answers