swL2PortSecurityMode
DES3010g-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.63.1.2.2.15.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
- DES3010g-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.63.1.2.2.15.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 'DES3010g-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3010g-L2MGMT-MIB::swL2PortSecurityMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES3010g-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3010g-L2MGMT-MIB::swL2PortSecurityMode.<swL2PortSecurityPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES3010g-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES3010g-L2MGMT-MIB::swL2PortSecurityMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | permanent |
3 | deleteOnTimeout |
4 | deleteOnReset |