No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Energy-saving Configuration Commands

Energy-saving Configuration Commands

NOTE:

XGE interfaces that connect switches to ET1D2IPS0S00, ET1D2FW00S00, ET1D2FW00S01, and ET1D2FW00S02 boards do not support the ALS function.

XGE interfaces that connect switches to ACU2 boards do not support the ALS function.

Command Support

Commands provided in this section and all the parameters in the commands are supported by all switch models by default, unless otherwise specified. For details, see specific commands.

als enable

Function

The als enable command enables ALS on an interface.

The undo als enable command disables ALS on an interface.

By default, ALS is disabled on an interface.

Format

als enable

undo als enable

Parameters

None

Views

GE interface view, XGE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

The constraints on ALS are as follows:
  • Only optical interfaces support ALS. Electrical interfaces do not support ALS.

  • When optical interfaces transmit services unidirectionally, they do not support ALS.

Example

# Enable ALS on GigabitEthernet1/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] als enable

als restart

Function

The als restart command manually restarts the laser of an interface.

Format

als restart

Parameters

None

Views

GE interface view, XGE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run this command to manually restart the laser of an optical module. After the optical link recovers, the laser is started after a certain interval if the restart mode is automatic restart. To start the laser immediately after the optical link recovers, set the restart mode of the laser to manual restart and run the als restart command. If this command is not executed, the laser automatically sends a pulse after receiving a pulse from the remote end.

Prerequisites

ALS has been enabled on the interface using the als enable command and the restart mode of the laser has been set to manual restart mode using the als restart mode manual command.

Precautions

This command cannot be executed on an interface if the interface has been added to an interface protection group and is in Protect state.

Example

# Restart lasers on GigabitEthernet1/0/1 manually.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] als enable
[HUAWEI-GigabitEthernet1/0/1] als restart mode manual
[HUAWEI-GigabitEthernet1/0/1] als restart

als restart mode manual

Function

The als restart mode manual command sets the mode of restarting the laser of the optical module to manual.

The undo als restart mode manual command restores the mode of restarting the laser of the optical module to automatic.

By default, a laser works in automatic restart mode.

Format

als restart mode manual

undo als restart mode manual

Parameters

None

Views

GE interface view, XGE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

The laser of an optical module works in automatic restart mode or manual restart mode.
  • In automatic restart mode, the laser sends pulses at the interval set using the als restart pulse-interval command to detect whether the link is recovered. The pulse width is set through the als restart pulse-width command.

  • In manual restart mode, you must manually start the laser using the als restart command so that the laser can send a pulse. The ALS pulse width is set using the als restart pulse-width command.

If the fiber link recovery is detected in time, you can use the manual restart mode so that the laser can send pulses immediately. Therefore, data communication can be recovered rapidly.

Example

# Configure lasers on GigabitEthernet1/0/1 to work in manual restart mode.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] als restart mode manual

als restart pulse-interval

Function

The als restart pulse-interval command sets the ALS pulse interval for the laser of an optical module.

The undo als restart pulse-interval command restores the default ALS pulse interval of the laser of an optical module.

By default, the ALS pulse interval of the laser is 100s.

Format

als restart pulse-interval pulse-interval

undo als restart pulse-interval

Parameters

Parameter Description Value
pulse-interval

Specifies the ALS pulse interval of the laser.

The value is an integer that ranges from 100 to 20000, in seconds.

Views

GE interface view, XGE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

In automatic restart mode, the ALS pulse interval affects the frequency of detecting the LOS on the interface. A long ALS pulse interval is beneficial for energy saving, but the fiber link recovery cannot be detected in a timely manner. In contrary, a short ALS pulse interval wastes power but the fiber link recovery can be detected immediately.

Example

# Set the ALS pulse interval of lasers on GigabitEthernet1/0/1 to 150s.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] als restart pulse-interval 150

als restart pulse-width

Function

The als restart pulse-width command sets the ALS pulse width for the laser of an optical module.

The undo als restart pulse-width command restores the default ALS pulse width for the laser of an optical module.

By default, the ALS pulse width of the laser is 2s.

Format

als restart pulse-width pulse-width

undo als restart pulse-width

Parameters

Parameter Description Value
pulse-width

Specifies the ALS pulse width of the laser.

The value is an integer that ranges from 2 to 200, in seconds.

Views

GE interface view, XGE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

The ALS pulse width refers to the period between rising edges of pulses. A short ALS pulse width is beneficial for energy saving, but the fiber link recovery cannot be detected immediately. In contrary, a long ALS pulse width consumes more power but the fiber link recovery can be detected immediately.

Example

# Set the ALS pulse width on GigabitEthernet1/0/1 to 3s.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] als restart pulse-width 3

display als configuration

Function

The display als configuration command displays ALS configuration.

Format

display als configuration slot slot-id

display als configuration interface interface-type interface-number

Parameters

Parameter Description Value
slot slot-id

Displays ALS configuration in a slot with a specified slot ID.

The value depends on the device configuration.

interface interface-type interface-number
Displays ALS configuration on a specified interface.
  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If an optical interface connects to a high-speed cable, this command does not have command output.

Example

# Display ALS configuration on GigabitEthernet1/0/1.

<HUAWEI> display als configuration interface gigabitethernet 1/0/1
------------------------------------------------------------------------------- 
Interface               ALS        Laser      Restart    Interval(s)   Width(s) 
                        Status     Status     Mode                              
------------------------------------------------------------------------------- 
GigabitEthernet1/0/1    Disable    On         Auto       100           2
------------------------------------------------------------------------------- 
Table 3-157  Description of the display als configuration command output

Item

Description

Interface

Interface type and number.

ALS Status

Whether ALS is enabled.
  • Enable: ALS is enabled.

  • Disable: ALS is disabled.

ALS is enabled using the als enable command.

Laser Status

Status of the laser on the interface. The value can be:
  • Off: The laser is shut down.

  • On: The laser is turned on.

  • --: No optical module is present on the interface.

Restart Mode

ALS restart mode.
  • Auto: automatic restart mode.

  • Manual: manual restart mode.

The ALS restart mode is set to manual using the als restart mode manual command.

Interval(s)

ALS pulse interval, expressed in seconds. The ALS pulse interval is set using the als restart pulse-interval command.

Width(s)

ALS pulse width, expressed in seconds. The ALS pulse width is set using the als restart pulse-width command.

display power manage cycle

Function

The display power manage cycle command displays the interval for updating power consumption data.

Format

display power manage cycle

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The average power consumption of a device is the average power consumption within a period of time. You can use the display power manage cycle command to view the interval for calculating the average power consumption.

Example

# Display the interval for updating power consumption data.

<HUAWEI> display power manage cycle
 3 : 1 hour 
Table 3-158  Description of the display power manage cycle command output

Item

Description

3 (1 hour)

The interval for updating power consumption data is 1 hour. You can set the interval to the following values:
  • 1 : 15 minutes

  • 2 : 30 minutes

  • 3 : 1 hour

  • 4 : 1 day

  • 5 : 1 week

  • 6 : 1 month (30 days)

To set the interval for updating power consumption data, use the set power manage cycle command.

display power manage mode

Function

The display power manage mode command displays the energy-saving mode of the device.

Format

display power manage mode

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display power manage mode command to check the currently configured energy-saving mode of the device.

Example

# Display the energy-saving mode of the device.

<HUAWEI> display power manage mode
2 (Standard mode)
Table 3-159  Description of the display power manage mode command output

Item

Description

2 (Standard mode)

Standard energy-saving mode. The device supports the following energy-saving modes:
  • 1. User-defined mode: user-defined energy-saving mode.

  • 2. Standard mode: standard energy-saving mode

  • 3. Basic mode: basic energy-saving mode

  • 4. Deep mode: depth energy-saving mode

NOTE:

The device does not support the user-defined mode.

You can set the energy-saving mode using the set power manage mode command.

Related Topics

display power manage power-information

Function

The display power manage power-information command displays the power consumption information of a device.

Format

display power manage power-information

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display power manage power-information command enables you to check the system power consumption information, including the accumulative power consumption, average power, real-time power, rated power, and power threshold of the device.

Example

# Display the system power consumption information.

<HUAWEI> display power manage power-information
The information of net element power:
 --------------------------------------------------
 The total power consumption (Joule) : 1000
 The average power consumption (mW)  : 20000
 The current power consumption (mW)  : 20000
 The rated power (mW)                : 433000
 The threshold of power (mW)         : 433000
 --------------------------------------------------
Table 3-160  Description of the display power manage power-information command output

Item

Description

The information of net element power

System power consumption information.

The total power consumption (Joule)

Accumulative power consumption, in Joule.

This field displays NA when the switch uses DC power supplies of which power information cannot be obtained.

NOTE:

The accumulative power consumption is stored in the device memory and will not be lost when the device is powered off. When the device is running, power consumption is accumulated once every 20 seconds. The accumulated power consumption and accumulative power consumption in the memory are added and recorded in the memory once every 24 hours. If there is no accumulative power consumption in the memory, this field displays 0. If the device is powered off within 24 hours after starting, the power consumption accumulated within 24 hours is not added to the accumulative power consumption in the memory.

The average power consumption (mW)

Average power of the system, in mW.

This field displays NA when the switch uses DC power supplies of which power information cannot be obtained.

The current power consumption (mW)

Real-time power of the system, in mW.

This field displays NA when the switch uses DC power supplies of which power information cannot be obtained.

The rated power (mW)

Rated power of the system, in mW.

The threshold of power (mW)

Power threshold of the power supply unit, in mW.

display transceiver temperature threshold

Function

The display transceiver temperature threshold command displays the optical module temperature thresholds.

Format

display transceiver temperature threshold { current | default } slot slot-id

Parameters

Parameter Description Value
current

Displays the optical module temperature threshold in the current configuration.

-

default

Displays the optical module temperature threshold in the default configuration.

-

slot slot-id

Displays the optical module temperature threshold in a specified slot.

Set the value according to the device configuration.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When the temperature of optical modules exceeds the upper threshold, the fan speed increases. When the temperature of optical modules falls below the lower threshold, the fan speed decreases. In this way, the device temperature is controlled within a proper range.

Example

# Display the current optical module temperature threshold in slot 2.

<HUAWEI> display transceiver temperature threshold current slot 2
Info: The current transceiver temperature low threshold is 45, high threshold is 65.
Table 3-161  Description of the display transceiver temperature threshold command output

Item

Description

The current transceiver temperature low threshold is 45, high threshold is 65.

Current lower threshold of the temperature of the fan module is 45°C and upper threshold of the temperature of the fan module is 65°C. You can set the temperature thresholds for adjusting the fan speed using the set transceiver temperature threshold command.

energy-efficient-ethernet enable

Function

The energy-efficient-ethernet enable command enables the Energy Efficient Ethernet (EEE) function on an electrical interface.

The undo energy-efficient-ethernet enable command disables the EEE function on an electrical interface.

By default, EEE is disabled on an electrical interface.

Format

energy-efficient-ethernet enable

undo energy-efficient-ethernet enable

Parameters

None

Views

GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The system provides power for each interface. Even though an interface is idle, it consumes the same power as working interfaces. The energy-efficient-ethernet enable command enables the system to reduce the power on an interface when the interface is idle and restore the power when the interface starts to transmit data. This reduces system power consumption.

Prerequisites

If an electrical interface works in non-auto negotiation mode, run the negotiation auto command to enable auto-negotiation.

Precautions

The EEE function can be configured only on electrical interfaces (including combo electrical interfaces). Optical interfaces do not support the EEE function.

If an electrical interface works at 10 Mbit/s after auto-negotiation, the EEE function does not take effect.

Only the ET1D2G48TX1E, ET1D2G48TX5E, ET1D2G48TX5S, and ET1D2G48TX5H support the EEE function.

Enabling or disabling EEE on an interface will trigger re-negotiation. During the negotiation, the interface may change to Down state, which causes short service interruption. Therefore, determine whether the operation is allowed before you run this command.

Example

# Enable the EEE function on electrical interface GE1/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] energy-efficient-ethernet enable

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

GE 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.

NOTE:

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

Example

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

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] port-auto-sleep enable

set power manage cycle

Function

The set power manage cycle command sets the interval for updating power consumption data.

The undo set power manage cycle command restores the default interval for updating power consumption data.

By default, the interval for updating power consumption data is 1 hour.

Format

set power manage cycle cycle-id

undo set power manage cycle

Parameters

Parameter Description Value
cycle-id

Sets the interval for updating power consumption data.

The value is an integer that ranges from 1 to 6.
  • 1: 15 minutes

  • 2: 30 minutes

  • 3: 1 hour

  • 4: 1 day

  • 5: 1 week

  • 6: 30 days

Views

System view

Default Level

3: Management level

Usage Guidelines

The average power consumption of a device is the average power consumption within a period of time. You can use the set power manage cycle command to set the interval for calculating the average power consumption. To obtain real-time power consumption, set a short interval.

Example

# Set the interval for updating power consumption data to 15 minutes.

<HUAWEI> system-view
[HUAWEI] set power manage cycle 1

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 4:
  • 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.

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.

NOTE:
  • The ALS, EEE, and port dormancy functions are disabled in standard mode by default.

  • The ALS, EEE, and port dormancy functions are enabled by default in basic or deep mode.
  • Redundant power modules can be powered off to save energy only in basic or deep mode. In basic mode, redundant power modules are powered off according to the rated power consumption of a device. In deep mode, redundant power modules are powered off according to the real-time power consumption of a device. After redundant power modules are powered off, the power module status displays Normal in the display device command output and NotSupply in the display power command output, indicating that the power modules are not providing power; the power of the power modules displays 0 in the display power system command output.

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.

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...

set transceiver temperature threshold

Function

The set transceiver temperature threshold command sets optical module temperature thresholds so that the device can adjust the fan speed based on temperature of optical modules.

The undo set transceiver temperature threshold command restores the default optical module temperature thresholds.

By default, the lower temperature threshold is 60°C and the upper temperature threshold is 65°C. That is, the fan speed decreases when the temperature of optical modules falls below 60°C and increases when the temperature exceeds 65°C.

Format

set transceiver temperature threshold low-temperature high-temperature { all | slot slot-id }

undo set transceiver temperature threshold { all | slot slot-id }

Parameters

Parameter Description Value
low-temperature

Specifies the lower optical module temperature threshold.

The value is an integer that ranges from 37 to 60, in centigrade degrees. The default value is 60.

high-temperature

Specifies the upper optical module temperature threshold.

The value is an integer that ranges from 42 to 65, in centigrade degrees. The default value is 65. The value of high-temperature must be greater than the value of low-temperature.

all

Specifies all installed fan modules.

-

slot slot-id

Specifies the slot ID of the fan module.

Set the value according to the device configuration.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When the temperature of optical modules exceeds the upper threshold, the fan speed increases. When the temperature of optical modules falls below the lower threshold, the fan speed decreases. In this way, the device temperature is controlled within a proper range.

This command sets the temperature thresholds in the centigrade scale (°C). When the Fahrenheit scale (°F) is used, use the following formula to convert the temperature from Fahrenheit degree to centigrade: °C = (°F - 32) x 5/9.

Precautions

The following boards do not support this command:
  • SC series boards, including: ET1D2X16SSC2, ET1D2X32SSC0
  • X2E series boards, including: ET1D2S24SX2E, ET1D2S16SX2E, ET1D2X32SX2E, EH1D2L08QX2E, ET1D2C04HX2E, ET1D2H02QX2E
  • X2S series boards, including: ET1D2S24SX2S, ET1D2S16SX2S, ET1D2X32SX2S, ET1D2X48SX2S, ET1D2C04HX2S, ET1D2H02QX2S

Example

# Configure the device to increase the fan speed when the temperature of optical modules exceeds 60°C and decrease the fan speed when the temperature falls below 50°C.

<HUAWEI> system-view
[HUAWEI] set transceiver temperature threshold 50 60 all
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 113087

Downloads: 83

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next