hwStackCurrentLinkNum
HUAWEI-STACK-MIB ·
.1.3.6.1.4.1.2011.5.25.183.1.32.14
Object
scalar SNMPv2-SMIInteger32
The current number of member port in Stack-Port, which protocol state is up.
Context
- MIB
- HUAWEI-STACK-MIB
- OID
.1.3.6.1.4.1.2011.5.25.183.1.32.14- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- hwStackTrapObject
- 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::hwStackCurrentLinkNum.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::hwStackCurrentLinkNum'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of