What to Do Next
To disable access for an SNMP community, set the community string for that community to the null string
(do not enter a value for the community string).
To remove a specific community string, use the
no snmp-server
community string global configuration
command.
You can specify an identification name (engine ID) for the local or remote SNMP server engine on the switch.
You can configure an SNMP server group that maps SNMP users to SNMP views, and you can add new users
to the SNMP group.
Related Topics
SNMP Community Strings, on page 449
Configuring SNMP Groups and Users
You can specify an identification name (engine ID) for the local or remote SNMP server engine on the switch.
You can configure an SNMP server group that maps SNMP users to SNMP views, and you can add new users
to the SNMP group.
Follow these steps to configure SNMP groups and users on the switch.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
snmp-server engineID
{
local engineid-string
|
remote ip-address
[
udp-port port-number
]
engineid-string
}
4.
snmp-server group group-name
{
v1
|
v2c
|
v3
{
auth
|
noauth
|
priv
}} [
read readview
] [
write writeview
]
[
notify notifyview
] [
access access-list
]
5.
snmp-server user username group-name
{
remote host
[
udp-port port
]} {
v1
[
access access-list
] |
v2c
[
access access-list
] |
v3
[
encrypted
] [
access access-list
] [
auth
{
md5
|
sha
}
auth-password
] } [
priv
{
des
|
3des
|
aes
{
128
|
192
|
256
}}
priv-password
]
6.
end
7.
show running-config
8.
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode. Enter your password if prompted.
enable
Step 1
Example:
Switch>
enable
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
456
How to Configure SNMP
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......