Cisco WS-C2980G-A Software Guide - Page 383
Step 10, These examples show how to con guestuser1 and guestuser2 as users
UPC - 746320423555
View all Cisco WS-C2980G-A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 383 highlights
Chapter 24 Configuring SNMP Configuring SNMPv3 from the CLI Step 10 Step 11 Task Configure the community table for mappings between different community strings and security models with full permissions. Verify the SNMP configuration. Command set snmp community index {index_name} name [community_string] security {security_name} context {context_name} transporttag {tag_value} [volatile | nonvolatile] show snmp This example shows how to set a MIB view name to interfacesMibView: Console> (enable) set snmp view interfacesMibView 1.3.6.1.2.1.2 included Snmp view name was set to interfacesMibView with subtree 1.3.6.1.2.1.2 included, nonvolatile. This example shows how to set the access rights for a group called guestgroup to SNMPv3 authentication read mode: Console> (enable) set snmp access guestgroup security-model v3 authentication read interfacesMibView Snmp access group was set to guestgroup version v3 level authentication, readview interfacesMibView, context match:exact, nonvolatile. This example shows how to specify the target addresses: Console> (enable) set snmp notify notifytable1 tag routers trap Snmp notify name was set to notifytable1 with tag routers notifyType trap, and storageType nonvolatile. These examples show how to set the snmpTargetAddrEntry in the target address table: Console> (enable) set snmp targetaddr router_1 param p1 172.20.21.1 Snmp targetaddr name was set to router_1 with param p1 ipAddr 172.20.21.1, udpport 162, timeout 1500, retries 3, storageType nonvolatile. Console> (enable) set snmp targetaddr router_2 param p2 172.20.30.1 Snmp targetaddr name was set to router_2 with param p2 ipAddr 172.20.30.1, udpport 162, timeout 1500, retries 3, storageType nonvolatile. These examples show how to set SNMP target parameters: Console> (enable) set snmp targetparams p1 user guestuser1 security-model v3 message-processing v3 authentication Snmp target params was set to p1 v3 authentication, message-processing v3, user guestuser1 nonvolatile. Console> (enable) set snmp targetparams p2 user guestuser2 security-model v3 message-processing v3 privacy Snmp target params was set to p2 v3 privacy, message-processing v3, user guestuser2 nonvolatile. These examples show how to configure guestuser1 and guestuser2 as users: Console> (enable) set snmp user guestuser1 authentication md5 guestuser1password privacy privacypasswd1 Snmp user was set to guestuser1 authProt md5 authPasswd guestuser1password privProt des privPasswd privacypasswd1 with engineid 00:00:00:09:00:10:7b:f2:82:00:00:00 nonvolatile. 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. 78-15486-01 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 24-15