Cisco Systems 2955 Switch User Manual


 
3-7
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
OL-10101-02
Chapter 3 Configuring Catalyst 2955 Switch Alarms
Configuring Catalyst 2955 Switch Alarms
Associating the Temperature Alarms to a Relay
By default, the primary temperature alarm is associated to the major relay. You can use the alarm facility
temperature command to associate the primary temperature alarm to the minor relay, to an SNMP trap,
to a syslog message, or to associate the secondary temperature alarm to the major or minor relay, an
SNMP trap, or a syslog message.
Beginning in privileged EXEC mode, follow these steps to associate the secondary temperature alarm to
a relay:
Note Before you can 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 3-11.
Use the no alarm facility temperature secondary to disable the secondary temperature alarm.
This example sets the secondary temperature alarm to the minor relay, with a lower high temperature
threshold value of 45
o
C. All alarm and traps associated with this alarm will be sent to a syslog server
and an SNMP server.
Switch(config) # alarm facility temperature secondary 45
Switch(config) # alarm facility temperature secondary relay minor
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 will be sent to a syslog server.
Switch(config) # alarm facility temperature primary syslog
Switch(config) # alarm facility temperature primary relay major
Configuring the FCS Bit Error Rate Alarm
This section describes how to configure the FCS bit error rate alarm on your switch:
Setting the FCS Error Threshold, page 3-8
Setting the FCS Error Hysteresis Threshold, page 3-8
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
alarm facility temperature
{primary | secondary} relay {major
| minor}
Associate the primary or secondary temperature alarm to a relay
Step 3
alarm facility temperature
{primary | secondary} notifies
Configure sending primary or secondary temperature alarm traps to an
SNMP server.
Step 4
alarm facility temperature
{primary | secondary} syslog
Configure sending 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.