Setting the trap timer, Setting the get/set community strings, Setcomm – Sentry Industries PT22 User Manual

Page 49: Getcomm, Setting the trap community string, Displaying snmp configuration information

Advertising
background image

Setting the trap timer

The Set Traptime command sets the timer period between repeated error-condition traps. The valid
range for the timer period is 1 to 65535 (in seconds).
The default value for the timer period is 60 seconds.

To set the trap timer:

At the Sentry: prompt, type set traptime, followed by the timer period and press Enter.

Example

The following sets the timer period to 180 seconds:

Sentry: set traptime 180<Enter>

Setting the Get/Set community strings

Sentry supports two SNMP community strings that provide varying levels of access to objects defined
in the Sentry3 MIB.

Community strings may be 1 to 24 characters.

Setcomm

The Setcomm string provides read-write access to sentry3 MIB objects.
The default Setcomm string is “private”

To set the Setcomm community string:

At the Sentry: prompt, type set snmp setcomm, followed by the string and press Enter.

Getcomm

The Getcomm string provides read-only access to sentry3 MIB objects.
The default Getcomm string is “public”.

To set the Getcomm community string:

At the Sentry: prompt, type set snmp getcomm, followed by the string and press Enter.

Setting the Trap community string

The Set SNMP Trapcomm command is used to set the community string that is included with all
generated traps. This string must be defined to enable trap generation.

The trap community string may be 1 to 24 characters.
The default Trapcomm string is “trap”.

To set the Trapcomm community string:

At the Sentry: prompt, type set snmp trapcomm, followed by the string and press Enter.

Displaying SNMP configuration information

The Show SNMP command displays all SNMP configuration information.

• SNMP support status

• SNMP community strings

• Trap timer value
• Trap destinations

To display SNMP configuration information:

At the Sentry: prompt, type show snmp and press Enter.

Example

The following command displays the SNMP configuration information:

Sentry: show snmp<Enter>
SNMP Configuration

Sentry PT22

Advanced Operations

49

SNMP: Enabled
SET Community String: private
GET Community String: public
TRAP Community String: trap
Error Trap Repeat Time (seconds): 180
Trap Destination 1: 64.42.31.208
Trap Destination 2: (undefined)

Installation and Operations Manual

Advertising