gwGenTOS
RAD-MIB ·
.1.3.6.1.4.1.164.3.1.7.5.1.8
Object
column r/w
OctetString
Type of Service.
The BIT Format is consistent with the IP standard:
+-----+-----+-----+-----+-----+-----+-----+-----+
| | | |
| PRECEDENCE | TYPE OF SERVICE | 0 |
| | | |
+-----+-----+-----+-----+-----+-----+-----+-----+
0 1 2 3 4 5 6 7
At present, only 1 BYTE will be used, bits 0 (MSB) - 7 (LSB).
The precedence consists of 3 BITS (0-2):
111 - Network Control
110 - Internetwork Control
101 - CRITIC/ECP
100 - Flash Override
011 - Flash
010 - Immediate
001 - Priority
000 - Routine
The TOS values BITS (3-5):
Bit 3 is the Delay: 0 = Normal Delay, 1 = Low Delay.
Bit 4 is the Throughput: 0 = Normal Throughput, 1 = High Throughput.
Bit 5:is the Reliability: 0 = Normal Reliability, 1 = High Reliability.
Bits 6 & 7 are for future use and their current value is 0.
Context
- MIB
- RAD-MIB
- OID
.1.3.6.1.4.1.164.3.1.7.5.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- gwGenEntry
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 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-MIB::gwGenTOS'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-MIB::gwGenTOS.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-MIB::gwGenTOS'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.