Configuring SNMP
Command
Step 4
end
Step 5
show running-config
Step 6
copy running-config startup-config
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:
Command
Step 1
configure terminal
Step 2
snmp mib bulkstat object-list list-name
Step 3
add {object-name | oid}
Step 4
exit
Step 5
snmp mib bulkstat schema schema-name
Step 6
object-list list-name
Step 7
instance {exact | wild} {interface
interface-id | oid oid}
Cisco ME 3800X and 3600X Switch Software Configuration Guide
25-18
Purpose
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Define an SNMP bulk-statistics object list, and enter bulk-statistics
object-list configuration mode.
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.
Return to global configuration mode.
Name the SNMP bulk statistics schema, and enter bulk-statistics
schema configuration mode.
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.
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.
Chapter 25
Configuring SNMP
OL-23400-01