< Home

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.

The laser of an optical module works in automatic restart mode or manual restart mode.
  • 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.

By default, a laser works in automatic restart mode.

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.

Procedure

  • Configure automatic restart mode.

    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

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

  • Configure manual restart mode.

    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run als restart mode manual

      The laser of the optical module is configured to work in manual restart mode.

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

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >