14 snmptrap, 15 snmptrap snmpversion, 16 snmptrap ipaddr – Kontron AT8402 CLI User Manual

Page 210: 17 snmptrap mode, Management commands at8402

Advertising
background image

Management Commands

AT8402

AT8402 CLI Reference Manual

Page 5 - 20

5.6.14

snmptrap

This command adds an SNMP trap receiver. The maximum length of <name> is 16

case-sensitive alphanumeric characters. The <snmpversion> is the version of SNMP.

The version parameter options are snmpv1 or snmpv2.

NOTE: The <name> parameter does not need to be unique, however; the

<name> and <ipaddr> pair must be unique. Multiple entries can exist
with the same <name>, as long as they are associated with a different
<ipaddr>. The reverse scenario is also acceptable. The <name> is the
community name used when sending the trap to the receiver, but the
<name> is not directly associated with the SNMP Community Table,
See “snmp-server community” on page39.”

Default

snmpv2

Format

snmptrap

<name> <ipaddr> [snmpversion <snmpversion>]

Mode

Global Config

5.6.14.1

no snmptrap

This command deletes trap receivers for a community.
Format

no snmptrap

<name> <ipaddr>

Mode

Global Config

5.6.15

snmptrap snmpversion

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

is 16 case-sensitive alphanumeric characters. The <snmpversion> parameter options

are snmpv1 or snmpv2.

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

Default

snmpv2

Format

snmptrap snmpversion

<name> <ipaddr> <snmpversion>

Mode

Global Config

5.6.16

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

<name> <ipaddrold> <ipaddrnew>

Mode

Global Config

5.6.17

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

Advertising