hwIFExtLayer

HUAWEI-IF-EXT-MIB · .1.3.6.1.4.1.2011.5.25.41.1.1.1.1.2

Object

column r/w Enumeration
This object indicates the Layer 2/Layer 3 switching flag of an interface.
According to the switching command, note the following:
When Layer2(1) is 1, the interface switches from Layer 3 mode to Layer 2 mode. When Layer3(2) is 2, the interface switches from Layer 2 mode to Layer 3 mode.

Context

MIB
HUAWEI-IF-EXT-MIB
OID
.1.3.6.1.4.1.2011.5.25.41.1.1.1.1.2
Type
column
Access
readwrite
Status
current
Parent
hwIFExtEntry
Groups
1

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-IF-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IF-EXT-MIB::hwIFExtLayer'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-IF-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IF-EXT-MIB::hwIFExtLayer.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-IF-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-IF-EXT-MIB::hwIFExtLayer'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0unsuppress
1suppress

Conformance

Member of