User manual

set snmp
198 Chapter 2 Command Descriptions
set snmp
Devices
supported
This command is supported in all Connect Family and Digi Cellular Family
products. Not supported in ConnectPort Display.
Purpose Configures the Simple Network Management Protocol (SNMP) agent, or
displays current SNMP settings.
Required
permissions
For Digi Connect products with two or more users, permissions must be set
to “set permissions s-snmp=read” to display network service settings, and
“set permissions s-snmp=rw” to display and change network service
settings. See "set permissions" on page 157 for details on setting user
permissions for commands.
Syntax Set SNMP settings
set snmp [trapdestip=ipaddress]
[publiccommunity=string]
[privatecommunity=string]
[setsenabled={on|off}]
[authfailtrap={on|off}]
[coldstarttrap={on|off}]
[linkuptrap={on|off}]
[logintrap={on|off}]
Display SNMP settings
set snmp
Options trapdestip=ipaddress
Used to configure the IP address of the system to which the agent should
send traps. To enable any of the traps, a non-zero value for trapdestip
must be specified.
The ”trapdestip” option is required in order for alarms to be sent in the
form of SNMP traps. See "send" on page 67.
publiccommunity=string
The password required to “get” SNMP-managed objects. The default is
“public”.
privatecommunity=string
The password required to “set” SNMP-managed objects. The default is
“private”.
setsenabled={on|off}
Enables or disables “sets” of SNMP-managed objects.
on
Enables “sets” if the provided private community matches the current
private community.
off
Disables “sets” even if the provided private community matches the
current private community.
The default is “off.”