Periodic MIB data collection and transfer is mainly targeted for medium to high-end platforms that have
sufficient local storage (volatile or permanent) to store bulk statistics files. Locally storing bulk statistics files
helps minimize loss of data during temporary network outages.
This feature also has more powerful data selection features than the bulk file MIB; it allows grouping of MIB
objects from different tables into data groups (object lists). It also incorporates a more flexible instance selection
mechanism, where the application is not restricted to fetching an entire MIB table.
How to Configure Periodic MIB Data Collection and Transfer
Configuring a Bulk Statistics Object List
The first step in configuring the Periodic MIB Data Collection and Transfer Mechanism is to configure one
or more object lists.
SUMMARY STEPS
1.
configure
2.
snmp-server mib bulkstat object-list list-name
3.
add
{
oid
|
object-name
}
4.
commit
DETAILED STEPS
Purpose
Command or Action
configure
Step 1
Defines an SNMP bulk statistics object list and enters bulk statistics
object list configuration mode.
snmp-server mib bulkstat object-list list-name
Example:
snmp-server mib bulkstat object-list ifMib
Step 2
Adds a MIB object to the bulk statistics object list. Repeat as desired
until all objects to be monitored in this list are added.
add
{
oid
|
object-name
}
Example:
RP/0/RP0/CPU0:router(config-bulk-objects)#
Step 3
All the objects in a bulk statistics object list have to be
indexed by the same MIB index. However, the objects in
the object list do not need to belong to the same MIB or
MIB table.
When specifying an object name instead of an OID (using
the add command), only object names with mappings
shown in the
show snmp mib object
command output can
be used.
Note
add 1.3.6.1.2.1.2.2.1.11
RP/0/RP0/CPU0:router(config-bulk-objects)#
add ifAdminStatus
RP/0/RP0/CPU0:router(config-bulk-objects)#
add ifDescr
commit
Step 4
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
69
Configuring Periodic MIB Data Collection and Transfer
How to Configure Periodic MIB Data Collection and Transfer