Configuring Switch Alarms
Monitoring and Maintaining Switch Alarms Status
Modifying an Alarm Profile
You can modify an alarm profile from alarm profile configuration mode.
You can enter more than one alarm type separated by a space.
Command
alarm {fcs-error | link-fault | not-forwarding |
not-operating}
notifies {fcs-error | link-fault | not-forwarding |
not-operating}
relay-major {fcs-error | link-fault |
not-forwarding | not-operating}
syslog {fcs-error | link-fault | not-forwarding |
not-operating}
Attaching an Alarm Profile to a Specific Port
Command
1.
configure terminal
2.
interface port interface
3.
alarm-profile name
4.
end
5.
show alarm profile
6.
copy running-config startup-config
Enabling SNMP Traps
Command
1.
configure terminal
2.
snmp-server enable traps alarms
3.
end
4.
show alarm settings
5.
copy running-config startup-config
Monitoring and Maintaining Switch Alarms Status
Table 13
Commands for Displaying Global and Port Alarm Status
Command
show alarm description ports
show alarm profile [name]
Purpose
(Optional) Adds or modifies alarm parameters for
a specific alarm.
(Optional) Configures the alarm to send an SNMP
trap to an SNMP server.
(Optional) Configures the alarm to send an alarm
trap to the relay.
(Optional) Configures the alarm to send an alarm
trap to a syslog server.
Purpose
Enters global configuration mode.
Enters interface configuration mode.
Attaches the specified profile to the interface.
Returns to privileged EXEC mode.
Verifies the configuration.
(Optional) Saves your entries in the configuration file.
Purpose
Enters global configuration mode.
Enables the switch to send SNMP traps.
Returns to privileged EXEC mode.
Verifies the configuration.
(Optional) Saves your entries in the configuration file.
Purpose
Displays an alarm number and its text description.
Displays all alarm profiles in the system or a specified profile.
54