25-18
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 25 Configuring SNMP
Configuring SNMP
Configuring MIB Data Collection and Transfer
This section includes basic configuration for MIB data collection. For more information, see the Periodic
MIB Data Collection and Transfer Mechanism document at this URL:
http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_mib_collect_trans.html
Beginning in privileged EXEC mode, follow these steps to configure a bulk-statistics object list and
schema options:
Step 4
end
Return to privileged EXEC mode.
Step 5
show running-config
Verify your entries.
Step 6
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
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.