The laser autoshutdown enable command configures the optical module to disable the laser automatically.
The undo laser autoshutdown enable command disables the function.
By default, the optical module is not configured to disable the laser automatically.
Usage Scenario
Before locating or troubleshooting a link failure, maintenance engineers can run the laser turn-off command to disable the optical module laser manually to protect themselves from the laser. In addition, in case they forget to disable the optical module laser in time, they can run the laser autoshutdown enable command to configure the optical module to disable the laser automatically if it detects a link failure. After the maintenance engineers rectify the link failure, the optical module enables the laser automatically and goes back to the normal working state.
Prerequisites
The optical module has been installed, and the interface has been Up.
Configuration Impact
After the laser autoshutdown enable command is run and a links failure occurs, the optical module disables the laser, and the system checks whether the link failure is cleared at two intervals (closetime-interval and opentime-interval). The two intervals can be configured using the laser atuo-shutdown-interval command. In addition, you can configure an interval during which the optical module laser is enabled after the link failure is cleared. closetime-interval and opentime-interval are described as follows:
Follow-up Procedure
Run the laser auto-shutdown-interval command to configure closetime-interval and opentime-interval.