hpSwitchCosPortDSCPPolicy

CONFIG-MIB · .1.3.6.1.4.1.11.2.14.11.5.1.7.1.17.1.1.4

Object

column mandatory r/w Integer32
The DSCP Policy to assign to packets received on
the specified Port.  This is an index into the
hpSwitchCosDSCPPolicy table, or the value 255
 indicating no DSCP Policy exists.  This 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. When the packet is IP protocol type, the DSCP
policy value (a Differentiated Services codepoint)
will also be written into 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.1.1.4
Type
column
Access
readwrite
Status
mandatory
Parent
hpSwitchCosPortConfigEntry

Walk 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::hpSwitchCosPortDSCPPolicy'
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::hpSwitchCosPortDSCPPolicy.<hpSwitchCosPortIndex>'
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::hpSwitchCosPortDSCPPolicy'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-255