< Home

als restart

Function

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

Format

als restart

Parameters

None

Views

Interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run this command to manually restart the laser of an optical module. After the optical link recovers, the laser is started after a certain interval if the restart mode is automatic restart. To start the laser immediately after the optical link recovers, set the restart mode of the laser to manual restart and run the als restart command. If this command is not executed, the laser automatically sends a pulse after receiving a pulse from the remote end.

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

Precautions

This command cannot be executed on an interface if the interface has been added to an interface protection group and is in Protect state.

Example

# Restart lasers on GigabitEthernet0/0/1 manually.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] als enable
[HUAWEI-GigabitEthernet0/0/1] als restart mode manual
[HUAWEI-GigabitEthernet0/0/1] als restart
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >