hpSwitchCosTosDSCPPolicy
CONFIG-MIB ·
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.17.5.2.1.3
Object
column mandatory
r/w
Integer32
The DSCP Policy to assign to packets received for the specified ToS codepoint. This is an index into the hpSwitchCosDSCPPolicy table, or the value 255 indicating no DSCP Policy exists. The DSCP policy is associated with an 802.1p priority value, which will be inserted in the 802.1Q tag and will cause the packet to be placed in the appropriate outbound port queue. The DSCP policy value (a Differentiated Services codepoint) will also replace the incoming value of the Differentiated Services field of the IP Type-of-Service byte.
Context
- MIB
- CONFIG-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.17.5.2.1.3- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- hpSwitchCosTosConfigEntry
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 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::hpSwitchCosTosDSCPPolicy'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::hpSwitchCosTosDSCPPolicy.<hpSwitchCosTosIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CONFIG-MIB::hpSwitchCosTosDSCPPolicy'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-255