346 Configuring SNMP
3
Create the user 
admin
, assign the user to the group, and specify the 
authentication credentials.
console(config)#snmp-server user admin 
group_snmpv3 auth-md5 secretkey
4
Specify the IP address of the host where traps are to be sent. Packet 
authentication using MD5-SHA is enabled for the traps.
console(config)#snmp-server v3-host 192.168.3.35 
admin traps auth
console(config)#exit
5
View the current SNMP configuration on the switch. The output includes 
the SNMPv1/2 configuration in the previous example.
console#show snmp
Community-String     Community-Access View Name IP Address
-------------------- ---------------- --------- -------
private              Read/Write       Default All
public               Read Only        Default All
Traps are enabled.
Authentication trap is enabled.
Version 1,2 notifications
Version 3 notifications
System Contact:
System Location:
Community-String Group Name IP Address
----------------- -------------- ------------
private DefaultWrite All
public DefaultRead All
Target Addr. Type Community Version UDP
Port
Filter
Name
TO
Sec
Retries
------------ ---- --------- ---- ----- ----- --- -------
192.168.3.65 Trap public 1 162
Target Addr. Type Username Security
Level
UDP
Port
Filter
Name
TO
Sec
Retries
------------ ---- --------- ------- ----- ----- --- -------
192.168.3.35 Trap admin Auth-NoP 162 15 3