F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
22
reset counters interface
Use reset counters interface to clear the Ethernet interface or subinterface statistics.
Syntax
reset counters interface [ interface-type [ interface-number | interface-number.subnumber ] ]
Views
User view
Default command level
2: System level
Parameters
interface-type: Specifies an interface type.
interface-number: Specifies an interface number.
interface-number.subnumber: Specifies a subinterface number, where interface-number is an interface
number and subnumber is the number of a subinterface created under the interface. The subnumber
argument ranges from 1 to 4094.
Usage guidelines
Clear old statistics on the interface or subinterface before collecting new traffic statistics for a specific
period of time.
If no interface type is specified, this command clears statistics for all interfaces on the device.
If only the interface type is specified, this command clears statistics for all interfaces of the specified
type.
If both the interface type and number are specified, this command only clears statistics for the
specified interface or subinterface.
Examples
# Clear the statistics of GigabitEthernet 0/1.
<Sysname> reset counters interface gigabitethernet 0/1
# Clear the statistics of subinterface GigabitEthernet 0/1.1.
<Sysname> reset counters interface gigabitethernet 0/1.1
shutdown
Use shutdown to shut down an Ethernet interface or subinterface.
Use undo shutdown to bring up an Ethernet interface or subinterface.
Syntax
shutdown
undo shutdown
Default
Ethernet interfaces and subinterfaces are up.
Views
Ethernet interface view, Ethernet subinterface view