Enterprise AV Home WiFi Mobile Wifi Support Shop Deals

NETGEAR fully managed 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 using the main user interface (UI) to configure SNMP on a fully managed switch, see How do I enable a Simple Network Management Protocol (SNMP) trap using the main user interface on a fully managed switch?

To configure an SNMP community with the name SNMP_community, enable a trap flag for a Link Up/Down event to be sent over the VLAN 1 interface, and configure a trap configuration for a server with IP address 10.100.5.17:

(Netgear switch) #config
(Netgear switch)  (Config)# snmp-server community SNMP_community rw ipaddress 10.100.5.0 ipmask 255.255.255.0
(Netgear switch)  (Config)# snmp-server enable traps linkmode
(Netgear switch)  (Config)# snmptrap source-interface vlan 1
(Netgear switch)  (Config)# snmp-server host 10.100.5.17 traps version 2 SNMP_community

Last Updated:07/25/2025 | Article ID: 21913

This article applies to:

Recently Viewed Articles

    Our team is here to help!

    Phone
    Chat
    Email