mlxIBCANumPorts
MELLANOX-EFM-MIB ·
.1.3.6.1.4.1.33049.2.5.1.2.1.17
Object
column Unsigned32
Number of physical IB data ports on this Channel Adapter. Ports are numbered starting from 1. If there is more than one port, the ports are numbered sequentially.
Context
- MIB
- MELLANOX-EFM-MIB
- OID
.1.3.6.1.4.1.33049.2.5.1.2.1.17- Type
- column
- Access
- readonly
- Status
- current
- Parent
- mlxIBCAInfoEntry
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 'MELLANOX-EFM-MIB' -M '/opt/observium/mibs/mellanox:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MELLANOX-EFM-MIB::mlxIBCANumPorts'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MELLANOX-EFM-MIB' -M '/opt/observium/mibs/mellanox:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MELLANOX-EFM-MIB::mlxIBCANumPorts.<mlxIBCAIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MELLANOX-EFM-MIB' -M '/opt/observium/mibs/mellanox:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MELLANOX-EFM-MIB::mlxIBCANumPorts'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-254