7-12
Cisco IE 3010 Switch Software Configuration Guide
OL-23145-01
Chapter 7 Configuring the Switch Alarms
Configuring IE 3010 Switch Alarms
This example creates or modifies the alarm profile fastE for the Fast Ethernet port with link-down
(alarmList ID 3) alarm enabled. The link-down alarm is connected to the major relay. This alarm also
send notifications to an SNMP server and sends system messages to a syslog server.
Switch(config)# alarm profile fastE
Switch(config-alarm-prof)# alarm 3
Switch(config-alarm-prof)# relay major 3
Switch(config-alarm-prof)# notifies 3
Switch(config-alarm-prof)# syslog 3
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.
Table 7-4 lists the alarmList IDs and their corresponding alarm definitions. For a description of these
alarms, see the “Port Status Monitoring Alarms” section on page 7-2.
Attaching an Alarm Profile to a Specific Port
In interface configuration mode, you can use the alarm-profile command to attach an alarm profile to a
specific port.
Beginning in privileged EXEC mode, follow these steps to attach an alarm profile to a port:
To detach an alarm profile from a specific port, use the no alarm-profile name interface configuration
command.
This example attaches an alarm profile named fastE to a port.
Switch(config)# interface fastethernet 1/2
Switch(config-if)# alarm profile fastE
Tab l e 7-4 AlarmList ID Number Alarm Descriptions
AlarmList ID Alarm Description
1Link fault
2Port not forwarding
3Port not operating
4FCS error rate exceeds threshold
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 interface port interface Enter the number of the switch port to be configured, and t he switch enters
interface configuration mode.
Step 3 alarm-profile name Attach the specified profile to the interface.
Step 4 end Return to privileged EXEC mode.
Step 5 show alarm profile Verify the configuration.
Step 6 copy running-config startup-config (Optional) Save your entries in the configuration file.