Specifications
5-11
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 5 Configuring the Switch Alarms
Configuring Switch Alarms
EXAMPLE
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
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.
BEFORE YOU BEGIN
Review the “Port Status Monitoring Alarms” section on page 5-2.
DETAILED STEPS
To detach an alarm profile from a specific port, use the no alarm-profile name interface configuration
command.
EXAMPLE
This example attaches an alarm profile named fastE to a port:
Switch(config)# interface fastethernet 1/2
Switch(config-if)# alarm profile fastE
This example detaches an alarm profile named fastE from a port:
Switch(config)# interface fastethernet 1/2
Switch(config-if)# no alarm profile fastE
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 the 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.