uPortState
ES-RACKTIVITY-MIB ·
.1.3.6.1.4.1.34097.9.85.1.1.10035
Object
column r/w
Unsigned32
Sets the state of an outlet: 0=OFF, 1=ON, 2=POWER CYCLE. To get the state of an outlet use CPORTSTAT (CLI) or pStatePortCur (SNMP) (GUID 8) instead.
Context
- MIB
- ES-RACKTIVITY-MIB
- OID
.1.3.6.1.4.1.34097.9.85.1.1.10035- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ePCEntry
- Groups
- 1
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 'ES-RACKTIVITY-MIB' -M '/opt/observium/mibs/racktivity:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ES-RACKTIVITY-MIB::uPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ES-RACKTIVITY-MIB' -M '/opt/observium/mibs/racktivity:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ES-RACKTIVITY-MIB::uPortState.<pcModuleIndex>.<pcIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ES-RACKTIVITY-MIB' -M '/opt/observium/mibs/racktivity:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ES-RACKTIVITY-MIB::uPortState'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-1
Conformance
Member of