22 show snmpcommunity, 23 show snmptrap – Kontron AT8902 Full Size CLI User Manual
Page 263
AT8901/2/3
Management Commands
Page 6 - 23
AT8901/2/3 CLI Reference Manual
Format
show snmpbind
Mode
Priviliged EXEC
6.6.22
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 char-
acters. 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.
6.6.23
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
Indicates the receiver's status (enabled or disabled).