Snmp Examples - Cisco ME 3400 Software Configuration Manual

Ethernet access switch
Hide thumbs Also See for ME 3400:
Table of Contents

Advertisement

Chapter 29
Configuring SNMP
Beginning in privileged EXEC mode, follow these steps to configure a CPU threshold table:
Command
Step 1
configure terminal
Step 2
process cpu statistics limit
entry-percentage number [size seconds]
Step 3
process cpu threshold type {total | process |
interrupt} rising percentage interval
seconds [falling percentage interval
seconds]
Step 4
end
Step 5
copy running-config startup-config

SNMP Examples

This example shows how to enable all versions of SNMP. The configuration permits any SNMP manager
to access all objects with read-only permissions using the community string public. This configuration
does not cause the switch to send any traps.
Switch(config)# snmp-server community public
This example shows how to permit any SNMP manager to access all objects with read-only permission
using the community string public. The switch also sends MAC notification traps to the hosts
192.180.1.111 and 192.180.1.33 using SNMPv1 and to the host 192.180.1.27 using SNMPv2C. The
community string public is sent with the traps.
Switch(config)# snmp-server community public
Switch(config)# snmp-server enable traps mac-notification
Switch(config)# snmp-server host 192.180.1.27 version 2c public
Switch(config)# snmp-server host 192.180.1.111 version 1 public
Switch(config)# snmp-server host 192.180.1.33 public
OL-9639-07
Purpose
Enter global configuration mode.
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.
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.
Return to privileged EXEC mode.
(Optional) Save your entries in the configuration file.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
Configuring SNMP
29-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents