zyPortSecurityPortState

ZYXEL-PORT-SECURITY-MIB · .1.3.6.1.4.1.890.1.15.3.66.1.2.1.1

Object

Enable/Disable Port Security on the specified port. Enable(1) means this port only accept frames 
from static MAC addresses that are configured for the port,and dynamic MAC address frames up to the 
number specified by zyxelPortSecurityPortMacLimit object.

Context

MIB
ZYXEL-PORT-SECURITY-MIB
OID
.1.3.6.1.4.1.890.1.15.3.66.1.2.1.1
Type
column
Access
readwrite
Status
current
Parent
zyxelPortSecurityPortEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'ZYXEL-PORT-SECURITY-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-PORT-SECURITY-MIB::zyPortSecurityPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZYXEL-PORT-SECURITY-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-PORT-SECURITY-MIB::zyPortSecurityPortState.<dot1dBasePort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZYXEL-PORT-SECURITY-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZYXEL-PORT-SECURITY-MIB::zyPortSecurityPortState'

Syntax

Values & Constraints

Type Values
1enabled
2disabled