rcIfPortPHYOperStatus
SWITCH-INTERFACE-PORT-MIB ·
.1.3.6.1.4.1.8886.6.1.1.7.1.2.1.1.5
Object
column Enumeration
The current operational state of the port. If rcIfPortPHYAdminStatus is down(2) then rcIfPortOperStatus should be down(2). While rcIfPortPHYAdminStatus is changed to up(1), rcIfPortPHYOperStatus should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state (e.g. Loopback-detection module detects a loop in this port ).
Context
- MIB
- SWITCH-INTERFACE-PORT-MIB
- OID
.1.3.6.1.4.1.8886.6.1.1.7.1.2.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- rcIfPortPHYEntry
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 'SWITCH-INTERFACE-PORT-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-INTERFACE-PORT-MIB::rcIfPortPHYOperStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-INTERFACE-PORT-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-INTERFACE-PORT-MIB::rcIfPortPHYOperStatus.<rcIfPortPHYIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-INTERFACE-PORT-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-INTERFACE-PORT-MIB::rcIfPortPHYOperStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | up |
2 | down |