Specifications

3-10
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
78-11380-07
Chapter 3 Configuring Catalyst 2955 Switch Alarms
Configuring Catalyst 2955 Switch Alarms
Configuring Alarm Profiles
This section describes how to configure alarm profiles on your switch. It contains this configuration
information:
Creating or Modifying an Alarm Profile, page 3-10
Attaching an Alarm Profile to a Specific Port, page 3-11
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 is 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
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 then 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.