v2 — Indicates the SNMP Version 2 security model.
•
•
v3 — Indicates the SNMP Version 3 security model.
•
noauth — Indicates no authentication of a packet. Applicable only to the SNMP Version 3
security model.
•
auth — Indicates authentication of a packet without encrypting it. Applicable only to the
SNMP Version 3 security model.
•
priv — Indicates authentication of a packet with encryption. Applicable only to the SNMP
Version 3 security model.
contextname — Provides different views of the system and provides the user a way of
•
specifying that context.
notifyview — Defines a string that is the name of the view that enables specifying an inform
•
or a trap. If unspecified, nothing is defined for the notify view. (Range: 1-30 characters.)
readview — A string that is the name of the view that enables the you to view only the
•
contents of the agent. If unspecified, all the objects except for the community-table and
SNMPv3 user and access tables are available. (Range: 1-30 characters.)
writeview — A string that is the name of the view that enables the user to enter data and
•
configure the contents of the agent. If unspecified, nothing is defined for the write view.
(Range: 1-30 characters.)
Default Configuration
No group entry exists. There will be some default groups for Read/Write/Super users. These
groups cannot be deleted or modified by the user. This command is used only to configure the
user-defined groups.
Command Mode
Global Configuration Mode
User Guidelines
View-name should be an existing view created using the snmp-server view command. If there
are multiple records with the same view-name, then the argument specified in this command
points to first view-name in the table.
Example
The following example attaches a group called user-group to SNMPv3 and assigns to the group
the privacy security level and read access rights to a view called user-view.
console(config)# snmp-server group user-group v3 priv read user-
view
1035
SNMP Commands