hwOntPortLldpNeighbourPowerSource
HUAWEI-DSLAM-LLDP-MIB ·
.1.3.6.1.4.1.2011.5.25.134.4.5.1.24
Object
column Enumeration
Indicates the LLDP neighbour power source. Options: 1. unknown(1) - indicates unknown power. 2. primary(2) - indicates primary power. 3. backup(3) - indicates backup power. 4. fromPSE(4) - indicates remote PSE power. 5. local(5) - indicates local power. 6. localAndPSE(6) - indicates remote PSE and local power. 7. invalid(-1) - indicates an invalid value.
Context
- MIB
- HUAWEI-DSLAM-LLDP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.134.4.5.1.24- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwOntPortLldpNeighbourEntry
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-DSLAM-LLDP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-LLDP-MIB::hwOntPortLldpNeighbourPowerSource'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DSLAM-LLDP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-LLDP-MIB::hwOntPortLldpNeighbourPowerSource.<ifIndex>.<hwOntPortLldpOntID>.<hwOntPortLldpOntPhyType>.<hwOntPortLldpOntPhyIndex>.<hwOntPortLldpNeighbourIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DSLAM-LLDP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DSLAM-LLDP-MIB::hwOntPortLldpNeighbourPowerSource'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | unknown |
2 | primary |
3 | backup |
4 | fromPSE |
5 | local |
6 | localAndPSE |