SUMMARY STEPS
1.
configure
2.
(Optional)
snmp-server engineid local engine-id
3.
snmp-server view view-name oid-tree
{
included
|
excluded
}
4.
snmp-server group name
{
v1
|
v2c
|
v3
{
auth
|
noauth
|
priv
}} [
read view
] [
write view
] [
notify view
]
[
access-list-name
]
5.
snmp-server user username groupname
{
v1
|
v2c
|
v3
[
auth
{
md5
|
sha
} {
clear
|
encrypted
}
auth-password
[
priv des56
{
clear
|
encrypted
}
priv-password
]]} [
access-list-name
]
6.
commit
7.
(Optional)
show snmp
8.
(Optional)
show snmp engineid
9.
(Optional)
show snmp group
10.
(Optional)
show snmp users
11.
(Optional)
show snmp view
DETAILED STEPS
Purpose
Command or Action
configure
Step 1
(Optional)
Specifies the identification number of the local
SNMP engine.
snmp-server engineid local engine-id
Example:
RP/0/RP0/CPU0:router# snmp-server engineID
local 00:00:00:09:00:00:00:a1:61:6c:20:61
Step 2
Creates or modifies a view record.
snmp-server view view-name oid-tree
{
included
|
excluded
}
Example:
RP/0/RP0/CPU0:router# snmp-server view
view_name 1.3.6.1.2.1.1.5 included
Step 3
Configures a new SNMP group or a table that maps
SNMP users to SNMP views.
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# snmp-server group
group_name v3 noauth read view_name1 write view_name2
Step 4
Configures a new user to an SNMP group.
snmp-server user username groupname
{
v1
|
v2c
|
v3
[
auth
{
md5
|
sha
} {
clear
|
encrypted
}
Step 5
auth-password
[
priv des56
{
clear
|
encrypted
}
priv-password
]]} [
access-list-name
]
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
28
Implementing SNMP
Configuring SNMPv3