hwPortHostmode
HUAWEI-LINE-COMMON-MIB ·
.1.3.6.1.4.1.2011.6.158.50.1
Object
scalar Enumeration
The port host mode. Options: 1. geMode(7) - Ge mode 2. adaptMode(27) - Adapt mode 3. gponMode(114) - Gpon mode 4. eponMode(115) - Epon mode
Context
- MIB
- HUAWEI-LINE-COMMON-MIB
- OID
.1.3.6.1.4.1.2011.6.158.50.1- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- hwLineCommonTrapsVbOids
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LINE-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LINE-COMMON-MIB::hwPortHostmode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LINE-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LINE-COMMON-MIB::hwPortHostmode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
7 | geMode |
27 | adaptMode |
114 | gponMode |
115 | eponMode |