Specifications
5-6
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 5 Configuring the Switch Alarms
Configuring External Alarms
To delete the alarm description, enter the no alarm contact contact-number description privileged
EXEC command. To set the alarm severity to minor (the default), enter the no alarm contact
{contact-number | all} severity. To set the alarm contact trigger to closed (the default), enter the no
alarm contact {contact-number | all} trigger.
To see the alarm configuration and status, enter the show env alarm-contact privileged EXEC
command.
For more detailed information about the alarm commands, see the command reference listed in the
“Related Documents” section on page 5-14.
Note The switch supports the CISCO-ENTITY-ALARM-MIB for these alarms.
EXAMPLE
This example configures alarm input 2 named door sensor to assert a major alarm when the door circuit
is closed and then displays the status and configuration for all alarms:
Switch(config)# alarm contact 2 description door sensor
Switch(config)# alarm contact 2 severity major
Switch(config)# alarm contact 2 trigger closed
Switch(config)# end
Switch(config)# show env alarm-contact
Switch# show env alarm-contact
ALARM CONTACT 1
Status: not asserted
Description: test_1
Severity: critical
Trigger: open
ALARM CONTACT 2
Status: not asserted
Description: door sensor
Severity: major
Trigger: closed
ALARM CONTACT 3
Status: not asserted
Description: flood sensor
Severity: critical
Trigger: closed
Step 3
alarm contact {contact-number |
all} {severity {critical | major |
minor} | trigger {closed | open}}
Configure the trigger and severity for an alarm contact number or
for all contact numbers.
• Enter a contact number (1 to 4) or specify that you are
configuring all alarms. See Figure 5-1 for the alarm contact
pinouts.
• For severity, enter critical, major, or minor. If you do not
configure a severity, the default is minor.
• For trigger, enter open or closed. If you do not configure a
trigger, the alarm is triggered when the circuit is closed.
Step 4
end Return to privileged EXEC mode.
Step 5
show env alarm-contact Show the configured alarm contacts.
Step 6
copy running-config
startup-config
(Optional) Save your entries in the configuration file.
Command Purpose