hh3cStackPortEnable
HH3C-STACK-MIB ·
.1.3.6.1.4.1.25506.2.91.4.1.2
Object
column Enumeration
The status of a stack port of the device. If no physical
interfaces are added to the stack port, its status is disabled.
If the stack port has physical interfaces, its status is enabled.
disabled: The stack port is disabled.
enabled: The stack port is enabled.
Context
- MIB
- HH3C-STACK-MIB
- OID
.1.3.6.1.4.1.25506.2.91.4.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hh3cStackPortInfoEntry
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::hh3cStackPortEnable'
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::hh3cStackPortEnable.<hh3cStackMemberID>.<hh3cStackPortIndex>'
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::hh3cStackPortEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disabled |
2 | enabled |