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

Page 263

Advertising
background image

AT8901/2/3

Management Commands

Page 6 - 21

AT8901/2/3 CLI Reference Manual

6.6.14.1

no snmp-server enable traps stpmode

This command disables the sending of new root traps and topology change notification
traps.

Format

no snmp-server enable traps stpmode

Mode

Global Config

6.6.15

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 6.6.3 “snmp-server community” on page 6 - 17.

Default

snmpv2

Format

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

Mode

Global Config

6.6.15.1

no snmptrap

This command deletes trap receivers for a community.

Format

no snmptrap <name> <ipaddr>

Mode

Global Config

6.6.16

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

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.

Advertising