47-19
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 47 Configuring SNMP
Configuring SNMPv3 on the Switch
This example shows how to verify the SNMPv3 setup for guestuser1 from a workstation:
workstation%
getnext -v3 10.6.4.201 guestuser1 ifDescr.0
Enter Authentication password :
guestuser1password
Enter Privacy password :
privacypasswd1
ifDescr.1 = sc0
This example shows how to verify the SNMPv3 setup for guestgroup in the snmpEngineID MIB from a
workstation:
workstation%
getnext -v3 10.6.4.201 guestuser1 snmpEngineID
Enter Authentication password :
guestuser1pasword
Enter Privacy password :
privacypasswd1
snmpEngineID = END_OF_MIB_VIEW_EXCEPTION
This example shows how to verify the SNMPv2c setup for public access from a workstation:
workstation%
getnext -v2c 10.6.4.201 public snmpEngineID
snmpEngineID.0 =
00 00 00 09 00 10 7b f2 82 00 00 00
These examples show how to increase guestgroup’s access right to read privileges for
snmpEngineMibView:
Console> (enable)
set snmp view snmpEngineMibView 1.3.6.1.6.3.10.2.1 included
Snmp view name was set to snmpEngineMibView with subtree 1.3.6.1.6.3.10.2.1 included,
nonvolatile
Console> (enable)
set snmp access guestgroup security-model v3 authentication read
snmpEngineMibView
Snmp access group was set to guestgroup version v3 level authentication,
readview snmpEngineMibView, nonvolatile.
This example shows how to verify the SNMPv3 access for guestuser1 from a workstation:
workstation%
getnext -v3 10.6.4.201 guestuser1 snmpEngineID
Enter Authentication password :
guestuser1password
Enter Privacy password :
privacypasswd1
snmpEngineID.0 =
00 00 00 09 00 10 7b f2 82 00 00 00
This example shows how to remove the access for guestgroup:
Console> (enable)
clear snmp acc guestgroup security-model v3 authentication
Cleared snmp access guestgroup version v3 level authentication.
This example shows how to verify that the access for guestuser1 has been removed from a workstation:
workstation%
getnext -v3 10.6.4.201 guestuser1 ifDescr.1
Enter Authentication password :
guestuser1password
Enter Privacy password :
privacypasswd1
Error code set in packet - AUTHORIZATION_ERROR:1.
This example shows how to verify the access for guestuser2 from a workstation:
workstation%
getnext -v3 10.6.4.201 guestuser2 ifDescr.1
Enter Authentication password :
guestuser2password
Enter Privacy password :
privacypasswd2
REPORT received, cannot recover:
usmStatsUnsupportedSecLevels.0 = 1