System Management Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

System Management Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Configure a bulk statistics schema

Want to summarize with AI?

Log in

Configure a bulk statistics schema to collect periodic SNMP MIB data and control the collection interval and included object lists.


Enable periodic MIB data collection and transfer by defining a schema that determines which MIB object lists are collected, on what instances, and how frequently.

A bulk statistics schema enables SNMP-based periodic collection of user-defined MIB object lists. Configuring a schema allows you to specify the device objects to collect, the types of instances, and the polling interval.

Before you begin

Identify the object list name and instance information you want to use for data collection.

Procedure

1.

Define and name the bulk statistics schema.

Example:

Router#configure terminal
Router#snmp-server mib bulkstat schema intE0
2.

Specify the bulk statistics object list to include in this schema.

Example:

Router(config-bulk-sc)#object-list ifMib
Note

Only one object list can be configured per schema. If you enter multiple object-list commands, the most recent entry overwrites previous ones.

3.

Specify the instance information for objects to be collected. Use only one of these commands per schema:

  • To specify an exact instance (complete OID or interface):

    instance exact interface sub-if or instance exact oid oid
  • To specify all subindices of an OID (wild-carded instance):

    instance wild interfacesub-if orinstance wild oidoid-name
  • To specify a range of instances:

    instance range startoidendoid
  • To repeat for a number of MIB object instances:

    instance repetition oidmaxrepeat-number
Note

If you configure multiple instance commands in a schema, the most recent command overwrites previous ones.

4.

Set the polling interval in minutes for data collection:

Example:

Router(config-bulk-sc)# poll-interval 10

The valid polling interval is from 1 to 20000 minutes; the default is 5 minutes.

The bulk statistics schema is configured. The device will now collect the specified MIB object list based on instance specification, using the defined polling interval.