swDevCtrlHOLState
DES3225G-MIB ·
.1.3.6.1.4.1.171.11.24.1.2.6
Object
scalar mandatory
r/w
Enumeration
The object provides a way to prevent HOL (Head Of Line) blocking
between ports. HOL protection may prevent forwarding a packet to
a blocking port.The idea relies on the assumption that it is better
to discard packets destined to blocking ports, then to let them consume
more and more buffers in the input-port's Rx-counters because eventually
these input ports may become totally blocked. The meanings of the values
are:
other(1) - this entry is currently in use but the conditions under
which it will remain so are different from each of the following
values.
disabled(2) - HOL function disable for device.
enabled(3) - HOL function enable for device.
Context
- MIB
- DES3225G-MIB
- OID
.1.3.6.1.4.1.171.11.24.1.2.6- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- swDevCtrl
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 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3225G-MIB::swDevCtrlHOLState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES3225G-MIB::swDevCtrlHOLState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | disabled |
3 | enabled |