3.0 Firmware and Later
With the 3.0 software release for ApexPlus and GigaPlus it is now possible to change the SNMP community strings via the web interface.
Navigate to the SNMP page and modify the strings as needed. After changing the strings, one must save the config and reboot the radio, or from the CLI turn snmpd off and then on again. (Turning it off and on from the web interface will not cause the strings to change.)
(CLI-config)# snmpd off
Snmp: off
SUCCESS
(CLI-config)# snmpd on
Snmp: on
SUCCESS
Ensure the configuration is saved once the strings are changed.
Firmware Prior to 3.0
Prior to 3.0 or in products that don't support the change via the web interface, it is required to change the strings via a SNMP set command. This can be done from within your SNMP manager, within a similar tool or from the linux command line as follows. Change the IP address and snmp OID as needed for your device.
# snmpwalk -v2c -c public 192.168.100.100 1.3.6.1.4.1.5454.1.80.1.8
SNMPv2-SMI::enterprises.5454.1.80.1.8.1.0 = STRING: "public"
SNMPv2-SMI::enterprises.5454.1.80.1.8.2.0 = STRING: "private"
SNMPv2-SMI::enterprises.5454.1.80.1.8.3.0 = STRING: "trapstr"
# snmpset -v2c -c private 192.168.100.100 1.3.6.1.4.1.5454.1.80.1.8.1.0 s newpublic
SNMPv2-SMI::enterprises.5454.1.80.1.8.1.0 = STRING: "newpublic"
# snmpset -v2c -c private 192.168.100.100 1.3.6.1.4.1.5454.1.80.1.8.2.0 s newprivate
SNMPv2-SMI::enterprises.5454.1.80.1.8.2.0 = STRING: "newprivate"
# snmpwalk -v2c -c public 192.168.100.100 1.3.6.1.4.1.5454.1.80.1.8
SNMPv2-SMI::enterprises.5454.1.80.1.8.1.0 = STRING: "newpublic"
SNMPv2-SMI::enterprises.5454.1.80.1.8.2.0 = STRING: "newprivate"
SNMPv2-SMI::enterprises.5454.1.80.1.8.3.0 = STRING: "trapstr"
Even though the community strings report with the new strings, it is required to reboot or restart snmp for the change to become effective as you can see from the last line of the above example when it responds with the old public string.
Comments
0 comments
Please sign in to leave a comment.