Configuring Switch Alarms
How to Configure Switch Alarms
Command
8.
show env power
9.
show facility-alarm status
10.
show alarm settings
11.
copy running-config startup-config
Configuring the Switch Temperature Alarms
Command
1.
configure terminal
2.
alarm facility temperature {primary
| secondary} high threshold
3.
alarm facility temperature primary
low threshold
4.
end
5.
show alarm settings
6.
copy running-config startup-config
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.
Command
1.
configure terminal
2.
alarm facility temperature {primary
| secondary} relay major
3.
alarm facility temperature {primary
| secondary} notifies
4.
alarm facility temperature {primary
| secondary} syslog
5.
end
6.
show alarm settings
7.
copy running-config startup-config
Configuring the FCS Bit Error Rate Alarm
Setting the FCS Error Threshold
The switch generates an FCS bit error-rate alarm when the actual rate is close to the configured rate.
Purpose
Displays the switch power status.
Displays all generated alarms for the switch.
Verifies the configuration.
(Optional) Saves your entries in the configuration file.
Purpose
Enters global configuration mode.
Sets the high temperature threshold value. Set the threshold from –238°F
(–150°C) to 572°F (300°C).
Sets the low temperature threshold value. Set the threshold from –328°F
(–200°C) to 482°F (250°C).
Returns to privileged EXEC mode.
Verifies the configuration.
(Optional) Saves your entries in the configuration file.
Purpose
Enters global configuration mode.
Associates the primary or secondary temperature alarm to the relay.
Sends primary or secondary temperature alarm traps to an SNMP server.
Sends primary or secondary temperature alarm traps to a syslog server.
Uses the no alarm facility temperature secondary command to disable the
secondary temperature alarm.
Returns to privileged EXEC mode.
Verifies the configuration.
(Optional) Saves your entries in the configuration file.
52