21 show snmptrap, 22 show trapflags, 21 show snmptrap - 22 5.6.22 show trapflags - 22 – Kontron AT8402 CLI User Manual

Page 212: Management commands at8402

Advertising
background image

Management Commands

AT8402

AT8402 CLI Reference Manual

Page 5 - 22

The SNMP agent of the switch complies with SNMP Versions 1, 2 or 3. For more

information about the SNMP specification, see the SNMP RFCs. The SNMP agent

sends traps through TCP/IP to an external SNMP manager based on the SNMP

configuration (the trap receiver and other SNMP community parameters).
Format

show snmpcommunity

Mode

Privileged EXEC

SNMP Community Name The community string to which this entry grants access. A

valid entry is a case-sensitive alphanumeric string of up to 16 charac-
ters. Each row of this table must contain a unique community name.

Client IP Address An IP address (or portion thereof) from which this device will

accept SNMP packets with the associated community. The requesting
entity's IP address is ANDed with the Subnet Mask before being com-
pared to the IP address. Note: If the Subnet Mask is set to 0.0.0.0, an
IP address of 0.0.0.0 matches all IP addresses. The default value is
0.0.0.0

Client IP Mask A mask to be ANDed with the requesting entity's IP address before

comparison with IP address. If the result matches with IP address then
the address is an authenticated IP address. For example, if the IP
address = 9.47.128.0 and the corresponding Subnet Mask =
255.255.255.0 a range of incoming IP addresses would match, i.e. the
incoming IP address could equal 9.47.128.0 - 9.47.128.255. The
default value is 0.0.0.0

Access Mode The access level for this community string.
Status

The status of this community access entry.

5.6.21

show snmptrap

This command displays SNMP trap receivers. Trap messages are sent across a network

to an SNMP Network Manager. These messages alert the manager to events occurring

within the switch or on the network. Six trap receivers are simultaneously supported.
Format

show snmptrap

Mode

Privileged EXEC

SNMP Trap Name The community string of the SNMP trap packet sent to the trap

manager. The string is case sensitive and can be up to 16 alphanumeric
characters.

IP Address

The IP address to receive SNMP traps from this device.

Status

The receiver's status (enabled or disabled).

5.6.22

show trapflags

This command displays trap conditions. Configure which traps the switch should

generate by enabling or disabling the trap condition. If a trap condition is enabled and

the condition is detected, the SNMP agent on the switch sends the trap to all enabled

trap receivers. You do not have to reset the switch to implement the changes. Cold and

warm start traps are always generated and cannot be disabled.
Format

show trapflags

Advertising