7-9
Cisco IE 3010 Switch Software Configuration Guide
OL-23145-01
Chapter 7 Configuring the Switch Alarms
Configuring IE 3010 Switch Alarms
Associating the Temperature Alarms to a Relay
By default, the primary temperature alarm is associated to the relay. You can use the alarm facility
temperature global configuration command to associate the primary temperature alarm to an SNMP
trap, or a syslog message, or to associate the secondary temperature alarm to the relay, an SNMP trap,
or a syslog message.
Note The single relay on the switch is called the major relay.
Beginning in privileged EXEC mode, follow these steps to associate the primary or secondary
temperature alarm to the relay:
Note Before you use the notifies command to send alarm traps to an SNMP server, you must first set up the
SNMP server by using the snmp-server enable traps alarms global configuration command. See the
“Enabling SNMP Traps” section on page 7-13.
Use the no alarm facility temperature secondary to disable the secondary temperature alarm.
This example sets the secondary temperature alarm to the major relay, with a high temperature threshold
value of 113oF (45oC). All alarms and traps associated with this alarm are sent to a syslog server and an
SNMP server.
Switch(config) # alarm facility temperature secondary high 45
Switch(config) # alarm facility temperature secondary relay major
Switch(config) # alarm facility temperature secondary syslog
Switch(config) # alarm facility temperature secondary notifies
This example sets the first (primary) temperature alarm to the major relay. All alarms and traps
associated with this alarm are sent to a syslog server.
Switch(config) # alarm facility temperature primary syslog
Switch(config) # alarm facility temperature primary relay major
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 alarm facility temperature
{primary | secondary} relay major
Associate the primary or secondary temperature alarm to the relay.
Step 3 alarm facility temperature
{primary | secondary} notifies
Send primary or secondary temperature alarm traps to an SNMP server.
Step 4 alarm facility temperature
{primary | secondary} syslog
Send primary or secondary temperature alarm traps to a syslog server.
Step 5 end Return to privileged EXEC mode.
Step 6 show alarm settings Verify the configuration.
Step 7 copy running-config startup-config (Optional) Save your entries in the configuration file.