swSredCtrlDropGreenState
SRED-MIB ·
.1.3.6.1.4.1.171.12.51.3.1.1.7
Object
column r/w
Enumeration
This object indicates the drop green state.
Setting this state to be disabled means probabilistic
drop red colored packets if the queue depth is above
the low threshold, and probabilistic drop yellow
colored packets if the queue depth is above the high
threshold.
Setting this state to be enabled means probabilistic drop
yellow and red colored packets if the queue depth is
above the low threshold, and probabilistic drop green
colored packets if the queue depth is above the high
threshold.
Context
- MIB
- SRED-MIB
- OID
.1.3.6.1.4.1.171.12.51.3.1.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swSredCtrlEntry
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 'SRED-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SRED-MIB::swSredCtrlDropGreenState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SRED-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SRED-MIB::swSredCtrlDropGreenState.<swSredCtrlPortIndex>.<swSredCtrlClassIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SRED-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SRED-MIB::swSredCtrlDropGreenState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |