All MIBs › NETGEAR-PORTSECURITY-PRIVATE-MIB › agentPortSecurityViolationTrapMode
agentPortSecurityViolationTrapMode
Module: NETGEAR-PORTSECURITY-PRIVATE-MIB
OID (symbolic): NETGEAR-PORTSECURITY-PRIVATE-MIB::agentPortSecurityViolationTrapMode
OID (numeric): 1.3.6.1.4.1.4526.11.20.1.2.1.4
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This variable is used to enable or disable the sending of new violation traps designating when a packet with a disallowed MAC address is received on a locked port.
What is agentPortSecurityViolationTrapMode?
This read-write integer, with values enable(1) and disable(2), controls whether the switch sends an SNMP trap when a packet arrives from a disallowed MAC address on a locked port. Admins enable this so that unauthorized-device attempts trigger real-time alerts to a monitoring system rather than being silently discarded. For example, setting agentPortSecurityViolationTrapMode to enable(1) on a secured port causes a trap to fire the moment someone plugs in an unregistered laptop.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4526.11.20.1.2.1.4 snmpwalk -v2c -c public <target> NETGEAR-PORTSECURITY-PRIVATE-MIB::agentPortSecurityViolationTrapMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.4526.11.20.1.2.1.4.1 snmpget -v2c -c public <target> NETGEAR-PORTSECURITY-PRIVATE-MIB::agentPortSecurityViolationTrapMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.4526.11.20.1.2.1.4.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> agentPortSecurityViolationTrapMode.1
Start monitoring Netgear managed switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NETGEAR-PORTSECURITY-PRIVATE-MIB::agentPortSecurityViolationTrapMode OID value, configure state conditions and alerts, and monitor any Netgear managed switches from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.4526 | netgear | FSM726S-MIB |
| 1.3.6.1.4.1.4526.11 | ng700smartswitch | Netgear-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.4526.11.20 | agentPortSecurity | NETGEAR-PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.4526.11.20.1 | agentPortSecurityGroup | NETGEAR-PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.4526.11.20.1.2 | agentPortSecurityTable | NETGEAR-PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.4526.11.20.1.2.1 | agentPortSecurityEntry | NETGEAR-PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.4526.11.20.1.2.1.4 | agentPortSecurityViolationTrapMode | NETGEAR-PORTSECURITY-PRIVATE-MIB |