30
Syntax
mtu
size
undo mtu
Default
The MTU is 1500 bytes.
Views
VSI interface view
Predefined user roles
network-admin
context-admin
Parameters
size
: Specifies an MTU value in the range of 46 to 1560 bytes.
Examples
# Set the MTU to 1430 bytes for VSI-interface 100.
<Sysname> system-view
[Sysname] interface vsi-interface 100
[Sysname-Vsi-interface100] mtu 1430
reset counters interface vsi-interface
Use
reset counters interface vsi-interface
to clear packet statistics on VSI interfaces.
Syntax
reset counters interface
[
vsi-interface
[
vsi-interface-id
]
]
Views
User view
Predefined user roles
network-admin
context-admin
Parameters
vsi-interface
[
vsi-interface-id
]
: Specifies a VSI interface by its number. Make sure
the specified VSI interface has been created on the device. If you do not specify the
vsi-interface
[
vsi-interface-id
]
option, this command clears packet statistics on all
interfaces except for VA interfaces. If you specify only the
vsi-interface
keyword, this command
clears packet statistics on all VSI interfaces. If you specify a VSI interface, this command clears
packet statistics on the specified interface.
Usage guidelines
Use this command to clear history statistics before you collect traffic statistics for a time period.
Examples
# Clear packet statistics on VSI-interface 100.
<Sysname> reset counters interface vsi-interface 100