Note: You have to use linux machine to change write community string with snmpset command as we found couple customers couldn't able to change it from SNMP management system. exp SNMPC.
Due to software limitation you can only change write community string. Please check example below on how to change write community string.
Example:
# snmpget -v2c -c public 10.14.1.60 .1.3.6.1.4.1.5454.1.40.1.6.0
SNMPv2-SMI::enterprises.5454.1.40.1.6.0 = STRING: "public"
# snmpget -v2c -c private 10.14.1.60 .1.3.6.1.4.1.5454.1.40.1.7.0
SNMPv2-SMI::enterprises.5454.1.40.1.7.0 = STRING: "private"Changing write community string from private to trango.
Syntax:
snmpset -v2c -c private <ip address> .1.3.6.1.4.1.5454.1.40.1.7.0 s "newstring"Example:
# snmpset -v2c -c private 10.14.1.60 .1.3.6.1.4.1.5454.1.40.1.7.0 s "trango"
SNMPv2-SMI::enterprises.5454.1.40.1.7.0 = STRING: "trango"
#
Comments
0 comments
Please sign in to leave a comment.