< Home

set power manage mode

Function

The set power manage mode command sets the energy-saving mode of the device.

The undo set power manage mode command restores the default energy-saving mode of the device.

By default, the standard energy-saving mode is used.

Format

set power manage mode mode-id

undo set power manage mode

Parameters

Parameter Description Value
mode-id

Specifies the energy-saving mode of the device.

The value is an integer that ranges from 1 to 5:
  • 1: indicates the user-defined energy-saving mode. This mode is not supported currently.

  • 2: indicates the standard energy-saving mode.

  • 3: indicates the basic energy-saving mode.

  • 4: indicates the deep energy-saving mode.

  • 5: indicates the standby energy-saving mode.

    NOTE:
    Only the S5720-16X-PWH-LI supports the standby energy-saving mode.

Views

System view

Default Level

3: Management level

Usage Guidelines

The set power manage mode command sets the energy-saving mode of the device.

The device can run in the following energy-saving modes:
  • Standard mode

    Factory mode and default power saving mode.

  • Basic mode

    Components not in use are shut down or switched to the sleep mode when no services are configured or users are not online.

  • Deep mode

    Power consumption is dynamically adjusted for running services, and components not in use are shut down or switched to the sleep mode according to service requirements.

  • Standby mode

    The device enters the low power consumption mode when it does not need to provide PoE power to PDs and shuts down all the interfaces except GE0/0/13 and GE0/0/14.

  • The ALS, EEE, and port dormancy functions are disabled in standard mode by default. However, the port dormancy 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.

  • The ALS, EEE, and port dormancy functions are enabled by default in basic or deep mode.
  • The deep mode adds the device dormancy function based on functions of the basic mode.
  • Only the S5720-16X-PWH-LI supports the standby mode. The interfaces that have been shut down in standby mode cannot be enabled manually using a command. To enable these interfaces manually, ensure that the switch exits the standby mode.
  • Before entering the standby mode, the system forcibly saves the configuration to the configuration file that is being used by the device.
  • The configuration restoration function is not configured in the standby mode. That is, after the device restarts, the currently configured standby mode of an interface is automatically restored to the default standard mode.
  • On the S5720-16X-PWH-LI XGE0/0/1 and XGE0/0/2, installing optical modules and configuring the standby mode are mutually exclusive. That is, the two interfaces cannot have the standby mode configured after they have optical modules installed. When they work in standby mode, installing optical modules into them will restore them to the default standard mode or may even restart the device.

After the energy-saving mode is set to basic or deep mode, loopback test on interfaces is disabled. Therefore, before performing a loopback test, set the energy-saving mode to standard mode.

  • The minimum interval between configuring and disabling the standby mode is 15s.
  • The standby mode cannot be configured in a stack.
  • When the device is switched from the basic or deep mode to the standby mode, disabling the EEE function may cause interface flapping. Similarly, when the device is switched from the standby mode to the basic or deep mode, enabling the EEE function may cause interface flapping.
  • Before entering the standby mode, the system forcibly saves the configuration to the configuration file that is being used by the device.
  • The configuration restoration function is not configured in the standby mode. That is, after the device restarts, the currently configured standby mode of an interface is automatically restored to the default standard mode.
  • On the S5720-16X-PWH-LI XGE0/0/1 and XGE0/0/2, installing optical modules and configuring the standby mode are mutually exclusive. That is, the two interfaces cannot have the standby mode configured after they have optical modules installed. When they work in standby mode, installing optical modules into them will restore them to the default standard mode or may even restart the device.

Example

# Set the energy-saving mode of the device to basic mode.

<HUAWEI> system-view
[HUAWEI] set power manage mode 3
Warning: Performance of ALS, EEE, Auto sleep will be enabled, and the EEE function may lead to port flapping. Continue?[Y/N]:y      
Info: It will take a few seconds. Please wait...
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >