hwEponnniActiveStatus
HUAWEI-EPONNNI-MIB ·
.1.3.6.1.4.1.2011.6.119.1.1.1.1.21
Object
column Enumeration
Describes the EPONNNI port TYPED protect state. Options: 1. active(1) - Active state 2. standby(2) - Standby state
Context
- MIB
- HUAWEI-EPONNNI-MIB
- OID
.1.3.6.1.4.1.2011.6.119.1.1.1.1.21- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwEponnniCfgEntry
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-EPONNNI-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-EPONNNI-MIB::hwEponnniActiveStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-EPONNNI-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-EPONNNI-MIB::hwEponnniActiveStatus.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-EPONNNI-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-EPONNNI-MIB::hwEponnniActiveStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | active |
2 | standby |