Netgear M5300-28G-POE+ (GSM7228PSv1h2) - 12-Port Managed Gigabit Switch Software Guide
Management Commands
144
M5300, M6100, and M7100 Series ProSAFE Managed Switches
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.
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.
Command example:
(NETGEAR Switch)#show snmptrap
Community Name IpAddress IPv6 Address Snmp Version Mode
Mytrap 0.0.0.0 2001::1 SNMPv2 Enable show trapflags
show trapflags
This command displays the trap conditions. The command output shows all enabled trap
flags, including OSPFv2 and OSPFv3 trap flags.
flags, including OSPFv2 and OSPFv3 trap flags.
Term
Definition
SNMP
Community
Name
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.
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.
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.
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
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.
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).