Command Reference Guide

348snmp-agent mib-view 3Com Router 5000 Family and Router 6000 Family
Command Reference
snmp-agent mib-view
Purpose Use the snmp-agent mib-view command to create or update the information
about a view.
Use the undo snmp-agent mib-view command to delete the view information.
Syntax snmp-agent mib-view { included | excluded } view-name oid-tree
undo snmp-agent mib-view view-name
Parameters view-name
Name of the view.
oid-tree
OID MIB subtree for the MIB object subtree. It can be a
character string of the variable OID or a character
string of variable name, for example, 1.4.5.3.1,
system, or 1.4.5.*.*.1.
included
Includes the MIB subtree.
excluded
Excludes the MIB subtree.
Default By default, the view name is ViewDefault and the OID is 1.3.6.1.
Example Create a view that includes all MIB-II objects.
[3Com] snmp-agent mib-view included mib2 1.3.6.1
View This command can be used in the following views:
System view
Description This command accepts both variable OID strings and node names.
Related Command snmp-agent group