osPortTrunkMembers
OS-PORT-MIB ·
.1.3.6.1.4.1.6926.2.1.4.1.5
Object
Determine which ports are members at this trunk.
Context
- MIB
- OS-PORT-MIB
- OID
.1.3.6.1.4.1.6926.2.1.4.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- osPortTrunkEntry
- Groups
- 1
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 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PORT-MIB::osPortTrunkMembers'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PORT-MIB::osPortTrunkMembers.<osPortTrunkId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OS-PORT-MIB::osPortTrunkMembers'
Syntax
- Source
- OS-COMMON-TC-MIBPortList
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..32
Conformance
Member of