The ais link-status command enables alarm indication signal (AIS) to monitor an interface.
The undo ais link-status command disables AIS from monitoring an interface.
By default, AIS does not monitor an interface.
Usage Scenario
In MD nesting scenarios, if the MEP of a low-level MD detects a fault, the MEP sends an alarm to the NMS. After a specified period elapses, if the MEP of a high-level MD also detects the fault, the MEP sends an alarm that is the same as the one sent by the MEP of the low-level MD to the NMS. In this case, the MEP of the high-level MD needs to be suppressed from sending alarms to the NMS. You can enable the AIS function for the low-level and high-level MDs.
To speed up the sending of AIS packets, run the ais link-status command to configure AIS to monitor interfaces. A MEP sends an AIS packet immediately after the monitored interface goes Down, instead of waiting for the timeout of continuity check messages (CCMs). This suppresses the MEP in a high-level MD from sending the same alarm to the NMS.Prerequisites
Precautions
In an MD: