
13
reset counters interface
Syntax
reset counters interface
[
interface-type
[
interface-number
] ]
View
User view
Default level
2: System level
Parameters
interface-type
: Specifies an interface type.
interface-type
interface-number
: Specifies an interface by its type and number.
Description
Use
reset counters interface
to clear the Ethernet interface statistics.
Before collecting traffic statistics for a specific period of time on an interface, clear the old statistics first.
•
If no interface type is specified, this command clears statistics for all interfaces.
•
If only the interface type is specified, this command clears statistics for all interfaces of that type.
•
If both the interface type and the interface number are specified, this command clears statistics for
the specified interface.
Examples
# Clear the statistics of GigabitEthernet 1/0/1.
<Sysname> reset counters interface gigabitethernet 1/0/1
shutdown
Syntax
shutdown
undo shutdown
View
Ethernet interface view
Default level
2: System level
Parameters
None
Description
Use
shutdown
to shut down an Ethernet interface.
Use
undo
shutdown
to bring up an Ethernet interface.
By default, Ethernet interfaces are in the up state.