Cisco WS-C4003 Software Guide - Page 314
This example shows how to increase guestgroup's access right to read privileges
View all Cisco WS-C4003 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 314 highlights
Configuring SNMPv3 from the CLI Chapter 23 Configuring SNMP Console> (enable) set snmp user guestuser2 authentication sha guestuser2password Snmp user was set to guestuser2 authProt sha authPasswd guestuser2password privProt no-priv with engineid 00:00:00:09:00:10:7b:f2:82:00:00:00 nonvolatile. These examples show how to set guestuser1 and guestuser2 as members of the groups guestgroup and mygroup: Console> (enable) set snmp group guestgroup user guestuser1 security-model v3 Snmp group was set to guestgroup user guestuser1 and version v3, nonvolatile. Console> (enable) set snmp group mygroup user guestuser1 security-model v3 Snmp group was set to mygroup user guestuser1 and version v3, nonvolatile. Console> (enable) set snmp group mygroup user guestuser2 security-model v3 Snmp group was set to mygroup user guestuser2 and version v3, nonvolatile. 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 guestuser1 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 This example shows 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: % 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 access for guestgroup: Console> (enable) clear snmp acc guestgroup security-model v3 authentication Cleared snmp access guestgroup version v3 level authentication. 23-12 Software Configuration Guide-Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4 78-12647-02