clish -s -c 'add snmp community <community> read-only'

Below is a list of all SNMP configuration options

set snmp daemon <on|off>
set snmp snmp-version v<1/2/3>
add snmp trapreceiver <trace-reciever-ip> community public version v<1/2/3>
set snmp trapPduAgent <trap-ip>
add snmp address <polling-device-ip>
add snmp read-only community <community>
add snmp read-write community <community>
set snmp traps coldstart status  <on|off>
set snmp traps authorization status <on|off>
set snmp traps cluster-member-join status <on|off>
set snmp traps cluster-member-left status <on|off>
set snmp traps cluster-member-reject status <on|off>
set snmp traps cluster-new-master status <on|off>
set snmp traps cluster-protocol-interface status <on|off>
set snmp traps link-up-down status <on|off>
set snmp traps sys-config-change status <on|off>
set snmp traps sys-config-filechange status <on|off>
set snmp traps sys-config-savechange status <on|off>
set snmp traps sys-diskfailure status <on|off>
set snmp traps sys-diskmirr-create status <on|off>
set snmp traps sys-diskmirr-delete status <on|off>
set snmp traps sys-diskmirr-syncfail status <on|off>
set snmp traps sys-diskmirr-syncsuccess status <on|off>
set snmp traps sys-fan-failure status <on|off>
set snmp traps sys-lowdiskspace status <on|off>
set snmp traps sys-nodiskspace status <on|off>
set snmp traps sys-overtemperature status <on|off>
set snmp traps sys-powersupply-failure status <on|off>
set snmp traps sys-snmpshutdown status <on|off>
set snmp traps vrrp-authfail status <on|off>
set snmp traps vrrp-newmaster status <on|off>

Next Post Previous Post