Connectivity Guide

Table Of Contents
version : 3
security level : priv
notifyview : alltraps
readview : readview
writeview : writeview
Congure SNMP users
Congure user access to the SNMP agent on the switch using group membership. Assign each user to a group and congure SNMPv3-
specic authentication and encryption settings, and optionally, localized security keys and ACL-based access. Re-enter the command
multiple times to congure SNMP security settings for all users.
snmp-server user user-name group-name security-model [[noauth | auth {md5 | sha} auth-password]
[priv {des | aes}]] [localized] [access acl-name] [remote ip-address udp-port port-number]]
The group to which a user is assigned determines the user's access privilege. To congure a group's access privilege — read, write, and
notify — to the switch, use the snmp-server group command. The security model for SNMPv3 provides the strongest security with
user authentication and packet encryption.
No default values exist for SNMPv3 authentication and privacy algorithms and passwords. If you forget a password, you cannot recover it
— you must recongure the user. You can specify either a plain-text password or an encrypted cypher-text password. In either case, the
password stores in the conguration in encrypted form and displays as encrypted in show running-config snmp output.
A localized authentication or privacy key is more complex and provides greater privacy protection. Localized keys are generated using the
engine ID of the switch. For this reason, you cannot use the localized SNMP security passwords in the conguration le on another switch.
For more information, see Congure SNMP engine ID. To display the localized authentication and privacy keys in an SNMPv3 user
conguration, use the show running-configuration snmp command.
To limit user access to the SNMP agent on the switch, enter an access acl-name value. In IPv6 ACLs, SNMP supports only IPv6 and
UDP types. TCP, ICMP, and port rules are not supported.
To display the congured SNMP users, use the show snmp user command.
Congure SNMPv1 or v2c users
OS10(config)# snmp-server user admin1 netadmingroup 2c acl acl_AdminOnly
Congure SNMPv3 users
OS10(config)# snmp-server user privuser v3group 3 encrypted auth
md59fc53d9d908118b2804fe80e3ba8763d priv des56 d0452401a8c3ce42804fe80e3ba8763d
OS10(config)# snmp-server user n3user ngroup remote 172.31.1.3 udp-port 5009 3auth md5
authpasswd
Display SNMP users
OS10# show snmp-server user
User name : privuser
Group : v3group
Version : 3
Authentication Protocol : MD5
Privacy Protocol : AES
SNMP commands
SNMP traps: Enable SNMP notications to send to network management host devices.
System management
643