NETGEAR Smart Switches support Simple Network Management Protocol (SNMP). A trap is an SNMPv1 or SNMPv2 message that is sent to a host (such as a computer or server) when an event occurs on the switch. A trap flag is a condition or event that triggers the trap. An example of a trap flag is an event involving authentication, such as when a user attempts to access the switch UI but does not provide a valid user name and password. You can enable or disable individual trap flags.
Before a host can receive a trap, you must add a community and trap configuration that defines the host.
For information about enabling an SNMP trap on a Smart Switch using a Smart UI, see How do I enable a Simple Network Management Protocol (SNMP) trap on a Smart Switch with the Smart UI?
On a Smart Switch with a traditional UI, to add a community, configure a trap configuration for a server with IP address 10.100.5.17, and enable a trap flag for a Link Up/Down event:
- Connect your computer to the same network as the switch.
You can use a WiFi or wired connection to connect your computer to the network, or
connect directly to a switch that is off-network using an Ethernet cable. - Launch a web browser.
- In the address field of your web browser, enter the IP address of the switch.
If you do not know the IP address, see How do I discover a NETGEAR Smart Switch.
The Device UI login page displays. - Enter one of the following passwords:
- Enter your device admin password.
- If you previously managed the switch through the Insight app or Cloud portal,
enter the Insight network password for the last Insight network location.
- Click the Go button.
The System Information page displays. - Select System > SNMP > SNMP V1/V2 > Community Configuration.
- Set up an SNMP community by completing the following settings:
- Management Station IP: Type 10.100.5.0.
- Management Station IP Mask: Type 255.255.255.0.
- Community String: Type SNMP-community as the name string.
- Access Mode: Select ReadWrite from the menu.
- Status: Select Enabled from the menu.
- Click the Add button.
Your settings are saved. - Select System > SNMP > SNMP V1/V2 > Trap Configuration.
- Set up a trap configuration by completing the following settings:
- Recipients IP: Type 10.100.5.17.
- Version: Select SNMPv2 from the menu.
- Community String: Type SNMP-community.
- Status: Select Enabled from the menu.
- Click the Add button.
Your settings are saved. - Select System > SNMP > SNMP V1/V2 > Trap Flags.
- Set the trap flag by selecting the Link Up/Down Enable radio button.
This radio button is selected by default. - Click the Apply button.
Your settings are saved.