45
867
notifyview
If
is not specified, the notify view is not defined.
readview
If
is not specified, all objects except for the community-table and
SNMPv3 user and access tables are available for retrieval.
writeview
If
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
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
the encrypted security level to the group, and limits the access rights of a view
user-view
called
to read-only. User
tom
user
has the rights assigned in
switchxxxxxx(config)#
switchxxxxxx(config)#
45.8 show snmp views
To display SNMP views, use the show snmp views Privileged EXEC mode
command.
Syntax
viewname
show snmp views [
Parameters
viewname—(Optional) Specifies the view name. (Length: 1–30 characters)
Network Management Protocol (SNMP) Commands
tom
is then assigned to
user-view
snmp-server group user-group v3 priv read user-view
snmp-server user tom user-group v3
]
OL-32830-01 Command Line Interface Reference Guide
snmp-server user
user-group
to SNMPv3, assigns
user-group
.
command to
. So that