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

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

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

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

10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view, FC interface 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 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] als enable
Related Topics

als restart

Function

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

Format

als restart

Parameters

None

Views

10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view, FC interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the laser of an optical module works in manual restart mode, if the faulty fiber link is recovered, you need to manually open the laser so that the laser sends one pulse to clear LOS of the optical interface. Then the data communication is recovered.

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

Example

# Restart lasers on 10GE1/0/1 manually.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] als enable
[*HUAWEI-10GE1/0/1] als restart mode manual
[*HUAWEI-10GE1/0/1] als restart

als restart mode

Function

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

The undo als restart mode command restores the default mode of restarting the laser of the optical module.

By default, a laser works in automatic restart mode.

Format

als restart mode { manual | automatic }

undo als restart mode [ manual ]

Parameters

Parameter Description Value
manual

Sets the mode of restarting the laser of the optical module to manual.

-

automatic

Sets the mode of restarting the laser of the optical module to automatic.

-

Views

10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view, FC interface 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 pulse-interval command to detect whether the link is recovered. The pulse width is set through the als restart pulse width 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 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 10GE1/0/1 to work in manual restart mode.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] als restart mode manual

als restart pulse

Function

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

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

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

Format

als restart pulse { width pulse-width | interval pulse-interval }

undo als restart pulse [ width [ pulse-width ] | interval [ pulse-interval ] ]

Parameters

Parameter Description Value
width pulse-width

Specifies the ALS pulse width of the laser.

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

interval pulse-interval

Specifies the ALS pulse interval of the laser.

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

Views

10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view, FC interface 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.

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 width on 10GE1/0/1 to 3s.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] als restart pulse width 3

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

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] als restart pulse interval 150

display als

Function

The display als command displays ALS configuration.

Format

display als { all | slot slot-id }

display als interface interface-type interface-number

Parameters

Parameter Description Value
all

Displays ALS configuration on all interfaces.

-

slot slot-id

Displays ALS configuration on a specified device. slot-id specifies the stack ID.

The value is an integer. You can enter a question mark (?) and select a value from the displayed value range.

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

None

Example

# Display ALS configuration on 10GE1/0/1.

<HUAWEI> display als interface 10ge 1/0/1
--------------------------------------------------------------------------------------
Interface          ALS Status   Laser Status   Restart Mode   Interval(s)   Width(s)
--------------------------------------------------------------------------------------
10GE1/0/1          Disable      On             Auto           100           2   
--------------------------------------------------------------------------------------
Table 5-85  Description of the display als 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

Whether the laser is On:
  • Off: The laser is Off.

  • On: The laser is On.

When the interface status is Down, the Laser Status field displays Off.

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

Interval(s)

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

Width(s)

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

eee enable

Function

The eee enable command enables the Energy Efficient Ethernet (EEE) function on an electrical interface.

The undo eee enable command disables the EEE function on an electrical interface.

By default, EEE is disabled on an electrical interface.

Format

eee enable

undo eee enable

Parameters

None

Views

GE interface view, 10GE 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 eee 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 undo negotiation disable command to enable auto-negotiation.

Precautions

The EEE function can be configured only on electrical interfaces except management interfaces.

Example

<HUAWEI> system-view
[*HUAWEI] interface ge 1/0/1
[*HUAWEI-GE1/0/1] eee enable
Related Topics

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.

Only GE electrical ports except management ports support the port dormancy function.

Example

# Enable the electrical port dormancy function on GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface ge 1/0/1
[~HUAWEI-GE1/0/1] port-auto-sleep enable

set device power manage mode

Function

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

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

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

Format

set device power manage mode mode

undo set device power manage mode [ mode ]

Parameters

Parameter Description Value
mode

Specifies the energy-saving mode of the device.

The value can be:
  • user-defined: indicates the user-defined energy-saving mode.

  • standard: indicates the standard energy-saving mode.

  • basic: indicates the basic energy-saving mode.

  • deep: indicates the deep energy-saving mode.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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

The device supports the following energy-saving modes:
  • User-defined mode: allows the energy-saving mode to be configured as service requires.

  • Standard mode: is supported by the device by default and supports intelligent fan speed adjustment.

  • Basic mode: is reserved for future use and currently has the same functions as the standard mode.

  • Deep mode: is reserved for future use and currently has the same functions as the standard mode.

NOTE:

The device supports only the standard mode.

Example

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

<HUAWEI> system-view
[~HUAWEI] set device power manage mode standard
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 43521

Downloads: 330

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