slEntPhysicalProtectMode
SL-ENTITY-MIB ·
.1.3.6.1.4.1.4515.1.3.6.1.1.1.14
Object
column r/w
Enumeration
The protection mode of physical entity. The default value is automatic(3) This object is not applicable should the protection be done on a per-port basis.
Context
- MIB
- SL-ENTITY-MIB
- OID
.1.3.6.1.4.1.4515.1.3.6.1.1.1.14- Type
- column
- Access
- readwrite
- 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::slEntPhysicalProtectMode'
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::slEntPhysicalProtectMode.<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::slEntPhysicalProtectMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | lock |
2 | force |
3 | automatic |