All MIBs › EdgeSwitch-PORTSECURITY-PRIVATE-MIB › agentPortSecurityMode
agentPortSecurityMode
Module: EdgeSwitch-PORTSECURITY-PRIVATE-MIB
OID (symbolic): EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentPortSecurityMode
OID (numeric): 1.3.6.1.4.1.4413.1.1.20.1.2.1.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Mode showing whether at port level security is enabled or not.
What is agentPortSecurityMode?
This read-write value turns port security on or off for this specific switch port, indexed by ifIndex, defaulting to disabled. An admin enables this on a port to start enforcing the static and dynamic MAC address limits configured for that port, locking it down against unauthorized devices. For example, enabling this on a wall-jack port used only by one workstation prevents an attacker from plugging in a rogue device on that same port.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.20.1.2.1.1 snmpwalk -v2c -c public <target> EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentPortSecurityMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.20.1.2.1.1.1 snmpget -v2c -c public <target> EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentPortSecurityMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.4413.1.1.20.1.2.1.1.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::agentPortSecurityMode 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.2 | agentPortSecurityTable | EdgeSwitch-PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.4413.1.1.20.1.2.1 | agentPortSecurityEntry | EdgeSwitch-PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.4413.1.1.20.1.2.1.1 | agentPortSecurityMode | EdgeSwitch-PORTSECURITY-PRIVATE-MIB |