7-5
Cisco IE 3010 Switch Software Configuration Guide
OL-23145-01
Chapter 7 Configuring the Switch Alarms
Configuring IE 3010 External Alarms
Beginning in privileged EXEC mode, follow these steps to configure alarm contacts.
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 for this release.
Note The switch supports the CISCO-ENTITY-ALARM-MIB for these alarms.
This example configures alarm input 2 named door sensor to assert a major al arm 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
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 alarm contact contact-number
description string
(Optional) Configure a description for the alarm contact number.
The contact-number is from 1 to 4.
The description string is up to 80 alphanumeric char acters in length
and is included in any generated system messages.
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 a ll
contact numbers.
Enter a contact number (1 to 4) or specify that you are configuring all
alarms. See Figure 7-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.