hwCposMappingMode
HUAWEI-PORT-MIB ·
.1.3.6.1.4.1.2011.5.25.157.1.3.1.1.38
Object
column r/w
Enumeration
Indicates the mapping mode of cpos port, default if h-mode(1).
Context
- MIB
- HUAWEI-PORT-MIB
- OID
.1.3.6.1.4.1.2011.5.25.157.1.3.1.1.38- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwCposEntry
- Groups
- 1
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::hwCposMappingMode'
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::hwCposMappingMode.<hwCposIfIndex>'
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::hwCposMappingMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | hMode |
2 | lMode |
3 | aMode |
Conformance
Member of