29-18
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-06
Chapter 29 Configuring SNMP
Configuring SNMP
This example configures a bulk-statistics object list and schema:
Switch(config)# snmp mib bulkstat object-list ifMIB
Switch(config-bulk-objects)# add 1.3.6.1.2.1.2.1.2.2.2.1.11
Switch(config-bulk-objects)# add ifName
Switch(config-bulk-objects)# exit
Switch(config)# snmp mib bulkstat schema testschema
Switch(config-bulk-sc)# object-list ifMIB
Switch(config-bulk-sc)# instance wild oil 1
Switch(config-bulk-sc)# poll-interval 1
Switch(config-bulk-sc)# exit
Beginning in privileged EXEC mode, follow these steps to configure bulk-statistics transfer options:
Step 6
object-list list-name 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.
Step 7
instance {exact | wild} {interface
interface-id | oid oid}
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.
Step 8
poll interval interval Set the time interval in minutes for collection of data from the
object instances specified in the schema. The range is from 1 to
20000 minutes; the default is 5 minutes.
Step 9
end Return to privileged EXEC mode.
Step 10
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
snmp-server mib bulkstat transfer
transfer-id
Identify the transfer configuration with a name, and enter
bulk-statistics transfer configuration mode.
Step 3
buffer-size bytes (Optional) Specify the maximum size for the bulk-statistics data
file in bytes. The range is from 1024 to 2147483647 bytes; the
default is 2048 bytes.
Step 4
format {bulkBinary | bulkASCII |
schemaASCII}
(Optional) Specify the format of the bulk-statistics data file. The
default is schemaASCII.
Step 5
schema schema-name Specify the bulk-statistics schema to be transferred. Repeat this
command for as many schemas as desired. You can associate
multiple schemas with a transfer configuration.