Configuring a Bulk Statistics Schema
The second step in configuring periodic MIB data collection and transfer is to configure one or more schemas.
Before You Begin
The bulk statistics object list to be used in the schema must be defined.
SUMMARY STEPS
1.
configure
2.
snmp-server mib bulkstat schema schema-name
3.
object-list list-name
4.
Do one of the following:
•
instance exact
{
interface interface-id
[
sub-if
] |
oid oid
}
•
instance wild
{
interface interface-id
[
sub-if
] |
oid oid
}
•
instance range start oid end oid
•
instance repetition oid max repeat-number
5.
poll-interval minutes
6.
commit
DETAILED STEPS
Purpose
Command or Action
configure
Step 1
Names the bulk statistics schema and enters bulk statistics schema
mode.
snmp-server mib bulkstat schema schema-name
Example:
RP/0/RP0/CPU0:router(config)# snmp-server mib
Step 2
bulkstat schema intE0
RP/0/RP0/CPU0:router(config-bulk-sc)#
Specifies the bulk statistics object list to be included in this schema.
Specify only one object list per schema. If multiple object-list
object-list list-name
Example:
RP/0/RP0/CPU0:router(config-bulk-sc)#
object-list
ifMib
Step 3
commands are executed, the earlier ones are overwritten by newer
commands.
Specifies the instance information for objects in this schema:
Do one of the following:
Step 4
•
instance exact
{
interface interface-id
[
sub-if
]
|
oid oid
}
•
The
instance exact
command indicates that the specified
instance, when appended to the object list, represents the
complete OID.
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
70
Configuring Periodic MIB Data Collection and Transfer
Configuring a Bulk Statistics Schema