mlxIBPortPhysicalState
MELLANOX-MIB ·
.1.3.6.1.4.1.33049.2.5.4.2.1.4
Object
column Enumeration
Physical Port State. Enumerated as: 1 : Sleep 2 : Polling 3 : Disabled 4 : PortConfigurationTraining 5 : LinkUp 6 : LinkErrorRecovery 7 : PhyTest 8 : other (0, 8-15: Reserved)
Context
- MIB
- MELLANOX-MIB
- OID
.1.3.6.1.4.1.33049.2.5.4.2.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- mlxIBPortInfoEntry
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-MIB' -M '/opt/observium/mibs/mellanox:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MELLANOX-MIB::mlxIBPortPhysicalState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MELLANOX-MIB' -M '/opt/observium/mibs/mellanox:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MELLANOX-MIB::mlxIBPortPhysicalState.<mlxIBPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MELLANOX-MIB' -M '/opt/observium/mibs/mellanox:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MELLANOX-MIB::mlxIBPortPhysicalState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | sleep |
2 | polling |
3 | disabled |
4 | portConfigTraining |
5 | linkUp |
6 | linkErrorRecovery |
7 | phyTest |
8 | other |