All MIBs › ZYXEL-PORT-SECURITY-MIB › zyPortSecurityState
zyPortSecurityState
Module: ZYXEL-PORT-SECURITY-MIB
OID (symbolic): ZYXEL-PORT-SECURITY-MIB::zyPortSecurityState
OID (numeric): 1.3.6.1.4.1.890.1.15.3.66.1.1
Node type: OBJECT-TYPE
Type: EnabledStatus
Access: read-write
Description: Enable/Disable port security on the switch.
What is zyPortSecurityState?
This value is the global on/off switch for the port security feature across the entire switch. An admin enables it as the master control before per-port learning limits and lockdown behavior configured elsewhere in this MIB take effect. For example, setting this object to disable(2) turns off port security enforcement switch-wide even if individual ports still have MAC limits configured.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.890.1.15.3.66.1.1 snmpwalk -v2c -c public <target> ZYXEL-PORT-SECURITY-MIB::zyPortSecurityState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.890.1.15.3.66.1.1.1 snmpget -v2c -c public <target> ZYXEL-PORT-SECURITY-MIB::zyPortSecurityState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.890.1.15.3.66.1.1.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> zyPortSecurityState.1
Start monitoring ZyXEL managed access switch (per-port secure-MAC-count/violation-action status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the ZYXEL-PORT-SECURITY-MIB::zyPortSecurityState OID value, configure state conditions and alerts, and monitor any ZyXEL managed access switch (per-port secure-MAC-count/violation-action status) from a single console.
OID Breakdown
Upper-level ancestors (10 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.890 | zyxel | IES5206-MIB |
| 1.3.6.1.4.1.890.1 | products | IES5206-MIB |
| 1.3.6.1.4.1.890.1.15 | nwa1100nh | NWA1100-NH |
| 1.3.6.1.4.1.890.1.15.3 | esMgmt | NWA1100-NH |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.890.1.15.3.66 | zyxelPortSecurity | ZYXEL-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.890.1.15.3.66.1 | zyxelPortSecuritySetup | ZYXEL-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.890.1.15.3.66.1.1 | zyPortSecurityState | ZYXEL-PORT-SECURITY-MIB |