qosSwitch8948TCCountersPolicyIndex
AT-QOS-MIB ·
.1.3.6.1.4.1.207.8.4.4.4.99.1.4.2.1.2
Object
column Integer32
The index of the policy for this entry in the traffic class counter table. Each port can only have one policy assigned at a time. 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.
Context
- MIB
- AT-QOS-MIB
- OID
.1.3.6.1.4.1.207.8.4.4.4.99.1.4.2.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- qosSwitch8948TrafficClassCountersEntry
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::qosSwitch8948TCCountersPolicyIndex'
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::qosSwitch8948TCCountersPolicyIndex.<qosSwitch8948TCCountersPortIndex>.<qosSwitch8948TCCountersPolicyIndex>.<qosSwitch8948TCCountersTrafficClassIndex>'
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::qosSwitch8948TCCountersPolicyIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-256