swL2DiffServTypeCtrlDiffServType
DHS3226-MIB ·
.1.3.6.1.4.1.171.11.36.2.7.1.1.2
Object
column r/w
Enumeration
The DiffServ type of this port.
disabled(1) --- no DiffServ and TOS field modification ability.
dscp(2) --- indicate the associated port's DSCP control information in
swL2DiffServDSCPCtrlTable will take effect for the replacement of
DSCP(DiffServ codepoint) field.
tos(3) --- indicate the associated port's TOS control information in
swL2DiffServTOSCtrlTable will take effect for the relationship of
replacement between IP TOS precedence and 802.1p tag control
priority field.
Context
- MIB
- DHS3226-MIB
- OID
.1.3.6.1.4.1.171.11.36.2.7.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swL2DiffServTypeCtrlEntry
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::swL2DiffServTypeCtrlDiffServType'
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::swL2DiffServTypeCtrlDiffServType.<swL2DiffServTypeCtrlPortIndex>'
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::swL2DiffServTypeCtrlDiffServType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disabled |
2 | dscp |
3 | tos |