7-2
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 7 Configuring the Switch External Alarms
Configuring Switch Alarms
You can set the alarm severity to minor, major, or critical. The severity is included in the alarm message
and also sets the LED color when the alarm is triggered. The LED is amber for a minor alarm, red for a
major alarm, and blinking red for a critical alarm. If not set, the default alarm severity is minor.
Configuring Switch 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.
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 can be from 1 to 4.
•
The description string can be up to 80 alphanumeric characters 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 all
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.