10-18
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
If the SNMP version on the NMS is set to SNMPv1, when the NMS uses the community name
public
to access the device, it cannot access all objects of the
ip
subtree (such as the ipForwarding node, the
ipDefaultTTL node, and so on), but it can access all objects of the
mib-2
subtree.
snmp-agent packet max-size
Syntax
snmp-agent packet max-size
byte-count
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...