swDevInfoSystemLedStatus
DES3225G-MIB ·
.1.3.6.1.4.1.171.11.24.1.1.7
Object
scalar mandatory
OctetString
This object is a set of system LED indications. The first four octets is
defined as system LED. The first LED is power LED. The second LED
is console LED. The third LED is GIGA module existing LED. The fourth LED
is GIGA module link LED. The other octets following the fourth octets
are the port LED. 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.
The lastest two octects are defined as slot module type. The first octect
is slot 1 module type. The second octect is slot 2 module type, and so on.
The module type representation for each byte is listed below:
1 = no slot module,
2 = 1 port BNC,
3 = 2 port Fiber MTRJ,
4 = 2 port TX UTP,
5 = 1 port Fiber SC,
6 = Gigabit
other not used
Context
- MIB
- DES3225G-MIB
- OID
.1.3.6.1.4.1.171.11.24.1.1.7- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- swDevInfo
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 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3225G-MIB::swDevInfoSystemLedStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES3225G-MIB::swDevInfoSystemLedStatus'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-127