staticAutoLearning
DES-2108-MIB ·
.1.3.6.1.4.1.171.10.61.2.21.2
Object
The set of the device's member ports that belong to the Static MAC auto learning enable/disable. Each octet within the value of this object specifies a set of eight ports, with the first octet specifying ports 1 through 8, the second octet specifying ports 9 through 16, etc. Within each octet, the most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port is represented by a single bit within the value of this object. If that bit has a value of '1' then that port is in auto learning enable state; the port is not in auto learning state if its bit has a value of '0'.
Context
- MIB
- DES-2108-MIB
- OID
.1.3.6.1.4.1.171.10.61.2.21.2- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- companyStaticGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES-2108-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES-2108-MIB::staticAutoLearning.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES-2108-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES-2108-MIB::staticAutoLearning'