qosSwitchTrafficClassPolicyNumber
AT-QOS-MIB ·
.1.3.6.1.4.1.207.8.4.4.4.99.1.3.1.2
Object
column Integer32
Policy index of the policy to which this traffic class belongs. Policy index numbers for CLI commands start at 0, while SNMP indexes must start at 1. This means that the policy index in this MIB variable is 1 more than the index for the same policy as entered for CLI commands. A value of 0 for this variable means that the traffic class has not been added to a policy yet.
Context
- MIB
- AT-QOS-MIB
- OID
.1.3.6.1.4.1.207.8.4.4.4.99.1.3.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- qosSwitchTrafficClassEntry
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 'AT-QOS-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AT-QOS-MIB::qosSwitchTrafficClassPolicyNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'AT-QOS-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AT-QOS-MIB::qosSwitchTrafficClassPolicyNumber.<qosSwitchTrafficClassIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'AT-QOS-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AT-QOS-MIB::qosSwitchTrafficClassPolicyNumber'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-256