swL2PortSecurityMode

SWL2MGMT-MIB · d-link variant · .0.2.14.1.1.3

Object

column r/w Enumeration
Indicates the mode of locking address.
In deleteOnTimeout(3) mode - the locked addresses can be aged out after aging timer
                             expire. In this mode, when the locked address is aged
                             out, the number of address can be learned has to be
                             increased by one.
In deleteOnReset(4) mode - never age out the locked addresses unless restart
                             the system to prevent from port movement or intrusion.

Context

MIB
SWL2MGMT-MIB
OID
.0.2.14.1.1.3
Type
column
Access
readwrite
Status
current
Parent
swL2PortSecurityControlEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2permanent
3deleteOnTimeout
4deleteOnReset