SNMP Commands 249
•
priv
—Specifies authentication of a packet with encryption. Applicable only to SNMP
Version 3 security model.
•
context
name
— Specifies context of packet.
•
read
readview
— A
string that is the name of the view that enables you only to view the
contents of the agent. If unspecified, all the objects except of the community-table and
SNMPv3 user and access tables are available. (Range: Up to 30 characters)
•
write
writeview
— A string that is the name of the view that enables you to enter data and
configure the contents of the agent. If unspecified, nothing is defined for the write view.
(Range: Up to 30 characters)
•
notify notifyview
— A string that is the name of the view that enables you to specify an
inform or a trap. If unspecified, nothing is defined for the notify view. (Range: Up to 30
characters)
Default configuration
No group entry exists.
Command Mode
Global configuration
User Guidelines
• The Router context is translated to "" context in the MIB.
Example
The following example configures a new Simple Network Management Protocol (SNMP) group or
a table that maps SNMP users to SNMP views
snmp-server user
To configure a new SNMP Version 3 user, use the snmp-server user global configuration
command. To remove a user, use the no form of the command.
Syntax
snmp-server user
username
groupname
[
remote
engineid-string
] [
auth
-
md5
password
|
auth-
sha
password
|
auth
-
md5-key
md5-des-keys
|
auth
-
sha-key
sha-des-keys
]
no snmp-server user
username
[
remote
engineid-string
]
•
username
— The name of the user on the host that connects to the agent. (Range: Up to
30 characters)
Console (config)# snmp-server group user-group v3 priv read
user-view