swL2DiffServTypeCtrlDiffServType
DGS3000-26TC-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.133.2.1.2.4.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) --- indicates if the associated port's DSCP control information is in the swL2DiffServDSCPCtrlTable will take effect upon replacement of the DSCP(DiffServ codepoint) field. ToS (3) --- indicates if the associated port's ToS control information in the swL2DiffServTOSCtrlTable will take effect for the replacement of the IP ToS precedence and the 802.1p tag control priority field.
Context
- MIB
- DGS3000-26TC-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.133.2.1.2.4.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 'DGS3000-26TC-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS3000-26TC-L2MGMT-MIB::swL2DiffServTypeCtrlDiffServType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DGS3000-26TC-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS3000-26TC-L2MGMT-MIB::swL2DiffServTypeCtrlDiffServType.<swL2DiffServTypeCtrlPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS3000-26TC-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS3000-26TC-L2MGMT-MIB::swL2DiffServTypeCtrlDiffServType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disabled |
2 | dscp |
3 | tos |