hwMEthPhyStatus
HUAWEI-PORT-MIB ·
.1.3.6.1.4.1.2011.5.25.157.1.8.9.1.3
Object
column Enumeration
The status of management port is 1(up) or 0(down).
Context
- MIB
- HUAWEI-PORT-MIB
- OID
.1.3.6.1.4.1.2011.5.25.157.1.8.9.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwMEthStatusEntry
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-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PORT-MIB::hwMEthPhyStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PORT-MIB::hwMEthPhyStatus.<hwMethIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-PORT-MIB::hwMEthPhyStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | down |
1 | up |