R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
12
[Sysname-GigabitEthernet0/0] display this
#
interface GigabitEthernet0/0
port link-mode bridge
#
return
NOTE:
The display this command displays the configuration that takes effect in the current view.
reset counters interface
Syntax
reset counters interface [ interface-type [ interface-number | interface-number.subnumber ] ]
View
User view
Default 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; subnumber is the number of a subinterface created under the interface. The subnumber
argument ranges from 1 to 4094.
Description
Use the reset counters interface command to clear the Ethernet interface or subinterface 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 or subinterface number are specified, this command
clears statistics for the specified interface or subinterface.
Examples
# Clear the statistics of GigabitEthernet 0/0.
<Sysname> reset counters interface gigabitethernet 0/0
# Clear the statistics of subinterface GigabitEthernet 0/1.1.
<Sysname> reset counters interface gigabitethernet 0/1.1
shutdown
Syntax
shutdown
undo shutdown