hwOntCfmMaNetFormat
HUAWEI-ETHERNET-OAM-MIB ·
.1.3.6.1.4.1.2011.5.101.1.21.1.2
Object
column r/w
Enumeration
Indicates the name type of an MA name. Options: 1. primaryVid(1) -indicates the name type of the MA name is primary VLAN ID 2. charString(2) -indicates the name type of the MA name is char string 3. unsignedInt16(3) -indicates the name type of the MA name is unsigned int16 4. rfc2865VpnId(4) -indicates the name type of the MA name is rfc2865VpnId 5. iccBased(32) -indicates the name type of the MA name is ICC-based
Context
- MIB
- HUAWEI-ETHERNET-OAM-MIB
- OID
.1.3.6.1.4.1.2011.5.101.1.21.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwOntCfmMaEntry
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-ETHERNET-OAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERNET-OAM-MIB::hwOntCfmMaNetFormat'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ETHERNET-OAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERNET-OAM-MIB::hwOntCfmMaNetFormat.<hwOntCfmMdIndex>.<hwOntCfmMaIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ETHERNET-OAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ETHERNET-OAM-MIB::hwOntCfmMaNetFormat'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | primaryVid |
2 | charString |
3 | unsignedInt16 |
4 | rfc2865VpnId |
32 | iccBased |