hwCfmMepIfType

HUAWEI-ETHERNET-OAM-MIB · .1.3.6.1.4.1.2011.5.101.1.12.1.51

Object

column r/w Enumeration
Indicates the MEP port type.
Options:
1. port(1)                 -indicates a port
2. linkAggregationGroup(2) -indicates an aggregation group
3. protectGroup(3)         -indicates a protect group
4. l2vpn(4)                -indicates a Layer 2 virtual private network
Default: port(1)

Context

MIB
HUAWEI-ETHERNET-OAM-MIB
OID
.1.3.6.1.4.1.2011.5.101.1.12.1.51
Type
column
Access
readwrite
Status
current
Parent
hwCfmMepEntry

Walk 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::hwCfmMepIfType'
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::hwCfmMepIfType.<dot1agCfmMdIndex>.<dot1agCfmMaIndex>.<hwCfmMepIdentifier>'
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::hwCfmMepIfType'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1port
2linkAggregationGroup
3protectGroup
4l2vpn