portSecurityPortState

ZYXEL-GS4012F-MIB · .1.3.6.1.4.1.890.1.5.8.20.4.2.1.1

Object

Port Security enabled/disabled on the port. 
Active(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 portSecurityPortCount object.

Context

MIB
ZYXEL-GS4012F-MIB
OID
.1.3.6.1.4.1.890.1.5.8.20.4.2.1.1
Type
column
Access
readwrite
Status
current
Parent
portSecurityPortEntry

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-GS4012F-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-GS4012F-MIB::portSecurityPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZYXEL-GS4012F-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-GS4012F-MIB::portSecurityPortState.<dot1dBasePort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZYXEL-GS4012F-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZYXEL-GS4012F-MIB::portSecurityPortState'

Syntax

Values & Constraints

Type Values
1enabled
2disabled