15
Default command level
2: System level
Parameters
interface-type
: Specifies an interface type.
interface-number
: Specifies an interface number.
Usage guidelines
Clear old statistics on the interface 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.
Examples
# Clear the statistics of Ten-GigabitEthernet 1/0/1.
<Sysname> reset counters interface ten-gigabitethernet 1/0/1
shutdown
Use
shutdown
to shut down an Ethernet interface.
Use
undo
shutdown
to bring up an Ethernet interface.
Syntax
shutdown
undo shutdown
Default
Ethernet interfaces are up.
Views
Ethernet interface view, port group view
Default command level
2: System level
Usage guidelines
You might need to shut down and then bring up an Ethernet interface to activate configuration changes
such as speed or duplex mode changes.
Do not execute the
shutdown
command on the following interfaces:
•
The internal interface connecting the HP 11900/10500/7500 20G unified wired-WLAN module
and the switch.
•
The internal interface connecting the HP 830 series PoE+ unified wired-WLAN switch or the HP 870
unified wired-WLAN appliance and the switching engine.
Examples
# Shut down and then bring up Ten-GigabitEthernet 1/0/1.
<Sysname> system-view