Description
Example
mtu (MPLS L2VPN view)
Syntax
View
Parameter
Description
Example
reset bgp l2vpn
Syntax
no-control-word: Disables the control word option.
Use the
mpls static-l2vc destination
CEs connected to different PEs.
Use the
undo mpls static-l2vc
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.
Currently, only L2VPNs using ATM, PPP, FR, or HDLC encapsulation support the
■
control word option.
# Create a static VC between CEs connected to different PEs.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] mpls static-l2vc destination 1.1.1.1 transmit-
vpn-label 111 receive-vpn-label 222 tunnel-policy pol1
mtu mtu
undo mtu
MPLS L2VPN view
mtu-value: MTU for the L2VPN. It ranges from 128 to 1,500 and defaults to 1,500.
Use the
mtu
command to set the maximum transmission unit (MTU) for the
kompella connections.
Use the
undo mtu
n
The mtu command is not recommended because it affects only negotiation of
protocol parameters that may take place and does not affect the forwarding.
# Set the MTU for Kompella connections to 1000.
<Sysname> system-view
[Sysname] mpls l2vpn vpn1
[Sysname-mpls-l2vpn-vpn1] mtu 1000
reset bgp l2vpn { as-number | ip-address | all | external | internal }
command to create a static VC between
command to delete the static VC.
command to restore the default.
1667