< Home

port-auto-sleep enable

Function

The port-auto-sleep enable command enables the port dormancy function on an Ethernet electrical port to save energy.

The undo port-auto-sleep enable command disables the port dormancy function on an Ethernet electrical port.

By default, the port dormancy function is disabled on an Ethernet electrical port.

Format

port-auto-sleep enable

undo port-auto-sleep enable

Parameters

None

Views

Interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

The port-auto-sleep enable command enables electrical port dormancy. If this function is enabled on a port, the port enters the energy-saving mode when no carrier wave signals are transmitted on the port. When carrier wave signals are transmitted on the port, the port exits the energy-saving mode. Port sleep does not affect functioning of the port.

This command can be used on electrical interfaces and combo interfaces working as electrical interfaces.

The port sleeping function is enabled by default on the ES5D21X02T01 electrical sub-card supported by the S5720-EI, the ES5D21X08T00 electrical sub-card supported by the S5730-HI, S5731-H, and S5731S-H, and cannot be disabled.

Example

# Enable the port dormancy function on GigabitEthernet0/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] port-auto-sleep enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >