Specifications

5-12
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 5 Configuring the Switch Alarms
Verifying Configuration
Enabling SNMP Traps
Use the snmp-server enable traps alarms global configuration command to enable the switch to send
alarm traps.
BEFORE YOU BEGIN
The snmp-server enable traps alarms command is used in conjunction with the snmp-server host
command. Use the snmp-server host command to specify which host or hosts receive SNMP
notifications. To send notifications, you must configure at least one snmp-server host command.
DETAILED STEPS
EXAMPLE
Switch(config)# snmp-server enable traps alarms
Verifying Configuration
Configuration Example
This example configures alarm input 2 named door sensor to assert a major alarm 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
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
snmp-server enable traps
alarms
Enable the switch to send SNMP traps.
Step 3
end Return to privileged EXEC mode.
Step 4
show alarm settings Verify the configuration.
Step 5
copy running-config
startup-config
(Optional) Save your entries in the configuration file.
Command Purpose
show alarm description port Displays an alarm number and its text description.
show alarm profile [name] Displays all alarm profiles in the system or a specified profile.
show alarm settings Displays all global alarm settings on the switch.
show env {all | power | temperature} Displays the status of environmental facilities on the switch.
show facility-alarm status [critical |
info | major]
Displays generated alarms on the switch.