--- title: "alarm" slug: "cli-as-alarm" tags: ["Assurance Sensor CLI"] updated: 2025-07-01T10:35:38Z published: 2025-09-04T19:23:07Z canonical: "docs.crossworkassurance.cisco.com/cli-as-alarm" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # alarm ## alarm edit alarm edit - Edit alarm configuration **Description:** Alarm edit allows you to change the configuration of an alarm. **Syntax:** ``` alarm edit {     {disable | enable} |     {service-affecting {yes | no}} |     {severity {minor | major | critical | informational}} |     {state {enable | disable}} }+ ``` **Parameters:** | Parameter | Description | | --- | --- | | | . . | | disable | Disable the alarm. If the alarm is triggered, nothing happens (see the note below). | | enable | Enable the alarm. If the alarm is triggered, it will be reported as defined (see the note below). | | service-affecting | Tag the alarm as service-affecting or not. | | severity | The severity level of the alarm when it is raised. | | state | Enable or disable the alarm. If the alarm is triggered when enabled, it will be reported as defined. Otherwise, nothing will happen. | **Note:** Using "disable" or "enable" as stand-alone arguments (i.e. not preceded by "state") is deprecated. This syntax remains valid for backward compatibility, but the best practice is to always use "state enable" and "state disable". ## alarm reporting alarm reporting - Enable alarm status reporting **Description:** Enable alarm status reporting via different ways. **Syntax:** ``` alarm reporting {     {led {disable | enable}} |     {snmp {disable | enable}} |     {syslog {disable | enable}} |     {802.3ah {disable | enable}} |     {threshold-on <1-5000>} |     {threshold-off <1-15000>}} ``` **Parameters:** | Parameter | Description | | --- | --- | | led | Enable the LEDs on the front panel of the unit to report the alarms. | | snmp | Enable the reporting of alarms via SNMP traps. | | syslog | Enable the reporting of alarms via entries in the syslog. | | 802.3ah | Enable reporting of alarms via 802.3ah OAM PDUs. | | threshold-on | The delay (in milliseconds) after an event is detected and before the alarm notification occurs. | | threshold-off | The delay (in milliseconds) after the event status goes back to normal and before the alarm notification clears. | ## alarm show configuration alarm show configuration - Show alarm configuration **Description:** Display the alarm reporting behavior. **Syntax:** ``` alarm show configuration [] [more] ``` **Parameters:** | Parameter | Description | | --- | --- | | | .. | ## alarm show reporting alarm show reporting- Show alarm reporting configuration **Description:** Display the alarm reporting parameters. **Syntax:** ``` alarm show reporting ``` ## alarm show status alarm show status - Show alarms current status **Description:** Display alarm status based on specified parameters. If an alarm number is specified, the detailed status for this alarm is displayed. If no alarm number is specified, the status of all applicable alarms is displayed in a table format. By default, only the alarms that are enabled and active are displayed. If the option all is specified, the status will be displayed for all possible alarms. **Syntax:** ``` alarm show status [ | active | all | more] ``` **Parameters:** | Parameter | Description | | --- | --- | | | .. | **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)