Energy-Saving Management Configuration
This section describes procedures for configuring energy-saving management.
Configuring ALS
You can configure ALS for optical interfaces to control the pulse of an optical module's laser. When the fiber of an optical interface is not properly installed or the connected optical link fails, the laser is shut down to save energy and prevent eye damage.
Enabling ALS on an Interface
Context
Only optical interfaces support ALS. Electrical interfaces do not support ALS.
When optical interfaces transmit services unidirectionally, they do not support ALS.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
interface interface-type interface-number
The interface view is displayed.
- Run:
als enable
ALS is enabled on an interface.
After ALS is enabled on an interface, ALS takes effect on this interface.
By default, ALS is disabled on an interface.
- Run:
commit
The configuration is committed.
Setting the Restart Mode of the Laser
Context
After ALS is enabled, the laser is automatically shut down when a fiber is not properly installed on an interface or the connected optical link fails. However, the laser still needs to send pulses at a certain interval. When a fiber is installed on an interface or the connected optical link recovers, the laser is automatically restored to set up a connection for data communication. Therefore, you need to configure the restart mode of the laser after ALS is enabled.
Automatic restart mode: The laser automatically sends a pulse at an interval to detect whether the link recovers.
Manual restart mode: When a fiber is installed or an optical link recovers, you must start the laser manually. Then the laser sends a pulse to detect whether the link recovers.
Procedure
- Configure automatic restart mode
Run:
system-view
The system view is displayed.
Run:
interface interface-type interface—number
The interface view is displayed.
Run:
als restart mode automatic
The laser of the optical module is configured to work in automatic restart mode.
By default, a laser works in automatic restart mode.
Run:
commit
The configuration is committed.
- Configure manual restart mode
Run:
system-view
The system view is displayed.
Run:
interface interface-type interface—number
The interface view is displayed.
Run:
als restart mode manual
The laser of the optical module is configured to work in manual restart mode.
Run:
commit
The configuration is committed.
Run:
als restart
The laser of the optical module is started manually.
After a fiber is installed on the interface or the connected optical link recovers, you must use this command to manually start the laser of the optical module.
Setting the ALS Pulse Interval and Width of the Laser
Context
The ALS pulse interval indicates the time between two consecutive pulse transmissions and applies to the automatic restart mode. The ALS pulse width indicates the pulse period and applies to the automatic restart mode and manual restart mode.
In automatic restart mode, a small pulse width and a long pulse interval save more energy but cannot ensure that optical link recovery can be detected in a timely manner.
In manual restart mode, a small ALS pulse width saves energy but cannot ensure that optical link recovery can be detected in a timely manner. In contrary, a large ALS pulse width ensures that optical link recovery can be detected in a timely manner but wastes energy.
You can set a proper laser pulse interval and width to ensure energy conservation and timely detection of optical link recovery.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
interface interface-type interface-number
The interface view is displayed.
- Run:
als restart pulse interval pulse-interval
The ALS pulse interval of the laser is set.
By default, the ALS pulse interval is 100s.
- Run:
als restart pulse width pulse-width
The ALS pulse width of the laser is set.
By default, the ALS pulse width is 2s.
- Run:
commit
The configuration is committed.
Configuring Electrical Port Dormancy
The electrical port dormancy function can automatically shut down idle ports to save power.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
interface interface-type interface-number
The interface view is displayed.
- Run:
port-auto-sleep enable
Electrical port dormancy is enabled.
By default, electrical port dormancy is disabled.
Only the CX110 switch module GE switching plane and CX111&CX915 switch module GE switching plane supports the configuration of the electrical port dormancy function.