User Tools

Site Tools


aix:snmp_config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
aix:snmp_config [2023/08/18 13:24]
manu [SNMPv1 / 2c public]
aix:snmp_config [2023/08/18 13:32] (current)
manu [SNMPv1 / 2c public]
Line 98: Line 98:
   COMMUNITY public ​   public ​    ​noAuthNoPriv 172.10.0.0 ​    ​255.255.0.0 ​        -   COMMUNITY public ​   public ​    ​noAuthNoPriv 172.10.0.0 ​    ​255.255.0.0 ​        -
  
 +
 +=== To change community public ===
 +
 +Change the lines with the new community string, here public is replaced by Str0ngC0mmunity:​
 +<​code>​
 +VACM_GROUP group1 SNMPv1 Str0ngC0mmunity -
 +COMMUNITY Str0ngC0mmunity Str0ngC0mmunity noAuthNoPriv 0.0.0.0 0.0.0.0 -
 +VACM_GROUP director_group SNMPv2c Str0ngC0mmunity -
 +</​code>​
 +
 +You then need to stop the daemons:
 +<​code>​
 +stopsrc -s aixmibd
 +stopsrc -s hostmibd
 +stopsrc -s snmpmibd
 +stopsrc -s snmpd
 +</​code>​
 +
 +To start the daemons, execute the following commands using the new community string:
 +<​code>​
 +startsrc -s aixmibd -a "-c Str0ngC0mmunity"​
 +startsrc -s hostmibd -a "-c Str0ngC0mmunity"​
 +startsrc -s snmpmibd -a "-c Str0ngC0mmunity"​
 +startsrc -s snmp
 +</​code>​
 ===== SNMPv3 public ===== ===== SNMPv3 public =====
  
aix/snmp_config.1692357894.txt.gz · Last modified: 2023/08/18 13:24 by manu