swDevCtrlDisableLearningState
DES2218-MIB ·
.1.3.6.1.4.1.171.11.7.1.1.2.1
Object
scalar mandatory
r/w
Enumeration
This Object indicate the switch hub wether or not learn any new addresses from the Ethernet ports.
Context
- MIB
- DES2218-MIB
- OID
.1.3.6.1.4.1.171.11.7.1.1.2.1- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- swDeviceCtl
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 'DES2218-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES2218-MIB::swDevCtrlDisableLearningState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES2218-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES2218-MIB::swDevCtrlDisableLearningState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | disabled |
3 | enabled |
Object Constraints
range: 0-255