ais level

Function

The ais level command sets a level for AIS packets sent by a MEP in an MA.

The undo ais level command deletes the level configured for AIS packets sent by the MEP in an MA.

By default, no level is configured for AIS packets, it does not send packets.

Format

ais level level-value

undo ais level

Parameters

Parameter Description Value
level-value

Specifies a level for AIS packets to be sent.

The value is an integer ranging from 0 to 7. A larger value indicates a higher priority.

Views

MA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
y1731 write

Usage Guidelines

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. After enabling the AIS function for the MDs, you can run the ais level command to set a level for AIS packets to be sent.

Prerequisites

  • An MD has been created using the cfm md command.
  • An MA has been created using the ma command.
  • The AIS function has been enabled using the ais enable command.

Example

# Create an MD named md1, create an MA named ma1 in the MD, and set a level for AIS packets to be sent to 2 in ma1.
<HUAWEI> system-view
[~HUAWEI] cfm enable
[*HUAWEI] cfm md md1
[*HUAWEI-md-md1] ma ma1
[*HUAWEI-md-md1-ma-ma1] ais enable
[*HUAWEI-md-md1-ma-ma1] ais level 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >