295
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
reset counters interface
Use reset counters interface to clear statistics for tunnel interfaces.
Syntax
reset counters interface [ tunnel [ number ] ]
Views
User view
Predefined user roles
network-admin
Parameters
number: Specifies the tunnel interface number.
Usage guidelines
Use this command to clear old statistics so you can observe new traffic statistics on a tunnel
interface.