R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
21
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 reset counters interface 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/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
Syntax
shutdown
undo shutdown
View
Ethernet interface view, Ethernet subinterface view
Default level
2: System level
Parameters
None
Description
Use shutdown to shut down an Ethernet interface or subinterface.
Use undo shutdown to bring up an Ethernet interface or subinterface.
By default, Ethernet interfaces and subinterfaces are in the up state.
You may need to shut down and then bring up an Ethernet interface to activate configuration changes
such as the speed or duplex mode changes.
Examples
# Shut down and then bring up GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] shutdown
[Sysname-GigabitEthernet0/1] undo shutdown