Network Management Protocol (SNMP) Commands
867
OL-32830-01 Command Line Interface Reference Guide
45
If
notifyview
is not specified, the notify view is not defined.
If
readview
is not specified, all objects except for the community-table and
SNMPv3 user and access tables are available for retrieval.
If
writeview
is not specified, the write view is not defined.
Command Mode
Global Configuration mode
User Guidelines
The group defined in this command is used in the
snmp-server user
command to
map users to the group. These users are then automatically mapped to the views
defined in this command.
The command logical key is (groupname, snmp-version, security-level). For
snmp-version v1/v2 the security-level is always noauth.
Example
The following example attaches a group called
user-group
to SNMPv3, assigns
the encrypted security level to the group, and limits the access rights of a view
called
user-view
to read-only. User
tom
is then assigned to
user-group
. So that
user
tom
has the rights assigned in
user-view
.
switchxxxxxx(config)#
snmp-server group
user-group v3 priv read user-view
switchxxxxxx(config)#
snmp-server user
tom user-group v3
45.8 show snmp views
To display SNMP views, use the show snmp views Privileged EXEC mode
command.
Syntax
show snmp views [
viewname
]
Parameters
viewname—(Optional) Specifies the view name. (Length: 1–30 characters)
Содержание 300 Series
Страница 2: ......