swModuleInfoPortLedStatus
DES3225G-MIB ·
.1.3.6.1.4.1.171.11.24.2.1.1.6
Object
column mandatory
OctetString
This object is a set of module's port LED indications. Every two bytes are
presented to a port. Except the module 3 (Gigabit module) ,the first byte
is presentd to the Link/Activity LED. The second byte is presented to the
Speed LED. For the module 3 ,the first byte is presentd to the module's
existing LED. The second byte is presented to the Link/Activity 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
- DES3225G-MIB
- OID
.1.3.6.1.4.1.171.11.24.2.1.1.6- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- swModuleInfoEntry
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 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3225G-MIB::swModuleInfoPortLedStatus'
More examples
Read one indexed 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::swModuleInfoPortLedStatus.<swModuleInfoIndex>'
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::swModuleInfoPortLedStatus'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-127