Cisco Systems 2960 Model Vehicle User Manual


  Open as PDF
of 1004
 
30-15
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 30 Configuring SNMP
Configuring SNMP
The snmp-server host command specifies which hosts receive the notifications. The snmp-server
enable trap command globally enables the mechanism for the specified notification (for traps and
informs). To enable a host to receive an inform, you must configure an snmp-server host informs
command for the host and globally enable informs by using the snmp-server enable traps command.
To remove the specified host from receiving traps, use the no snmp-server host host global
configuration command. The no snmp-server host command with no keywords disables traps, but not
informs, to the host. To disable informs, use the no snmp-server host informs global configuration
command. To disable a specific trap type, use the no snmp-server enable traps notification-types global
configuration command.
Setting the CPU Threshold Notification Types and Values
Beginning in privileged EXEC mode, follow these steps to set the CPU threshold notification types and
values:
Step 11
show running-config Verify your entries.
Note To display SNMPv3 information about auth | noauth | priv mode
configuration, you must enter the show snmp user privileged
EXEC command.
Step 12
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
process cpu threshold type {total | process
| interrupt} rising percentage interval
seconds [falling fall-percentage interval
seconds]
Set the CPU threshold notification types and values:
total—set the notification type to total CPU utilization.
process—set the notification type to CPU process utilization.
interrupt—set the notification type to CPU interrupt utilization.
rising percentage—the percentage (1 to 100) of CPU resources
that, when exceeded for the configured interval, sends a CPU
threshold notification.
interval seconds—the duration of the CPU threshold violation in
seconds (5 to 86400) that, when met, sends a CPU threshold
notification.
falling fall-percentage—the percentage (1 to 100) of CPU
resources that, when usage falls below this level for the
configured interval, sends a CPU threshold notification.
This value must be equal to or less than the rising percentage
value. If not specified, the falling fall-percentage value is the
same as the rising percentage value.
Step 3
end Return to privileged EXEC mode.
Step 4
show running-config Verify your entries.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.