beautypg.com

19 snmp trap link-status all, 20 show snmpcommunity, Management commands at8904m – Kontron AT8904 CLI User Manual

Page 276

background image

Management Commands

AT8904M

AT8904M CLI Reference Manual

Page 6 - 22

6.6.19

snmp trap link-status all

This command enables link status traps for all interfaces.

NOTE: This command is valid only when the Link Up/Down Flag is enabled.

See 6.6.11 “snmp-server enable traps linkmode” on page 6 - 19

Format

snmp trap link-status all

Mode

Global Config

6.6.19.1

no snmp trap link-status all

This command disables link status traps for all interfaces.

NOTE: This command is valid only when the Link Up/Down Flag is enabled.

See 6.6.11 “snmp-server enable traps linkmode” on page 6 - 19

Format

no snmp trap link-status all

Mode

Global Config

6.6.20

show snmpcommunity

This command displays SNMP community information. Six communities are

supported. You can add, change, or delete communities. The switch does not have to be

reset for changes to take effect.

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.