tosOption
ZHONE-COM-IP-REC-MIB ·
.1.3.6.1.4.1.5504.4.1.9.2.1.34
Object
column r/w
Enumeration
Determines IP TOS Class-Of-Service bit setting on packets
sent out this interface. The setting is stored in the
tosCOS field.
disable - COS setting is untouched. For packets we
originate, COS value is set to 0.
originate - Load COS bits only if we originate packet.
COS for packets routed through this interface
are not affected.
all - Load COS bits on all packets.
Context
- MIB
- ZHONE-COM-IP-REC-MIB
- OID
.1.3.6.1.4.1.5504.4.1.9.2.1.34- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ipInterfaceEntry
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 'ZHONE-COM-IP-REC-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-REC-MIB::tosOption'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-COM-IP-REC-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-REC-MIB::tosOption.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-COM-IP-REC-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-COM-IP-REC-MIB::tosOption'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | tosOptionDisable |
2 | tosOptionOriginate |
3 | tosOptionAll |