hwXQoSIfSamplingType
HUAWEI-XQoS-MIB ·
.1.3.6.1.4.1.2011.5.25.32.4.1.2.4.1.4
Object
Indicates the sampling type. Fix-packets(1) Fix-time(2) Random-packets(3) Random-time(4)
Context
- MIB
- HUAWEI-XQoS-MIB
- OID
.1.3.6.1.4.1.2011.5.25.32.4.1.2.4.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwXQoSIfSamplingCfgInfoEntry
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 'HUAWEI-XQoS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XQoS-MIB::hwXQoSIfSamplingType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XQoS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XQoS-MIB::hwXQoSIfSamplingType.<hwXQoSIfSamplingIfIndex>.<hwXQoSIfSamplingVlanID>.<hwXQoSIfSamplingDirection>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XQoS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XQoS-MIB::hwXQoSIfSamplingType'
Syntax
- Source
- SampleType
- Base type
Enumeration
Values & Constraints
Type Values
1 | fix-packets |
2 | fix-time |
3 | random-packets |
4 | random-time |