Cisco WS-C2980G-A Software Guide - Page 384
This example shows how to verify the SNMPv2c setup for public access from a workstation
UPC - 746320423555
View all Cisco WS-C2980G-A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 384 highlights
Configuring SNMPv3 from the CLI Chapter 24 Configuring SNMP 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. This example shows how to verify that the access for guestuser1 has been removed from a 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. 24-16 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 78-15486-01