All MIBs › NETGEAR-PORTSECURITY-PRIVATE-MIB › agentPortSecurityMode
agentPortSecurityMode
Module: NETGEAR-PORTSECURITY-PRIVATE-MIB
OID (symbolic): NETGEAR-PORTSECURITY-PRIVATE-MIB::agentPortSecurityMode
OID (numeric): 1.3.6.1.4.1.4526.11.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 integer, indexed by ifIndex, enables or disables port security on one specific switch port, with enable(1) and disable(2) as the two states and disable as the default. Unlike the global mode, this per-port setting lets an admin lock down individual interfaces (such as user-facing access ports) without affecting uplinks or trunk ports. For example, an admin sets agentPortSecurityMode to enable(1) on port 5 to start restricting which MAC addresses can send traffic through that port.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4526.11.20.1.2.1.1 snmpwalk -v2c -c public <target> NETGEAR-PORTSECURITY-PRIVATE-MIB::agentPortSecurityMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.4526.11.20.1.2.1.1.1 snmpget -v2c -c public <target> NETGEAR-PORTSECURITY-PRIVATE-MIB::agentPortSecurityMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.4526.11.20.1.2.1.1.1 i <value>
Start monitoring Netgear managed switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NETGEAR-PORTSECURITY-PRIVATE-MIB::agentPortSecurityMode 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.1 | agentPortSecurityMode | NETGEAR-PORTSECURITY-PRIVATE-MIB |