bayStackStatsCoSQueueClear
BAY-STACK-STATS-MIB ·
.1.3.6.1.4.1.45.5.12.1.3.1.7
Object
column r/w
Enumeration
Used to clear all queue counters on an interface and queue.
Value 'clear(2)' should be used. The value 'none(1)' is only
for retrieve and it does nothing when set.
Context
- MIB
- BAY-STACK-STATS-MIB
- OID
.1.3.6.1.4.1.45.5.12.1.3.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bayStackStatsCoSQueueEntry
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 'BAY-STACK-STATS-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BAY-STACK-STATS-MIB::bayStackStatsCoSQueueClear'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BAY-STACK-STATS-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BAY-STACK-STATS-MIB::bayStackStatsCoSQueueClear.<bayStackStatsCoSQueueIfIndex>.<bayStackStatsCoSQueueQueue>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BAY-STACK-STATS-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BAY-STACK-STATS-MIB::bayStackStatsCoSQueueClear'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | none |
2 | clear |