hit counter script

Attaching An Alarm Profile To A Specific Port - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Configuring Catalyst 2955 Switch Alarms
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
Before you can use the notifies command to send alarm traps to an SNMP server, you must first set up
Note
the SNMP server by using the snmp-server enable traps alarms global configuration command. See
the
Table 3-4
alarms, see the
Table 3-4
AlarmList ID Alarm Description
1
2
3
4

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:
Command
Step 1
configure terminal
Step 2
interface port interface
Step 3
alarm-profile name
Step 4
end
Step 5
show alarm profile
Step 6
copy running-config startup-config (Optional) Save your entries in the configuration file.
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 0/2
Switch(config-if)# alarm profile fastE
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
3-10
"Enabling SNMP Traps" section on page
lists the alarmList IDs and their corresponding alarm definitions. For a description of these
"Port Status Monitoring Alarms" section on page
AlarmList ID Number Alarm Descriptions
Link fault
Port not forwarding
Port not operating
FCS error rate exceeds threshold
Purpose
Enter global configuration mode.
Enter the number of the switch port to be configured, and the switch enters
interface configuration mode.
Attach the specified profile to the interface.
Return to privileged EXEC mode.
Verify the configuration.
Chapter 3
Configuring Catalyst 2955 Switch Alarms
3-11.
3-3.
78-11380-12

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents