swL2DiffServTOSCtrlMode
DHS3226-MIB ·
.1.3.6.1.4.1.171.11.36.2.7.3.1.2
Object
column r/w
Enumeration
The TOS mode of this port.
tos-Force-Overwrite(1) --- The IP TOS precedence is changed to the specific value.
tos-TOS-Overwrite-802dot1p(2) --- If the incoming packet is IPv4 packet, change the 802.1p
tag control priority field to the value in IP TOS precedence
field.
tos-802dot1p-Overwrite-TOS(3) --- If the incoming packet is IPv4 packet, the IP TOS precedence
is changed to the value in the 802.1p tag control priority
field.
Context
- MIB
- DHS3226-MIB
- OID
.1.3.6.1.4.1.171.11.36.2.7.3.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swL2DiffServTOSCtrlEntry
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 'DHS3226-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DHS3226-MIB::swL2DiffServTOSCtrlMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DHS3226-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DHS3226-MIB::swL2DiffServTOSCtrlMode.<swL2DiffServTOSCtrlPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DHS3226-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DHS3226-MIB::swL2DiffServTOSCtrlMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | tos-Force-Overwrite |
2 | tos-TOS-Overwrite-802dot1p |
3 | tos-802dot1p-Overwrite-TOS |