Setting value
Description
include
Include the specified object ID in management
exclude
Exclude the specified object ID from
management
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Sets the SNMP MIB view.
The MIB view is the set of MIB objects to specify when allowing access rights.
Up to 16 MIB views can be registered.
The combination of the
oid
parameter and the
type
parameter indicates whether the MIB sub-tree following the specified object
ID is or is not subject to management. Taking the
oid
parameter and the
type
parameter together as one entry, you can specify
multiple entries for each MIB view, up to a maximum of 8.
When multiple entries are specified, the
type
parameter for the specified object ID takes priority for entries that are contained at
a lower level within the specified object ID.
If this command is executed with the "no" syntax, the MIB view is deleted. It is not possible to delete individual entries.
[Example]
Specify the "most" view which shows the internet node (1.3.6.1) and below.
SWR2311P(config)#snmp-server view most 1.3.6.1 include
Specify the "standard" view which shows the mib-2 node (1.3.6.1.2.1) and below.
SWR2311P(config)#snmp-server view standard 1.3.6.1.2.1 include
4.10.7 Set SNMP group
[Syntax]
snmp-server
group
group
seclevel
read
read_view
[
write
write_view
]
snmp-server
group
group
seclevel
write
write_view
[
read
read_view
]
no
snmp-server
group
group
[Keyword]
read
:
Specify the MIB view that can be read by users belonging to this group
write
:
Specify the MIB view that can be written by users belonging to this group
[Parameter]
group
:
Group name (maximum 32 characters)
seclevel
:
Security level required of users belonging to this group
Setting value
Description
noauth
No authentication / No encryption
(noAuthNoPriv)
auth
Authentication / No encryption (authNoPriv)
priv
Authentication / Encryption (authPriv)
read_view
:
Name of the MIB view (maximum 32 characters) that can be read by users belonging to this group
write_view
:
Name of the MIB view (maximum 32 characters) that can be written by users belonging to this group
54
| Command Reference | Maintenance and operation functions