hwStackIsStackDevice
HUAWEI-STACK-MIB ·
.1.3.6.1.4.1.2011.5.25.183.1.5
Object
scalar SNMPv2-TCTruthValue
The value true(1) indicates that the device's stack function is enable and it is in a stack system. When false(2), the stack function is not enable or it is not in a stack system.
Context
- MIB
- HUAWEI-STACK-MIB
- OID
.1.3.6.1.4.1.2011.5.25.183.1.5- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hwStackObject
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-STACK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-STACK-MIB::hwStackIsStackDevice.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-STACK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-STACK-MIB::hwStackIsStackDevice'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |
Conformance
Member of