swPortCtrlHOLState
DES3225G-MIB ·
.1.3.6.1.4.1.171.11.24.3.2.1.11
Object
column 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 value enabled(3)
indicates that HOL function is enabled on this port, as long as
swDevCtrlHOLState is also enabled for this device. When disabled(2) but
swDevCtrlHOLState is still enabled for the device, HOL function is disabled
on this port. 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.
enabled(3) - HOL function enable.
Context
- MIB
- DES3225G-MIB
- OID
.1.3.6.1.4.1.171.11.24.3.2.1.11- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- swPortCtrlEntry
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 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3225G-MIB::swPortCtrlHOLState'
More examples
Read one indexed 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::swPortCtrlHOLState.<swPortCtrlModuleIndex>.<swPortCtrlPortIndex>'
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::swPortCtrlHOLState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | disabled |
3 | enabled |