rcPortSecMacStickyEnable
SWITCH-PORTSECURITY-MIB ·
.1.3.6.1.4.1.8886.6.1.49.2.1.6
Object
Set to 'true' to enable and 'false' to disable Sticky port security feature on this interface. Enabling this feature allows the device to secure learned MAC addresses on this interface permanently. In order to remove the sticky addresses on this interface, user has to manually delete the sticky MAC address(es) or disable the sticky feature itself.
Context
- MIB
- SWITCH-PORTSECURITY-MIB
- OID
.1.3.6.1.4.1.8886.6.1.49.2.1.6- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- rcPortSecEntry
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 'SWITCH-PORTSECURITY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-PORTSECURITY-MIB::rcPortSecMacStickyEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-PORTSECURITY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-PORTSECURITY-MIB::rcPortSecMacStickyEnable.<rcPortSecIndx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-PORTSECURITY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-PORTSECURITY-MIB::rcPortSecMacStickyEnable'