alarm-contact
Examples
This example shows how to configure alarm contact number 1 to report a critical alarm when the contact
is open.
Switch(config)# alarm-contact 1 description main_lab_door
Switch(config)# alarm-contact 1 severity critical
Switch(config)# alarm-contact 1 trigger open
Dec
main_lab_door
Switch# show env alarm-contact
ALARM CONTACT 1
Status:
Description: main_lab_door
Severity:
Trigger:
This example shows how to configure clear alarm contact number 1 and the show command outputs.
Switch(config)# no alarm-contact 1 description
Dec
main_lab_door Dec
asserted: external alarm contact 1
Switch(config)# no alarm-contact 1 severity
Dec
alarm contact 1 Dec
asserted: external alarm contact 1
Switch(config)# no alarm-contact 1 trigger open
Dec
alarm contact 1
Switch(config)# end
Switch# show env alarm-contact
ALARM CONTACT 1
Status:
Description: external alarm contact 1
Severity:
Trigger:
ALARM CONTACT 2
Status:
Description: external alarm contact 2
Severity:
Trigger:
ALARM CONTACT 3
Status:
Description: external alarm contact 3
Severity:
Trigger:
ALARM CONTACT 4
Status:
Description: external alarm contact 4
Severity:
Trigger:
Related Commands
Command
show env alarm-contact
Cisco ME 3800X and ME 3600X Switch Command Reference
2-8
4 10:34:09.049: %PLATFORM_ENV-1-EXTERNAL_ALARM_CONTACT_ASSERT: Alarm asserted:
asserted
critical
open
4 10:39:33.621: %PLATFORM_ENV-1-EXTERNAL_ALARM_CONTACT_CLEAR: Alarm cleared:
4 10:39:33.621: %PLATFORM_ENV-1-EXTERNAL_ALARM_CONTACT_ASSERT: Alarm
4 10:39:46.774: %PLATFORM_ENV-1-EXTERNAL_ALARM_CONTACT_CLEAR: Alarm cleared: external
4 10:39:46.774: %PLATFORM_ENV-1-EXTERNAL_ALARM_CONTACT_ASSERT: Alarm
4 10:39:56.547: %PLATFORM_ENV-1-EXTERNAL_ALARM_CONTACT_CLEAR: Alarm cleared: external
not asserted
minor
closed
not asserted
minor
closed
not asserted
minor
closed
not asserted
minor
closed
Chapter 2
Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
Description
Displays the alarm setting and status for the switch.
OL-28238-01