What is snmp community string?
The “SNMP Community string” is like a user id or password that allows access to a router's or other device's statistics. Community string is sent along with all SNMP requests. If the community string is correct, the device responds with the requested information. If the community string is incorrect, the device simply discards the request and does not respond. Note: SNMP Community strings are used only by devices which support SNMPv1 and SNMPv2c protocol. SNMPv3 uses username/password authentication, along with an encryption key. By convention, most SNMPv1-v2c equipment ships from the factory with read-only community string set to "public". It is standard practice for network managers to change all the community strings to customized values in the device setup.
# get device sys uptime snmpwalk -v 2c -c public x.x.x.x sysUptime # get device sys uptime by oid snmpwalk -v 2c -c public x.x.x.x 22.214.171.124.126.96.36.199 # set device cpu 5 minu peak util oid value to 5 snmpset -v 2c -c public x.x.x.x 188.8.131.52.184.108.40.206.220.127.116.11.1.8 i 5