hwLswPowerSerialNumber
HUAWEI-LSW-DEV-ADM-MIB ·
.1.3.6.1.4.1.2011.2.23.1.18.4.11.1.2
Object
column OctetString
Power module serial number.
Context
- MIB
- HUAWEI-LSW-DEV-ADM-MIB
- OID
.1.3.6.1.4.1.2011.2.23.1.18.4.11.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwLswPowerEntry
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 'HUAWEI-LSW-DEV-ADM-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LSW-DEV-ADM-MIB::hwLswPowerSerialNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LSW-DEV-ADM-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LSW-DEV-ADM-MIB::hwLswPowerSerialNumber.<hwLswFrameIndex>.<hwLswSlotIndex>.<hwLswPowerIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LSW-DEV-ADM-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LSW-DEV-ADM-MIB::hwLswPowerSerialNumber'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-32