stackTrunkPorts
IBM-GbTOR-G8264-MIB ·
.1.3.6.1.4.1.26543.2.7.6.12.3.9.1.3
Object
column OctetString
The bitmap of the local ports which form the stack trunk.
The ports are presented in bitmap format in receiving order:
OCTET 1 OCTET 2 .....
xxxxxxxx xxxxxxxx .....
|| || |_ port 8
|| ||
|| ||___ port 7
|| |____ port 6
|| . . .
||_________ port 1
|__________ reserved
where x : 1 - The represented port belongs to the stack trunk
0 - The represented port does not belong to the stack trunk
Context
- MIB
- IBM-GbTOR-G8264-MIB
- OID
.1.3.6.1.4.1.26543.2.7.6.12.3.9.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- stackTrunkEntry
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 'IBM-GbTOR-G8264-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-G8264-MIB::stackTrunkPorts'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IBM-GbTOR-G8264-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-G8264-MIB::stackTrunkPorts.<stackTrunkID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IBM-GbTOR-G8264-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IBM-GbTOR-G8264-MIB::stackTrunkPorts'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.