mplsPathCOS
MPLS-MIB ·
.1.3.6.1.4.1.2636.3.2.3.1.22
Object
column deprecated
Integer32
The configured Class Of Service on this path. If the value is between 0 and 7 inclusive, this value will be inserted in the 3 bit COS field in the label. If the value is 255, the value in the COS field of the label will depend on other factors. This field is meaningless unless mplsPathName is not empty
Context
- MIB
- MPLS-MIB
- OID
.1.3.6.1.4.1.2636.3.2.3.1.22- Type
- column
- Access
- readonly
- Status
- deprecated
- Parent
- mplsLspEntry
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 'MPLS-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-MIB::mplsPathCOS'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPLS-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-MIB::mplsPathCOS.<mplsLspName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPLS-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPLS-MIB::mplsPathCOS'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-7
range: 255-255