Specifications

14-20
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 14 Configuring SNMP
Configuring SNMP
DETAILED STEPS
EXAMPLE
This example configures a bulk-statistics object list and schema:
Switch(config)# snmp mib bulkstat object-list ifMIB
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
snmp mib bulkstat object-list list-name Define an SNMP bulk-statistics object list, and enter
bulk-statistics object-list configuration mode.
Step 3
add {object-name | oid} Add a MIB object to the bulk-statistics object list.
For object-name, enter the name of the MIB object to
add to the list. You can enter only object names from the
Interfaces MIB or the Cisco Committed Access Rate
MIB.
For oid, enter the Object ID of the MIB object to add to
the list.
All the objects in an object-list must be in the same MIB
index, but the objects need not belong to the same MIB
table. Repeat the command until all objects to be monitored
are added.
Step 4
exit Return to global configuration mode.
Step 5
snmp mib bulkstat schema
schema-name
Name the SNMP bulk statistics schema, and enter
bulk-statistics schema configuration mode.
Step 6
object-list list-name Specify the bulk-statistics object list to be included in this
schema. Specify only one object list per schema. If multiple
object-list commands are entered, the most recent
command overwrites the previous command.
Step 7
instance {exact | wild} {interface
interface-id | oid oid}
Specify the instance information for objects in this schema.
Enter only one instance command per schema. If multiple
instance commands are entered, the most recent command
overwrites the previous command.
Enter exact when the specified instance appended to the
object list is the complete OID.
Enter wild when all subindices of the specified OID
belong to the schema.
Enter an interface interface-id to specify an interface
ID instead of an instance OID.
Enter oid oid to specify an instance OID for the schema.
Step 8
poll interval interval Set the time interval in minutes for collection of data from
the object instances specified in the schema. The range is
from 1 to 20000 minutes; the default is 5 minutes.
Step 9
end Return to privileged EXEC mode.
Step 10
copy running-config startup-config (Optional) Save your entries in the configuration file.