53
Configuring Switch Alarms
How to Configure Switch Alarms
Setting the FCS Error Hysteresis Threshold
The hysteresis setting prevents the toggle of an alarm when the actual bit error-rate fluctuates near the configured rate.
The FCS hysteresis threshold is applied to all ports of a switch.
Configuring Alarm Profiles
Creating 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 not operating alarm.
Command Purpose
1. configure terminal Enters global configuration mode.
2. interface interface-id Enters the interface to be configured, and enters interface configuration
mode.
3. fcs-threshold value Sets the FCS error rate.
For value, the range is 6 to 11 to set a maximum bit error rate of 10
-6
to 10
-11
.
By default, the FCS bit error rate is 10
-8
.
4. end Returns to privileged EXEC mode.
5. show fcs-threshold Verifies the setting.
6. copy running-config startup-config (Optional) Saves your entries in the configuration file.
Command Purpose
1. configure terminal Enters global configuration mode.
2. alarm facility fcs-hysteresis
percentage
Sets the hysteresis percentage for the switch.
For percentage, the range is 1 to 10. The default value is 10 percent.
3. end Returns to privileged EXEC mode.
4. show running config Verifies the configuration.
5. copy running-config startup-config (Optional) Saves your entries in the configuration file.
Command Purpose
1. configure terminal Enters global configuration mode.
2. alarm profile name Creates the new profile or identifies an existing profile, and enters alarm
profile configuration mode.
3. end Returns to privileged EXEC mode.
4. show alarm profile name Verifies the configuration.
5. copy running-config startup-config (Optional) Saves your entries in the configuration file.