All MIBs › PORTSECURITY-PRIVATE-MIB › agentGlobalPortSecurityMode
agentGlobalPortSecurityMode
Module: PORTSECURITY-PRIVATE-MIB
OID (symbolic): PORTSECURITY-PRIVATE-MIB::agentGlobalPortSecurityMode
OID (numeric): 1.3.6.1.4.1.7244.2.20.1.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Mode showing whether at the global level, port security is enabled or not.
What is agentGlobalPortSecurityMode?
This read-write object enables or disables the port security feature at the device-wide level, defaulting to disabled. Admins must enable this global switch before any per-port security settings in agentPortSecurityTable take effect, since it acts as a master on/off control for the entire feature. Setting agentGlobalPortSecurityMode to enable(1) activates port security functionality across the device, after which individual ports can be locked down via their own agentPortSecurityMode settings.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.7244.2.20.1.1 snmpwalk -v2c -c public <target> PORTSECURITY-PRIVATE-MIB::agentGlobalPortSecurityMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.7244.2.20.1.1.1 snmpget -v2c -c public <target> PORTSECURITY-PRIVATE-MIB::agentGlobalPortSecurityMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.7244.2.20.1.1.1 i <value>
Start monitoring Quanta Computer (QCI) managed Ethernet switch (MAC address port locking) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the PORTSECURITY-PRIVATE-MIB::agentGlobalPortSecurityMode OID value, configure state conditions and alerts, and monitor any Quanta Computer (QCI) managed Ethernet switch (MAC address port locking) 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.7244 | quanta | QUANTA-SWITCH-MIB |
| 1.3.6.1.4.1.7244.2 | switch | QUANTA-SWITCH-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.7244.2.20 | portSecurity | PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.7244.2.20.1 | agentPortSecurityGroup | PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.7244.2.20.1.1 | agentGlobalPortSecurityMode | PORTSECURITY-PRIVATE-MIB |