Specifications

14-23
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 14 Configuring SNMP
Configuring SNMP
DETAILED STEPS
EXAMPLE
The following example shows how to set an entry limit at 40 percent and a size of 300 seconds:
Switch(config)# process cpu statistics limit entry-percentage 40 size 300
This example configures the system to send a notification when the CPU utilization exceeds 50% for a
period of 60 seconds. Because a falling percentage threshold is not specified, the system uses the same
parameters as the configured rising threshold. This means that a notification will also be sent out when
the CPU utilization falls under 50% utilization for a period of 60 seconds.
Switch(config)# snmp-server enable traps cpu threshold < - - Enables the cpu threshold
trap to be sent
Switch(config)# process cpu threshold type total rising 50 interval 60
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
process cpu statistics limit
entry-percentage number [size
seconds]
Set the process entry limit and the size of the history table
for CPU utilization statistics.
For entry-percentage number, enter the percentage (1
to 100) of CPU utilization that a process must use to
become part of the history table.
(Optional) For size seconds, set the duration of time in
seconds for which CPU statistics are stored in the
history table. The range is from 5 to 86400 seconds; the
default is 600.
Step 3
process cpu threshold type {total |
process | interrupt} rising percentage
interval seconds [falling percentage
interval seconds]
Set CPU threshold notification types and values.
Set the threshold type to total CPU utilization, CPU
process utilization, or CPU interrupt utilization.
For rising percentage, enter the percentage (1 to 100) of
CPU resources that triggers a CPU threshold
notification when exceeded.
For interval seconds, enter the duration of the CPU
threshold violation in seconds (5 to 86400) that must be
met to trigger a CPU threshold notification. The default
is 5 seconds.
(Optional) Set a falling percentage interval seconds
that, when usage falls below this level for the
configured interval, triggers a CPU threshold
notification. The percentage must be equal to or less
than the rising percentage. The default is for the falling
percentage to be the same value as the rising
percentage.
Step 4
end Return to privileged EXEC mode.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.