3-10
Cisco IE 3000 Switch Software Configuration Guide
OL-13018-01
Chapter 3 Configuring Cisco IE 3000 Switch Alarms
Configuring IE 3000 Switch Alarms
Creating or Modifying an Alarm Profile
You can use the alarm profile global configuration command to create an alarm profile or to modify an
existing profile. When you create a new alarm profile, none of the alarms are enabled.
Note The only alarm enabled in the defaultPort profile is the Port not operating alarm.
Beginning in privileged EXEC mode, follow these steps to create an alarm profile:
To delete an alarm profile, use the no alarm profile name global configuration command.
This example creates or modifies the alarm profile fastE for the fastEthernetPort with link-down
(alarmList ID 3) and an FCS error rate of 30 percent (alarmList ID 4) alarms enabled. The link-down
alarm is connected to the minor relay, and the FCS error rate alarm is connected to the major relay. These
alarms also send notifications to an SNMP server and send system messages to a syslog server.
Switch(config)# alarm profile fastE
Switch(config-alarm- prof)# alarm 3 4
Switch(config-alarm- prof)# relay major 4
Switch(config-alarm- prof)# relay minor 3
Switch(config-alarm- prof)# notifies 3 4
Switch(config-alarm- prof)# syslog 3 4
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 3-11.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
alarm profile name Create the new profile or identify an existing profile, and enter alarm profile
configuration mode.
Step 3
alarm alarm-id Add or modify alarm parameters for a specific alarm (see Table 3-4). The
values are 1 to 4. You an enter more than one alarm ID separated by a space.
Step 4
notifies alarm-id (Optional) Configure the alarm to send an SNMP trap to an SNMP server.
Step 5
relay-major alarm-id
relay-minor alarm-id
(Optional) Configure the alarm to send an alarm trap to the major relay.
(Optional) Configure the alarm to send an alarm trap to the minor relay.
Step 6
syslog alarm-id (Optional) Configure the alarm to send an alarm trap to a syslog server.
Step 7
end Return to privileged EXEC mode.
Step 8
show alarm profile name Verify the configuration.
Step 9
copy running-config startup-config (Optional) Save your entries in the configuration file.