beautypg.com

15 snmptrap, 16 snmptrap snmpversion, 17 snmptrap ipaddr – Kontron AT8902 Full Size CLI User Manual

Page 261: 18 snmptrap mode

background image

AT8901/2/3

Management Commands

Page 6 - 21

AT8901/2/3 CLI Reference Manual

6.6.15

snmptrap

This command adds an SNMP trap receiver. The maximum length of

is 16

case-sensitive alphanumeric characters. The

is the version of SNMP.

The version parameter options are snmpv1 or snmpv2.

NOTE: The

parameter does not need to be unique, however; the

and

pair must be unique. Multiple entries can exist

with the same

, as long as they are associated with a different

. The reverse scenario is also acceptable. The

is the

community name used when sending the trap to the receiver, but the

is not directly associated with the SNMP Community Table,

See 6.6.3 “snmp-server community” on page 6 - 16.

Default

snmpv2

Format

snmptrap [snmpversion ]

Mode

Global Config

6.6.15.1

no snmptrap

This command deletes trap receivers for a community.

Format

no snmptrap

Mode

Global Config

6.6.16

snmptrap snmpversion

This command modifies the SNMP version of a trap. The maximum length of

is 16 case-sensitive alphanumeric characters. The

parameter options

are snmpv1 or snmpv2.

NOTE: This command does not support a “no” form.

Default

snmpv2

Format

snmptrap snmpversion

Mode

Global Config

6.6.17

snmptrap ipaddr

This command assigns an IP address to a specified community name. The maximum
length of name is 16 case-sensitive alphanumeric characters.

NOTE: IP addresses in the SNMP trap receiver table must be unique. If you

make multiple entries using the same IP address, the first entry is
retained and processed. All duplicate entries are ignored.

Format

snmptrap ipaddr

Mode

Global Config

6.6.18

snmptrap mode

This command activates or deactivates an SNMP trap. Enabled trap receivers are active
(able to receive traps). Disabled trap receivers are inactive (not able to receive traps).