Reference Guide

Simple Network Management Protocol and Syslog | 1107
Related
Commands
snmp-server user
c e s z
Configure a new user to an SNMP group.
Syntax
snmp-server user name {group_name remote ip-address udp-port port-number} [1 | 2c | 3]
[encrypted] [auth {md5 | sha} auth-password] [priv des56 priv password] [access-list-name
| ipv6 access-list-name | access-list-name ipv6 access-list-name]
To remove a user from the SNMP group, use the no snmp-server user name {group_name
remote ip-address udp-port port-number} [1 | 2c | 3] [encrypted] [auth {md5 | sha}
auth-password] [priv des56 priv password] [access-list-name | ipv6 access-list-name |
access-list-name ipv6 access-list-name] command.
Parameters
snmp-server community Set the community string.
name
Enter the name of the user (not to exceed 20 characters), on the host, that
connects to the agent.
group_name
Enter a text string (up to 20 characters long) as the name of the group.
Defaults: The following groups are created for mapping to read/write
community/security-names.
v1v2creadu — maps to a community with
ro permissions
1v2cwriteumaps to a community rw permissions
remote ip-address
Enter the keyword remote followed by the IP address that identifies the copy of
the SNMP on the remote device.
udp-port
port-number
Enter the keyword udp-port followed by the UDP (User Datagram Protocol)
port number on the remote device.
Range: 0 to 65535.
Default: 162
1 | 2c | 3
(OPTIONAL) Enter the security model version number (1, 2c, or 3).
1 is the least secure version
3 is the most secure of the security modes.
2c allows transmission of informs and counter 64, which allows for integers
twice the width of what is normally allowed.
Default: 1
encrypted (OPTIONAL) Enter the keyword encrypted to specify the password appear in
encrypted format (a series of digits, masking the true characters of the string).
auth (OPTIONAL) Enter the keyword auth to specify authentication of a packet
without encryption.
md5 | sha
(OPTIONAL) Enter the keyword md5 or sha to designate the authentication
level.
md5 — Message Digest Algorithm
sha — Secure Hash Algorithm
auth-password
(OPTIONAL) Enter a text string (up to 20 characters long) password that will
enable the agent to receive packets from the host.
Minimum: 8 characters long
priv des56
(OPTIONAL) Enter the keyword priv des56 to initiate a privacy
authentication level setting using the CBC-DES privacy authentication algorithm
(
des56).