You are here: Supporting Documents > everRun Command Line Interface Reference > AVCLI Command Descriptions > snmp-config

snmp-config

Usage

avcli snmp-config [--enable-requests] [--enable-traps] [--port number] [--community name] [recipients...]

Description

The snmp-config command configures SNMP for use in an everRun system.

Options

--enable-requests Enable SNMP requests. If you do not specify the option, requests are disabled.
--enable-traps Enable SNMP traps. If you do not specify the option, traps are disabled.
--community name The name of the SNMP community.
--port number The port to use for SNMP. The default is 162.
recipients The list of hosts to which to send traps; required only when traps are enabled.

Examples

The following example enables SNMP requests, and then traps and sends them to localhost and snmp.my-domain.com.
$ avcli snmp-config --enable-requests --enable-traps --community public localhost snmp.my-domain.com
The following example disables SNMP requests, enables traps, and sends them to localhost.
$ avcli snmp-config --enable-traps --community public localhost
of