mtu

Use mtu to set the MTU on a tunnel interface.

Use undo mtu to restore the default.

Syntax

mtu size

undo mtu

Default

The MTU is 64000 bytes.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

size: Specifies the MTU in the range of 100 to 64000 bytes.

Usage guidelines

Set an appropriate MTU to avoid fragmentation. The MTU for the tunnel interface applies only to unicast packets.

An MTU set on any tunnel interface is effective on all existing tunnel interfaces.

Examples

# Set the MTU on interface Tunnel 1 to 10000 bytes.

<Sysname> system-view
[Sysname] interface tunnel 1
[Sysname-Tunnel1] mtu 10000

Related commands

display interface tunnel