The mtu command configures the MTU of an MPLS L2VPN instance.
The undo mtu command restores the default configuration.
By default, the MTU of an MPLS L2VPN instance is 1500 bytes.
Usage Scenario
The MTU size determines the maximum packet size allowed by a VPWS network. If the MTU is greater than the maximum packet size allowed by a VPWS network or an intermediate node (P), packet fragmentation or even drop will occur, affecting network transmission. The MTU is one of the VPWS negotiation parameters. If the MTUs of the same L2VPN instance on the endpoint PEs are different, the two PEs cannot exchange reachability information or establish a PW. An appropriate MTU must be set for an L2VPN instance based on the MTU of the interface bound to the L2VPN instance. The MTU of an L2VPN instance must be less than or equal to the MTU of the interface bound to the L2VPN instance.
Prerequisites
The MPLS-L2VPN instance view has been displayed using the mpls l2vpn l2vpn-name command.
Configuration Impact
The MTU of an MPLS L2VPN instance cannot be changed after VPN targets are configured for the MPLS L2VPN instance using the vpn-target (MPLS-L2VPN instance view).
Precautions
The devices of some vendors cannot perform the MTU match check for MPLS L2VPN instances. When a Huawei device interworks with a non-Huawei device on a BGP VPWS network, perform either of the following operations on the Huawei device to ensure that the VC can go Up: