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
After the laser is manually started using a command, the laser sends a pulse to detect whether the optical link has recovered.
After an optical link recovers, the laser is restarted after a certain interval if the restart mode is automatic restart. To restart the laser immediately after the optical link recovers, set the restart mode of the laser to manual restart and run the als restart command.
After ALS is enabled on an interface, the laser may send a pulse if the attributes (for example, auto-negotiation) of the interface is changed or the optical module of the interface is removed and then inserted.
Run system-view
The system view is displayed.
Run interface interface-type interface-number
The interface view is displayed.
Run undo als restart mode manual
The laser of the optical module is configured to work in automatic restart mode.
By default, a laser works in 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 manual
The laser of the optical module is configured to work in manual restart mode.
(Optional) Run als restart
The laser of the optical module is started immediately.
In manual restart mode, if this command is not executed, the laser automatically sends a pulse after receiving a pulse from the remote end.
This command cannot be executed on an interface if the interface has been added to an interface protection group and is in Protect state.