Configuring SNMPv3
No specific command enables SNMPv3; the first snmp-server global configuration command (config),
Note
that you issue enables SNMPv3. Therefore, the sequence in which you issue the snmp-server commands
for this task does not matter.
SUMMARY STEPS
1. configure
2. snmp-server view view-name oid-tree {included | excluded}
3. snmp-server group name {v1 | v2c | v3 {auth | noauth | priv}} [read view] [write view] [notify view]
[access-list-name]
4. snmp-server user username groupname {v1 | v2c | v3 [auth {md5 | sha} {clear | encrypted}
auth-password [priv des56 {clear | encrypted} priv-password]]} [access-list-name]
5. commit
DETAILED STEPS
Command or Action
Step 1
configure
Step 2
snmp-server view view-name oid-tree {included | excluded}
Example:
RP/0/RP0/CPU0:router(config)# snmp-server view
view_name 1.3.6.1.2.1.1.5 included
Step 3
snmp-server group name {v1 | v2c | v3 {auth | noauth |
priv}} [read view] [write view] [notify view]
[access-list-name]
Example:
RP/0/RP0/CPU0:router(config)# snmp-server group
group_name v3 noauth read view_name1 write view_name2
Step 4
snmp-server user username groupname
{v1 | v2c | v3 [auth {md5 | sha} {clear | encrypted}
auth-password [priv des56 {clear | encrypted}
priv-password]]} [access-list-name]
Example:
RP/0/RP0/CPU0:router(config)# snmp-server user
noauthuser group_name v3
Step 5
commit
System Management Configuration Guide for the Cisco NCS 6000 Series Router, Release 5.0.x
70
Purpose
Creates or modifies a view record.
Configures a new SNMP group or a table that maps
SNMP users to SNMP views.
Configures a new user to an SNMP group.
Only one remote host can be assigned to the
Note
same username for SNMP version 3. If you
configure the same username with different
remote hosts, only the last username and remote
host combination will be accepted and will be
seen in the show running configuration. In the
case of multiple SNMP managers, multiple
unique usernames are required.
Implementing SNMP