< Home

ais link-status

Function

The ais link-status command configures AIS to monitor interfaces.

The undo ais link-status command cancels the configuration.

By default, AIS does not monitor any interface.

Only the S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720-LI, S6720S-EI, S6720S-LI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

ais link-status interface interface-type interface-number

undo ais link-status interface interface-type interface-number

Parameters

Parameter Description Value
interface-type interface-number Specifies the interface to be monitored by AIS.
  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-

Views

MA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In MD nesting scenarios, if a MEP in a low-level MD detects a fault, the MEP sends a trap to the NMS. After a certain period, a MEP in the MD of a higher level also detects the fault and sends the same trap to the NMS. You can enable the AIS function in low-level and high-level MDs to suppress the MEP of the high-level MD from sending traps to the NMS. To speed up AIS PDU transmission, run the ais link-status command to configure AIS to monitor interfaces. In this manner, a MEP sends an AIS PDU immediately after the monitored interface goes Down. The MEP does not need to wait for the timeout of CCMs. In addition, the MEP in a high-level MD is suppressed from sending the same trap to the NMS.

Both inward- and outward-facing MEPs can receive AIS PDUs in MD scenarios.

Precautions

The ais link-status command can be used on only the device running IEEE Standard 802.1ag-2007.

Prerequisites

An MD has been created using the cfm md command, an MA has been created using the ma command, and AIS has been enabled using the ais enable command.

Example

# Create an MD named md1, create an MA named ma1 in the MD, and configure AIS to monitor an interface in ma1.

<HUAWEI> system-view
[HUAWEI] cfm md md1
[HUAWEI-md-md1] ma ma1
[HUAWEI-md-md1-ma-ma1] ais link-status interface gigabitethernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >