hm2LedPortStatus
HM2-DIAGNOSTIC-MIB ·
.1.3.6.1.4.1.248.11.22.1.4.2.1.1
Object
column Hm2LedStatus
.
Context
- MIB
- HM2-DIAGNOSTIC-MIB
- OID
.1.3.6.1.4.1.248.11.22.1.4.2.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hm2LedPortEntry
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 'HM2-DIAGNOSTIC-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-DIAGNOSTIC-MIB::hm2LedPortStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-DIAGNOSTIC-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-DIAGNOSTIC-MIB::hm2LedPortStatus.<hm2IfacePhysIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-DIAGNOSTIC-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-DIAGNOSTIC-MIB::hm2LedPortStatus'
Syntax
- Source
- Hm2LedStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | off |
2 | greenSolid |
3 | greenBlink1 |
4 | greenBlink3 |
5 | greenBlink4 |
6 | greenBlink5 |
7 | greenBlink5i |
8 | yellowSolid |
9 | yellowBlink1 |
10 | yellowBlink3 |
11 | yellowBlink4 |
12 | yellowBlink5 |
13 | redSolid |
14 | redBlink1 |
15 | redBlink3 |
16 | redBlink4 |
17 | redBlink5 |