Configuring SNMP 305
Traps are enabled.
Authentication trap is enabled.
Version 1,2 notifications
Version 3 notifications
System Contact:
System Location:
Configuring SNMPv3
This example shows how to complete a basic SNMPv3 configuration. The 
commands create a view that includes objects from the 
internet
 MIB subtree 
(OID 1.3.6.1), which includes all objects on the switch. 
The user named 
admin
 has read-write privileges to all objects within the view 
(in other words, all objects on the switch) after supplying the appropriate 
authentication credentials (secretkey).
To configure the switch:
1
Configure the view. 
view_snmpv3
 and specify the objects to include.
console#configure
console(config)#snmp-server view view_snmpv3 
internet included
2
Create the group 
group_snmpv3
 and allow read-write access to the view 
configured in the previous step.
console(config)#snmp-server group group_snmpv3 v3 
auth read view_snmpv3 write view_snmpv3
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
------------ ---- --------- ------- ----- ----- --- -------