add (bulkstat object)
To add a MIB object to a Simple Network Management Protocol (SNMP) bulk statistics object list, use the add command in bulk statistics object list configuration mode. To remove a MIB object from an SNMP bulk statistics object list, use the no form of this command.
add {object-name | OID}
no add {object-name | OID}
Syntax Description
| object-name | Name of the MIB object to add to the list. Object names are limited to those with mappings shown in the show snmp mib object-name command. | 
| OID | Object identifier (OID) of the MIB object to add to the list. | 
Command Default
No MIB objects are configured for an object list.
Command Modes
Bulk statistics object list configuration
Command History
| Release | Modification | 
|---|---|
| Release 4.2.0 | This command was introduced. | 
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
All object names and OIDs in a single object list should belong to the same MIB index, but the objects need not belong to the same MIB table. For example, it is possible to group ifInoctets and a CISCO-IF-EXTENSION-MIB object in the same schema because the containing tables are indexed by the ifIndex (in the IF-MIB).
The add command should be repeated as necessary until all MIB objects have been added to the object list.
Task ID
| Task ID | Operation | 
|---|---|
| snmp | read, write | 
Examples
The following example shows how to add various MIB objects to an object list.
RP/0/RSP0/CPU0:router(config-bulk-objects)# add 1.3.6.1.2.1.2.2.1.11 
RP/0/RSP0/CPU0:router(config-bulk-objects)# add ifAdminStatus 
RP/0/RSP0/CPU0:router(config-bulk-objects)# add ifDescr 
  
 Feedback
Feedback