Snmp-Agent Mib-View - 3Com S7906E Command Reference Manual

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

snmp-agent mib-view

Syntax
snmp-agent mib-view { excluded | included } view-name oid-tree [ mask mask-value ]
undo snmp-agent mib-view view-name
View
System view
Default Level
3: Manage level
Parameters
excluded: Indicates that no nodes of the MIB tree are included in current view.
included: Indicates that all nodes of the MIB tree are included in current view.
view-name: View name, a string of 1 to 32 characters.
oid-tree: MIB subtree, identified by the OID of the subtree root node, such as 1.4.5.3.1, or the name of
the subtree root node, such as "system". OID is made up of a series of integers, which marks the
position of the node in the MIB tree and uniquely identifies a MIB object.
mask mask-value: Mask for a MIB subtree, in the range 1 to 32 hexadecimal digits. It must be an even
digit.
Description
Use the snmp-agent mib-view command to create or update MIB view information so that MIB objects
can be specified.
Use the undo snmp-agent mib-view command to delete the current configuration.
By default, MIB view name is ViewDefault.
MIB view is a subset of MIB, and it may include all nodes of a MIB subtree (that is, the access to all
nodes of this MIB subtree is permitted), or may exclude all nodes of a MIB subtree (that is, the access to
all nodes of this MIB subtree is forbidden).
You can use the display snmp-agent mib-view command to view the access right of the default view.
Also, you can use the undo snmp-agent mib-view command to remove the default view, after that,
however, you may not be able to read or write all MIB nodes on the agent.
Related commands: snmp-agent group.
Examples
# Create a MIB view mibtest, which includes all objects of the subtree mib-2, and excludes all objects
of the subtree ip.
<Sysname> system-view
[Sysname] snmp-agent mib-view included mibtest 1.3.6.1
[Sysname] snmp-agent mib-view excluded mibtest ip
[Sysname] snmp-agent community read public mib-view mibtest
1-18

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents