swL2PortSecurityMode
DES3526-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.64.1.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
has expired. In this mode, when the locked address has aged
out, the number of addresses that can be learned has to
increase by one.
In deleteOnReset(4) mode - never age out the locked addresses unless restarting
the system to prevent from port movement or intrusion.
Context
- MIB
- DES3526-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.64.1.2.14.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swL2PortSecurityControlEntry
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 'DES3526-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3526-L2MGMT-MIB::swL2PortSecurityMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES3526-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3526-L2MGMT-MIB::swL2PortSecurityMode.<swL2PortSecurityPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES3526-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES3526-L2MGMT-MIB::swL2PortSecurityMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | permanent |
3 | deleteOnTimeout |
4 | deleteOnReset |