27
Use undo port auto-power-down to disable auto power-down on an Ethernet interface.
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
Fiber ports do not support this command.
When an interface with auto power-down enabled has been down for a specific period of time, both
of the following events occur:
• The device 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 device automatically restores the power supply to the interface.
• The interface restores to its normal state.
Examples
# Enable auto power-down on 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 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.