ais
To enable the Alarm Indication Signal (AIS) function for a specific maintenance association, use the ais command in Ethernet connectivity fault management (CFM) service configuration mode. To disable AIS configuration, use the no form of this command.
ais [expiry-threshold threshold | level level-id | period seconds | suppress-alarms]
no ais [expiry-threshold | level | period | suppress-alarms]
Syntax Description
expiry-threshold |
(Optional) Configures the expiry threshold. |
threshold |
(Optional) Integer from 2 to 255 that is a count. If no MEPs are received within an interval of the threshold multiplied by the transmission period, the MEP clears the AIS defect condition. The default is 3.5. |
level |
(Optional) Indicates a maintenance level where AIS frames for maintenance endpoints (MEPs) belonging to the service will be sent. |
level-id |
(Optional) Integer from 0 to 7 that identifies the maintenance level. |
period |
(Optional) Configures the AIS transmission period for all MEPs in the maintenance association. |
seconds |
(Optional) Integer value 1 or 60 that indicates the AIS transmission period in seconds. The default is 60. |
suppress-alarms |
(Optional) Configures alarm suppression. |
Command Default
The AIS function is enabled on specific maintenance associations.
Command Modes
Ethernet CFM service configuration (config-ecfm-srv)
Command History
Release |
Modification |
---|---|
15.0(1)XA |
This command was introduced. |
12.2(33)SRE |
This command was integrated into Cisco IOS Release 12.2(33)SRE. |
15.1(1)T |
This command was integrated into Cisco IOS Release 15.1(1)T. |
15.1(2)S |
This command was integrated into Cisco IOS Release 15.1(2)S. |
15.1(1)SY |
This command was integrated into Cisco IOS Release 15.1(1)SY. |
Cisco IOS XE Release 3.8S |
This command was integrated into Cisco IOS XE Release 3.8S. |
Usage Guidelines
Alarms are suppressed when a MEP goes into an RX AIS (receipt of an AIS frame) defect condition.
When you specify the level keyword with the ais command, you can transmit AIS messages to a higher maintenance association without configuring a maintenance intermediate point (MIP) for that maintenance association.
Output of the show running all command shows “ais expiry-threshold 3.5” when the default expiry threshold is configured, “ais period 60” when the default transmission period is configured, and “no ais suppress-alarms” when the default value for the suppress-alarms option is configured.
Examples
The following example shows how to enable the AIS function at level 5 with a transmission period of one second:
Device(config)# ethernet cfm domain operatorA level 5
Device(config-ecfm)# service vlan-id 10 port
Device(config-ecfm-srv)# ais period 1
Device(config-ecfm-srv)# ais level 5