Configure external alarms
Configure external alarm contacts to monitor physical conditions and generate appropriate alarm levels when sensors detect changes in the environment.
External alarm contacts allow network devices to monitor physical conditions such as door sensors, temperature sensors, or other environmental monitoring equipment. These sensors can trigger alarms at different severity levels when detecting changes.
Switch# configure terminal
Switch(config)# alarm contact 1 description door sensor
Switch(config)# alarm contact 1 severity major
Switch(config)# alarm contact 1 trigger closed
Switch(config)# end
Switch# show env alarm-contact
ALARM CONTACT 1
Status: not asserted
Description: door sensor
Severity: major
Trigger: closed
ALARM CONTACT 2
Status: not asserted
Description: external alarm contact 2
Severity: minor
Trigger: closed

Feedback