swFCPortOpStatus
BROCADE-SYSTEM-MIB ·
.1.3.6.1.4.1.1588.2.1.1.1.6.2.1.4
Object
column Enumeration
This object identifies the operational status of the port. The online(1) state indicates that user frames can be passed. The unknown(0) state indicates that likely the port module is physically absent (see swFCPortPhyState).
Context
- MIB
- BROCADE-SYSTEM-MIB
- OID
.1.3.6.1.4.1.1588.2.1.1.1.6.2.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swFCPortEntry
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 'BROCADE-SYSTEM-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BROCADE-SYSTEM-MIB::swFCPortOpStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BROCADE-SYSTEM-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BROCADE-SYSTEM-MIB::swFCPortOpStatus.<swFCPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BROCADE-SYSTEM-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BROCADE-SYSTEM-MIB::swFCPortOpStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | unknown |
1 | online |
2 | offline |
3 | testing |
4 | faulty |