Usage Scenario
Most SNMP configuration commands contain the parameter . The snmp-agent mib-view command is used to create or update a view. You cannot modify or delete the default ViewDefault MIB view.
In the
snmp-agent mib-view command, the
parameter can be displayed as an OID or an object name.
- snmp-agent mib-view included myview 1.3.6.1.2.1: displays the parameter as an OID.
- snmp-agent mib-view excluded myview system.7: displays the parameter as an object name.
To uniquely identify object identifiers in SNMP messages, SNMP uses a hierarchical naming structure to distinguish object identifiers from one another. This is a tree-shaped structure, with the nodes (such as {1.3.6.1.2.1}) representing object identifiers. The MIB is a collection of standard variables on monitored network devices.
Precautions
If a MIB view is referenced by a community name or SNMP group, the view can be deleted using the undo snmp-agent mib-view command only after you delete the view reference relationship.