< Home

mtu (VSI view)

Function

The mtu command sets the MTU of a VSI.

The undo mtu command restores the default value.

The default MTU of a VSI is 1500.

Format

mtu mtu-value

undo mtu

Parameters

Parameter Description Value
mtu-value Specifies the MTU of a VSI. The value is an integer that ranges from 328 to 65535.

Views

VSI view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the MTUs of the same VSI on two PEs are different, the two PEs cannot exchange information or establish a connection. In this case, you can run the mtu command to set the MTU of a VSI so that VSIs created on different PEs for the same VPLS have the same MTU.

Prerequisites

The following operations have been performed before this command is used:
  • The pwsignal bgp command and the route-distinguisher (VSI-BGP view) route-distinguisher command have been executed for Kompella VPLS.

  • The pwsignal ldp command and the vsi-id vsi-id command have been executed for Martini VPLS.

  • The bgp-ad command and the vpls-id vpls-id command have been executed for BGP AD VPLS.

Precautions

When configuring MTUs, note that the MTUs of the VSIs created for the same VPLS on different PEs must be the same.

Devices of some manufacturers cannot perform the MTU matching check on the VSI. When the switch interworks with a non-Huawei device in Kompella mode, you need to perform either of the following configurations to ensure that VCs are Up:
  • Set the MTU of the VSI on the PE to be consistent with the MTU of the non-Huawei device.

  • Run the mtu-negotiate disable command to ignore the check on MTU matching.

Example

# Set the MTU of the VSI named company1.

<HUAWEI> system-view
[HUAWEI] vsi company1 static
[HUAWEI-vsi-company1] pwsignal ldp
[HUAWEI-vsi-company1-ldp] vsi-id 100
[HUAWEI-vsi-company1-ldp] quit
[HUAWEI-vsi-company1] mtu 1600
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >