swDscpMapCtrl8021pPriority
SRED-MIB ·
.1.3.6.1.4.1.171.12.51.3.4.1.3
Object
column obsolete
r/w
Integer32
This object indicates the 802.1p priority on each port. Default value is: DSCP Priority 0-7 0 8-15 1 16-23 2 24-31 3 32-39 4 40-47 5 48-55 6 56-63 7
Context
- MIB
- SRED-MIB
- OID
.1.3.6.1.4.1.171.12.51.3.4.1.3- Type
- column
- Access
- readwrite
- Status
- obsolete
- Parent
- swDscpMapCtrlEntry
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 'SRED-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SRED-MIB::swDscpMapCtrl8021pPriority'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SRED-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SRED-MIB::swDscpMapCtrl8021pPriority.<swDscpMapCtrlPortIndex>.<swDscpMapCtrlDscpIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SRED-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SRED-MIB::swDscpMapCtrl8021pPriority'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-7