hh3cStackBelongtoPort
HH3C-STACK-MIB ·
.1.3.6.1.4.1.25506.2.91.5.1.1
Object
The index of the stack port to which the physical interface is added. 0 means the physical interface is not added to any stack port. The value will take effect when IRF is enabled on the device.
Context
- MIB
- HH3C-STACK-MIB
- OID
.1.3.6.1.4.1.25506.2.91.5.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hh3cStackPhyPortInfoEntry
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 'HH3C-STACK-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-STACK-MIB::hh3cStackBelongtoPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-STACK-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-STACK-MIB::hh3cStackBelongtoPort.<entPhysicalIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-STACK-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-STACK-MIB::hh3cStackBelongtoPort'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647