23
Use port auto-power-down to enable auto power-down on an Ethernet interface.
Use undo port auto-power-down to restore the default.
Syntax
port auto-power-down
undo port auto-power-down
Default
Auto power-down is disabled on Ethernet interfaces.
Views
Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
When the auto power-down function is enabled on an interface and the interface has been down for
a certain period of time, both of the following events occur:
• The switch automatically stops supplying power to the interface.
• The interface enters the power save mode.
The time period depends on the chip specifications and is not configurable.
When the interface comes up, both of the following events occur:
• The switch automatically restores the power supply to the interface.
• The interface enters its normal state.
Examples
# Enable auto power-down on interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port auto-power-down
reset counters interface
Use reset counters interface to clear the Ethernet interface statistics.
Syntax
reset counters interface [ interface-type [ interface-number ] ]
Views
User view
Predefined user roles
network-admin
Parameters
interface-type: Specifies an interface type.
interface-number: Specifies an interface number.
Usage guidelines
Use this command to clear history statistics if you want to collect traffic statistics for a specific time
period.