hwCfmMepDirection
HUAWEI-ETHERNET-OAM-MIB ·
.1.3.6.1.4.1.2011.5.101.1.12.1.3
Object
Indicates the MEP direction. Options: 1. down(1) -indicates the MEP direction is down 2. up(2) -indicates the MEP direction is up
Context
- MIB
- HUAWEI-ETHERNET-OAM-MIB
- OID
.1.3.6.1.4.1.2011.5.101.1.12.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwCfmMepEntry
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::hwCfmMepDirection'
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::hwCfmMepDirection.<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::hwCfmMepDirection'
Syntax
- Source
- IEEE8021-CFM-MIBDot1agCfmMpDirection
- Base type
Enumeration
Values & Constraints
Type Values
1 | down |
2 | up |