Configuration Examples
This section provides energy-saving management configuration examples including networking requirements and configuration roadmap.
Example for Configuring ALS
Networking Requirements
As shown in Figure 3-28, 10GE1/17/1 on SwitchA connects to 10GE1/17/1 on SwitchB through the optical fiber.
When a link fails, the laser on the optical module is required to automatically stop sending pulses and recover pulse sending after the link is recovered.
Configuration Roadmap
Enable ALS on the interface so that the laser automatically stops sending pulses when a link fails.
Set the restart mode of the laser to automatic restart mode so that the laser sends pulses again after the link is recovered.
Procedure
- Configure ALS on the interface and the restart mode of
the laser.
# Enable ALS on 10GE1/17/1 of SwitchA and set the restart mode of the laser to automatic restart.
<HUAWEI> system-view [~HUAWEI] sysname SwitchA [*HUAWEI] commit [~SwitchA] interface 10ge 1/17/1 [~SwitchA-10GE1/17/1] als enable [*SwitchA-10GE1/17/1] als restart mode automatic [*SwitchA-10GE1/17/1] commit [~SwitchA-10GE1/17/1] return
# Enable ALS on 10GE1/17/1 of SwitchB and set the restart mode of the laser to automatic restart.
<HUAWEI> system-view [~HUAWEI] sysname SwitchB [*HUAWEI] commit [~SwitchB] interface 10ge 1/17/1 [~SwitchB-10GE1/17/1] als enable [*SwitchB-10GE1/17/1] als restart mode automatic [*SwitchB-10GE1/17/1] commit [~SwitchB-10GE1/17/1] return
- Verify the configuration.
# Check ALS configurations on interfaces of SwitchA and SwitchB.
<SwitchA> display als interface 10ge 1/17/1 -------------------------------------------------------------------------------------- Interface ALS Status Laser Status Restart Mode Interval(s) Width(s) -------------------------------------------------------------------------------------- 10GE1/17/1 Enable on Auto 100 2 --------------------------------------------------------------------------------------
<SwitchB> display als interface 10ge 1/17/1 -------------------------------------------------------------------------------------- Interface ALS Status Laser Status Restart Mode Interval(s) Width(s) -------------------------------------------------------------------------------------- 10GE1/17/1 Enable on Auto 100 2 --------------------------------------------------------------------------------------