zyPortSecurityPortMacLimit
ZYXEL-PORT-SECURITY-MIB ·
.1.3.6.1.4.1.890.1.15.3.66.1.2.1.3
Object
Set this field to limit the number of (dynamic) MAC addresses that may be learned on a port. For example, if you set this field to 5 on port 2, then only the devices with these five learned MAC addresses may access port 2 at any one time. A sixth device must wait until one of the five learned MAC addresses ages out.
Context
- MIB
- ZYXEL-PORT-SECURITY-MIB
- OID
.1.3.6.1.4.1.890.1.15.3.66.1.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zyxelPortSecurityPortEntry
Net-SNMP examples
How SNMP and these commands workWalk 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::zyPortSecurityPortMacLimit'
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::zyPortSecurityPortMacLimit.<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::zyPortSecurityPortMacLimit'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647