laser auto-shutdown-interval

Function

The laser auto-shutdown-interval command configures intervals at which the optical module laser is disabled or enabled and the system checks for link failures.

The undo laser auto-shutdown-interval command restores the default configurations.

By default, the interval at which the optical module laser is enabled and the system checks for link failures is 2s, and the interval at which the optical module laser is disabled and the system checks for link failures is 60s.

Format

laser auto-shutdown-interval { open open-value | close close-value } *

undo laser auto-shutdown-interval

Parameters

Parameter Description Value
open open-value

Specifies the interval at which the optical module laser is enabled and the system checks for link failures.

The value is an integer ranging from 100 to 300, in 10 ms. The default value is 200.

close close-value

Specifies the interval at which the optical module laser is disabled and the system checks for link failures.

The value is an integer ranging from 200 to 30000, in 10 ms. The default value is 6000.

Views

100GE interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, FlexE-100G interface view, FlexE-400G interface view, FlexE-50G interface view, GE optical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
interface-mgr write

Usage Guidelines

Usage Scenario

After the optical module is configured to disable the laser automatically and a link failure occurs, the optical module laser disables itself, and the system checks whether the link failure is cleared at two intervals (closetime-interval and opentime-interval). If you need to adjust the two intervals, run the laser auto-shutdown-interval command.

closetime-interval and opentime-interval are described as follows:

  • closetime-interval:If an LOS alarm is generated on the interface, the optical module disables the laser automatically, and an alarm is generated, indicating that the optical module laser has been disabled. During closetime-interval, the system checks whether the LOS alarm persists.
  • If the LOS alarm is cleared, the optical module enables the laser automatically, and the opentime-interval timer starts.
  • If the LOS alarm persists, the optical module laser remains disable
  • opentime-interval:When the closetime-interval timer expires or the LOS alarm is cleared during closetime-interval, the optical module enables the laser automatically, and the opentime-interval timer starts. During opentime-interval, the system keeps checking whether new LOS alarms are generated.
  • If no new LOS alarms are generated, the optical module considers that the link failure has been cleared and goes back to the normal working state, and a clear alarm is generated, indicating that the optical module has recovered.
  • If new LOS alarms are generated, the optical module disables the laser automatically, and the closetime-interval timer starts over.

Prerequisites

The optical module has been configured to disable the laser automatically using the laser autoshutdown enable command.

Example

# Restore the default interval for enabling the ALS function of the optical module.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] undo laser auto-shutdown-interval
# Set the interval at which the optical module laser is enabled and the system checks for link failures to 3s.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] laser autoshutdown enable
[*HUAWEI-GigabitEthernet0/1/0] laser auto-shutdown-interval open 300
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >