Digi 90000566_H Options Trapdestip=ipaddress, Publiccommunity=string, Privatecommunity=string

Models: 90000566_H

1 278
Download 278 pages 26.72 Kb
Page 198
Image 198

set snmp set snmp

Devices

This command is supported in all Connect Family and Digi Cellular Family

supported

products. Not supported in ConnectPort Display.

Purpose

Configures the Simple Network Management Protocol (SNMP) agent, or

 

displays current SNMP settings.

Required

For Digi Connect products with two or more users, permissions must be set

permissions

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={onoff}]

 

[authfailtrap={onoff}]

 

[coldstarttrap={onoff}]

 

[linkuptrap={onoff}]

 

[logintrap={onoff}]

 

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={onoff}

 

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.”

198

Chapter 2 Command Descriptions

Page 198
Image 198
Digi 90000566_H manual Options Trapdestip=ipaddress, Publiccommunity=string, Privatecommunity=string, Setsenabled=onoff