cportQosClassIdLevel2
CISCO-PORT-QOS-MIB ·
.1.3.6.1.4.1.9.9.189.1.3.7.1.2
Object
column deprecated
Unsigned32
This object identifies the class-ID of a class at the
second level of a hierarchical policy, or at the first
(only) level in a non-hierarchical policy. For a two
level policy, this object identifies the class-ID at the
second level of the policy. For a non-hierarchical/
single level policy this object identifies the class-ID
of a class at the first (only) level of the policy. A
value of 0 indicates class default.
This object is deprecated for the same reason as
mentioned in cportQosClassEgressStatsTable.
There is no mapping for this object. All classes must be
referred by class name object cbQosCMName of
cbQosCMCfgEntry in CISCO-CLASS-BASED-QOS-MIB.
Context
- MIB
- CISCO-PORT-QOS-MIB
- OID
.1.3.6.1.4.1.9.9.189.1.3.7.1.2- Type
- column
- Access
- noaccess
- Status
- deprecated
- Parent
- cportQosClassIngressStatsEntry
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::cportQosClassIdLevel2'
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::cportQosClassIdLevel2.<ifIndex>.<cportQosClassIdLevel1>.<cportQosClassIdLevel2>'
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::cportQosClassIdLevel2'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-2147483647