Configure Port Utilization Thresholds and Notifications

There are two port utilization alarms:

■   lowportutilization—Utilization Alarm Low Status Change
■   portutilization—Utilization Alarm High Status Change

Use the high utilization threshold to detect high port utilization. Use the low utilization threshold to detect low port utilization. Or use both thresholds.

When configuring the alarm utilization threshold values on ports, you cannot configure a low utilization threshold value that is greater than the current high utilization threshold value. For example, if you have configured low utilization threshold values as '40' and high utilization threshold value as '60', then you cannot change the low utilization threshold value to '70' and high utilization threshold values to '90' (because the new low utilization threshold value 70 is greater than the configured high utilization threshold high value which is 60). To configure these values, you must first reset the threshold values to '0' and then set the new values

The thresholds for these alarms are configured as a percentage using the port command as follows:

(config) # port 1/1/x1 alarm low-utilization-threshold 30(config) # port 1/1/x1 alarm high-utilization-threshold 70

To enable SNMP notifications when these thresholds are exceeded, use the snmp-server command as follows:

(config) # snmp-server notify event lowportutilization(config) # snmp-server notify event portutilization

An SNMP notification will be sent when a threshold is exceeded in any 5-second interval. A clear notification will be sent when the threshold is no longer exceeded. Clear notifications are sent for both rx and tx directions, for both porttutilization and lowporttutilization.

The thresholds can be disabled by setting them to zero, as follows:

(config) # port 1/1/x1 alarm low-utilization-threshold 0(config) # port 1/1/x1 alarm high-utilization-threshold 0

If a threshold has been exceeded, but is then disabled, a clear notification will be sent.

Examples:

■   When the high utilization threshold is set to 70% and the traffic on the port rises above 70%, if the porttutilization alarm is enabled, it will be sent. If the traffic then falls below 70%, a clear notification (clearing the high threshold) will be sent.
■   When the low utilization threshold is set to 30% and the traffic on the port falls below 30%, if the lowporttutilization alarm is enabled, it will be sent. If the traffic then rises above 30%, a clear notification (clearing the low threshold) will be sent. The lowporttutilization alarm will also be sent if there is no traffic or if the traffic is between 0 and 30%.
■   When the high utilization threshold is set to 70% and the traffic on the port rises above 70%, if the porttutilization alarm is enabled, it will be sent. If the high utilization threshold is then disabled, a clear notification will be sent.