swL2DevInfoFrontPanelLedStatus
DHS3226-MIB ·
.1.3.6.1.4.1.171.11.36.2.5.1.5
Object
scalar OctetString
This object is a set of system LED indications. The first third octets
is defined as system LED . The first LED is power LED . The second LED
is console LED . The third LED is RPS (Redundancy Power Supply) LED .
. The other octets following the third octets are the logical port LED
(following dot1dBasePort ordering) . Every two bytes are presented to a
port. The first byte is presentd to the Link/Activity LED . The second
byte is presented to the Speed LED .
There is one byte per LED .
The most significant bit is used for blink/solid:
Off = The LED is lit permanently.
On = The LED blinks.
The three least significant bits are used for color:
1 = not lit,
2 = green,
3 = yellow,(orange)
4 = blue,
5 = red,
0+6+7 not used
The four remaining bits are currently unused and must be 0 .
Context
- MIB
- DHS3226-MIB
- OID
.1.3.6.1.4.1.171.11.36.2.5.1.5- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- swL2DevInfo
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DHS3226-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DHS3226-MIB::swL2DevInfoFrontPanelLedStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DHS3226-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DHS3226-MIB::swL2DevInfoFrontPanelLedStatus'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-127