hwLicResUsedNum
HUAWEI-LICENSE-MIB ·
.1.3.6.1.4.1.2011.6.114.2.1.4
Object
column SNMPv2-SMIUnsigned32
For the resources controlled by license, the number of resources that can be used cannot exceed the number of authorized resources. This object is used to obtain the number of currently used resources.
Context
- MIB
- HUAWEI-LICENSE-MIB
- OID
.1.3.6.1.4.1.2011.6.114.2.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwLicResEntry
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-LICENSE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LICENSE-MIB::hwLicResUsedNum'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LICENSE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LICENSE-MIB::hwLicResUsedNum.<hwLicFeatureName>.<hwLicResName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LICENSE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LICENSE-MIB::hwLicResUsedNum'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295