cportQosClassId
CISCO-PORT-QOS-MIB ·
.1.3.6.1.4.1.9.9.189.1.3.6.1.1
Object
column deprecated
Unsigned32
This object identifies the class-ID of the class in
an egress policy for which QoS statistics are being
collected.
Each queue on a port is uniquely mapped to a class
in an egress policy. Each class in a policy is
uniquely identified by a class-ID. A value of 0
indicates the default queue/class-default.
This object is deprecated and no direct mapping
is available. All classes must be referred to by
name, cbQosCMName, in CISCO-CLASS-BASED-QOS-MIB.
Context
- MIB
- CISCO-PORT-QOS-MIB
- OID
.1.3.6.1.4.1.9.9.189.1.3.6.1.1- Type
- column
- Access
- noaccess
- Status
- deprecated
- Parent
- cportQosClassEgressStatsEntry
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 'CISCO-PORT-QOS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PORT-QOS-MIB::cportQosClassId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-PORT-QOS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PORT-QOS-MIB::cportQosClassId.<ifIndex>.<cportQosClassId>.<cportQosClassThreshold>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-PORT-QOS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-PORT-QOS-MIB::cportQosClassId'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-2147483647