< Home

mtu (MPLS-L2VPN instance view)

Function

The mtu command sets the Maximum Transmission Unit (MTU) of a L2VPN instance.

The undo mtu command restores the default configuration.

By default, the MTU of a L2VPN instance is 1500 bytes.

Format

mtu mtu-value

undo mtu

Parameters

Parameter Description Value
mtu-value Specifies the MTU of a L2VPN instance. The value is a decimal integer that ranges from 46 to 16352 bytes.

Views

MPLS-L2VPN instance view

Default Level

2: Configuration level

Usage Guidelines

The VPN MTU must be unique on the whole network.

If MTUs, which belong to the same VPN, on two PEs are different, the PEs cannot exchange VC information and set up connections.

After vpn-target is configured for the MPLS L2VPN instance, the MTU of the MPLS L2VPN cannot be changed.

In Kompella interworking with other venders' devices that do not support the MTU matching check, to ensure the VC keeps the Up state, you can perform the following configuration on the S2720, S5700, and S6700:

  • Configuring an MTU the same as that of other venders' devices

  • Using the ignore-mtu-match command for the system to ignore the MTU matching check

Example

# Set the MTU.

<HUAWEI> system-view
[HUAWEI] mpls l2vpn vpn1
[HUAWEI-mpls-l2vpn-vpn1] mtu 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >