portSecuritySticky
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.32.1.1.3
Object
column r/w
Enumeration
enable or disable port security sticky on this port.If enable it,the port converts all the dynamic secure MAC addresses, including those that were dynamically learned before sticky learning was enabled,to sticky secure MAC addresses and adds all sticky secure MAC addresses to the running configuration
Context
- MIB
- ZELAX-MIB
- OID
.1.3.6.1.4.1.7840.2.1.100.32.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- newPortSecurityEntry
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 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::portSecuritySticky'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::portSecuritySticky.<portSecurityPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::portSecuritySticky'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | disable |
1 | enable |