slEntPhysicalProtectState
SL-ENTITY-MIB ·
.1.3.6.1.4.1.4515.1.3.6.1.1.1.9
Object
column Enumeration
The protection state of physical entity. This object is not applicable should the protection be done on a per-port basis. In the case of Switch protection the following logic should be used: 1. If there is only one card is present - noProtection(3) 2. If the standby card is not ready - the active card should have the value noProtection(3), and the standby card should have the value protecting(2) 3. If the protecting card is ready - the active card should have the value working(1) and the standby card should have the value protecting(2)
Context
- MIB
- SL-ENTITY-MIB
- OID
.1.3.6.1.4.1.4515.1.3.6.1.1.1.9- Type
- column
- Access
- readonly
- Status
- current
- Parent
- slEntPhysicalEntry
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 'SL-ENTITY-MIB' -M '/opt/observium/mibs/packetlight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-ENTITY-MIB::slEntPhysicalProtectState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SL-ENTITY-MIB' -M '/opt/observium/mibs/packetlight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-ENTITY-MIB::slEntPhysicalProtectState.<slEntPhysicalIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SL-ENTITY-MIB' -M '/opt/observium/mibs/packetlight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SL-ENTITY-MIB::slEntPhysicalProtectState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | working |
2 | protecting |
3 | noProtection |