ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0
Management Commands 7-57
v1.0, November 2010
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.
The following shows an example of the CLI command.
(Netgear Switch)#show snmptrap
Community Name IpAddress IPv6 Address Snmp Version Mode
Mytrap 0.0.0.0 2001::1 SNMPv2 Enable show trapflags
Term Definition
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 characters. 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 compared 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.
Format show snmptrap
Mode Privileged EXEC
Term Definition
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 IPv4 address to receive SNMP traps from this device.
IPv6 Address The IPv6 address to receive SNMP traps from this device.
SNMP Version SNMPv2
Status The receiver's status (enabled or disabled).