All MIBs › EdgeSwitch-PORTSECURITY-PRIVATE-MIB › agentGlobalPortSecurityViolationTrapMode
agentGlobalPortSecurityViolationTrapMode
Module: EdgeSwitch-PORTSECURITY-PRIVATE-MIB
OID (symbolic): EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentGlobalPortSecurityViolationTrapMode
OID (numeric): 1.3.6.1.4.1.4413.1.1.20.1.5
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. The configuration will be done on all ports. This is write-only value. It always returns 'disable' on request
What is agentGlobalPortSecurityViolationTrapMode?
This read-write value enables or disables port security violation traps across all ports on the switch simultaneously, though this object always reads back as disable regardless of the last value written. An admin uses this to switch on violation alerting switch-wide in a single operation rather than configuring agentPortSecurityViolationTrapMode on each port individually. For example, writing enable(1) here would activate violation traps on every locked port at once, even though a GET on this object afterward would still return disable(2).
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.20.1.5 snmpwalk -v2c -c public <target> EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentGlobalPortSecurityViolationTrapMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.20.1.5.1 snmpget -v2c -c public <target> EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentGlobalPortSecurityViolationTrapMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.4413.1.1.20.1.5.1 i <value>
Start monitoring Ubiquiti EdgeSwitch managed switch (port security/MAC locking) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentGlobalPortSecurityViolationTrapMode OID value, configure state conditions and alerts, and monitor any Ubiquiti EdgeSwitch managed switch (port security/MAC locking) from a single console.
OID Breakdown
Upper-level ancestors (9 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.4413 | broadcom | BASP-Config-MIB |
| 1.3.6.1.4.1.4413.1 | enet | BASP-Config-MIB |
| 1.3.6.1.4.1.4413.1.1 | fastPath | EdgeSwitch-REF-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.4413.1.1.20 | fastPathPortSecurity | EdgeSwitch-PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.4413.1.1.20.1 | agentPortSecurityGroup | EdgeSwitch-PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.4413.1.1.20.1.5 | agentGlobalPortSecurityViolationTrapMode | EdgeSwitch-PORTSECURITY-PRIVATE-MIB |