HUAWEI-L2IF-MIB

Download MIB Monitored by Observium
information of layer2 interface and information of hybrid port and
information of trunk port
Observium actively monitors this MIB Visit Observium
Observium uses this MIB in discovery or polling workflows on applicable devices.
Ports VLANs
Source file
HUAWEI-L2IF-MIB
Last revised
Identity
hwL2IfMib
Base OID
1.3.6.1.4.1.2011.5.25.42.1
Objects
3 scalars · 88 columns
Tables
12 tables
Net-SNMP examples using the huawei MIB directory

These commands use the standard Observium installation path and load the selected MIB variant before the RFC and Net-SNMP directories.

Translate the module identity
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-L2IF-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-L2IF-MIB::hwL2IfMib'
Walk the MIB subtree
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-L2IF-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L2IF-MIB::hwL2IfMib'
Command help
Imported Objects
HUAWEI-MIB hwDatacomm
HUAWEI-MSTP-MIB hwL2Mgmt
IF-MIB ifDescr ifIndex InterfaceIndex
P-BRIDGE-MIB EnabledStatus
Q-BRIDGE-MIB VlanId VlanIdOrNone
SNMPv2-CONF MODULE-COMPLIANCE (no object page) NOTIFICATION-GROUP (no object page) OBJECT-GROUP (no object page)
SNMPv2-SMI Counter64 Integer32 IpAddress MODULE-IDENTITY (no object page) NOTIFICATION-TYPE (no object page) OBJECT-IDENTITY (no object page) OBJECT-TYPE (no object page)
SNMPv2-TC RowStatus TEXTUAL-CONVENTION (no object page) TruthValue

Objects

OBS ✓9

ScalarshwL2Interface

hwL2IfObjects · .1.3.6.1.4.1.2011.5.25.42.1.1.1
Object Syntax OID
hwL2IfPortMaxSNMPv2-SMIInteger32.1.3.6.1.4.1.2011.5.25.42.1.1.1.1
hwL2TopologyDetectP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.2
hwL2IfLoopDetectIntervalInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.18
.1.3.6.1.4.1.2011.5.25.42.1.1.1.3 · 32 columns
OID Tree

This table is used to query and configure the basic attributes of a Layer 2 interface, including number, index, type, default VLAN ID, and the MAC address learning status.

hwL2IfEntry .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1
Column Syntax OID
hwL2IfPortNumInteger32.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.1
hwL2IfPortIfIndexOBS ✓IF-MIBInterfaceIndex.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.2
hwL2IfPortTypeOBS ✓Enumerationr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.3
hwL2IfPVIDOBS ✓SNMPv2-SMIInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.4
hwL2IfIsSrcMacFilterSNMPv2-TCTruthValue.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.5
hwL2IfMacAddrLearnModeEnumeration.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.6
hwL2IfMacAddressLearnEnumerationr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.7
hwL2IfBcastRatioInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.8
hwL2IfMcastRatioInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.9
hwL2IfUcastRatioInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.10
hwL2IfOutBcastRatioInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.11
hwL2IfOutMcastRatioInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.12
hwL2IfOutUcastRatioInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.13
hwL2IfDiscardBcastP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.14
hwL2IfDiscardUnknownMcastP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.15
hwL2IfDiscardUnknownUcastP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.16
hwL2IfBpduP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.17
hwL2IfPortPriorityInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.18
hwL2IfPortNameOctetString.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.19
hwL2IfInInvalidVlanPktsSNMPv2-SMICounter64.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.20
hwL2IfFlushEnableP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.21
hwL2IfFlushControlVlanInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.22
hwL2IfCurrentInBcastPercentP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.23
hwL2IfCurrentOutBcastPercentP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.24
hwL2IfQinqVlanTransEnableP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.25
hwL2IfQinqVlanTransMissDropEnumerationr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.26
hwL2IfIpSubnetVlanEnableP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.27
hwL2IfMacVlanEnableP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.28
hwL2IfPolicyVlanEnableP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.29
hwL2IfVlanPrecedenceSNMPv2-SMIInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.30
hwL2IfIsolateGroupEnableP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.31
hwL2IfActivePortTypeEnumeration.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.32
.1.3.6.1.4.1.2011.5.25.42.1.1.1.9 · 5 columns
OID Tree

This table describes the VLAN information about Layer 2 hybrid interfaces in tagged and untagged modes.

hwL2IfHybridPortEntry .1.3.6.1.4.1.2011.5.25.42.1.1.1.9.1
Column Syntax OID
hwL2IfHybridPortIndexInteger32.1.3.6.1.4.1.2011.5.25.42.1.1.1.9.1.1
hwL2IfHybridTaggedVlanListLowOBS ✓OctetStringr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.9.1.2
hwL2IfHybridTaggedVlanListHighOBS ✓OctetStringr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.9.1.3
hwL2IfHybridUnTaggedVlanListLowOBS ✓OctetStringr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.9.1.4
hwL2IfHybridUnTaggedVlanListHighOBS ✓OctetStringr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.9.1.5
.1.3.6.1.4.1.2011.5.25.42.1.1.1.10 · 3 columns
OID Tree

This table describes the allowed VLAN information about Layer 2 trunk interfaces.

hwL2IfTrunkPortEntry .1.3.6.1.4.1.2011.5.25.42.1.1.1.10.1
Column Syntax OID
hwL2IfTrunkPortIndexInteger32.1.3.6.1.4.1.2011.5.25.42.1.1.1.10.1.1
hwL2IfTrunkAllowPassVlanListLowOBS ✓OctetStringr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.10.1.2
hwL2IfTrunkAllowPassVlanListHighOBS ✓OctetStringr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.10.1.3
.1.3.6.1.4.1.2011.5.25.42.1.1.1.11 · 3 columns
OID Tree

Port isolate in the same Service-instance table. The Service-instance is used to communicate among different vlans.

hwL2IfPortIsolateEntry .1.3.6.1.4.1.2011.5.25.42.1.1.1.11.1
Column Syntax OID
hwL2IfPortIsolatePortIndexInteger32.1.3.6.1.4.1.2011.5.25.42.1.1.1.11.1.1
hwL2IfPortIsolateSINameOctetString.1.3.6.1.4.1.2011.5.25.42.1.1.1.11.1.2
hwL2IfPortIsolateRowStatusSNMPv2-TCRowStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.11.1.3
.1.3.6.1.4.1.2011.5.25.42.1.1.1.12 · 5 columns
OID Tree
Port suppression configuration table
hwL2IfSuppressionEntry .1.3.6.1.4.1.2011.5.25.42.1.1.1.12.1
Column Syntax OID
hwL2IfSuppressionPortIndexInteger32.1.3.6.1.4.1.2011.5.25.42.1.1.1.12.1.1
hwL2IfSuppressionTypeEnumeration.1.3.6.1.4.1.2011.5.25.42.1.1.1.12.1.2
hwL2IfSuppressionCirInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.12.1.3
hwL2IfSuppressionCbsInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.12.1.4
hwL2IfSuppressionRowStatusSNMPv2-TCRowStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.12.1.5
.1.3.6.1.4.1.2011.5.25.42.1.1.1.13 · 6 columns
OID Tree

Port and Vlan suppression configuration table

Column Syntax OID
hwL2IfVlanSuppressionPortIndexInteger32.1.3.6.1.4.1.2011.5.25.42.1.1.1.13.1.1
hwL2IfVlanSuppressionStartVlanInteger32.1.3.6.1.4.1.2011.5.25.42.1.1.1.13.1.2
hwL2IfVlanSuppressionEndVlanInteger32.1.3.6.1.4.1.2011.5.25.42.1.1.1.13.1.3
hwL2IfVlanSuppressionCirInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.13.1.4
hwL2IfVlanSuppressionCbsInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.13.1.5
hwL2IfVlanSuppressionRowStatusSNMPv2-TCRowStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.13.1.6
.1.3.6.1.4.1.2011.5.25.42.1.1.1.14 · 5 columns
OID Tree

Port TCN in the same Service-instance table. The Service-instance is used to configure TCN.

hwL2IfPortTcnEntry .1.3.6.1.4.1.2011.5.25.42.1.1.1.14.1
Column Syntax OID
hwL2IfTcnPortIndexInteger32.1.3.6.1.4.1.2011.5.25.42.1.1.1.14.1.1
hwL2IfTcnStpP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.14.1.2
hwL2IfTcnSmartLinkP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.14.1.3
hwL2IfTcnVlanListLowOctetStringr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.14.1.4
hwL2IfTcnVlanListHighOctetStringr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.14.1.5
.1.3.6.1.4.1.2011.5.25.42.1.1.1.15 · 6 columns
OID Tree

A table containing the port external loopback detection information for device. It can protect the port from external loopback.

hwL2IfPortLoopDetectEntry .1.3.6.1.4.1.2011.5.25.42.1.1.1.15.1
Column Syntax OID
hwL2IfPortLoopDetectPortSNMPv2-SMIInteger32.1.3.6.1.4.1.2011.5.25.42.1.1.1.15.1.1
hwL2IfPortLoopDetectEnabledP-BRIDGE-MIBEnabledStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.15.1.2
hwL2IfPortLoopDetectIntervalSNMPv2-SMIInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.15.1.3
hwL2IfPortLoopDetectActionEnumerationr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.15.1.4
hwL2IfPortLoopDetectStatusEnumeration.1.3.6.1.4.1.2011.5.25.42.1.1.1.15.1.5
hwL2IfPortLoopDetectProtocolOctetStringr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.15.1.6
.1.3.6.1.4.1.2011.5.25.42.1.1.1.16 · 4 columns
OID Tree

The entry of protocol vlan by port.

hwL2IfPortProtocolVlanDataEntry .1.3.6.1.4.1.2011.5.25.42.1.1.1.16.1
Column Syntax OID
hwL2IfPortProtocolVlanDataPortIndexInteger32.1.3.6.1.4.1.2011.5.25.42.1.1.1.16.1.1
hwL2IfPortProtocolVlanDataVlanSNMPv2-SMIInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.16.1.2
hwL2IfPortProtocolVlanDataPriSNMPv2-SMIInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.16.1.3
hwL2IfPortProtocolVlanDataRowStatusSNMPv2-TCRowStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.16.1.4
.1.3.6.1.4.1.2011.5.25.42.1.1.1.17 · 6 columns
OID Tree
Pw suppression configuration table
Column Syntax OID
hwL2IfPwSuppressionVsiNameOctetString.1.3.6.1.4.1.2011.5.25.42.1.1.1.17.1.1
hwL2IfPwSuppressionPwNameOctetString.1.3.6.1.4.1.2011.5.25.42.1.1.1.17.1.2
hwL2IfPwSuppressionTypeEnumeration.1.3.6.1.4.1.2011.5.25.42.1.1.1.17.1.3
hwL2IfPwSuppressionCirInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.17.1.4
hwL2IfPwSuppressionCbsInteger32r/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.17.1.5
hwL2IfPwSuppressionRowStatusSNMPv2-TCRowStatusr/w.1.3.6.1.4.1.2011.5.25.42.1.1.1.17.1.50
.1.3.6.1.4.1.2011.5.25.42.1.1.1.19 · 7 columns
OID Tree

Table for dynamic relationship of port-vlan.

Column Syntax OID
hwL2IfDynamicPortVlanPortIndexInteger32.1.3.6.1.4.1.2011.5.25.42.1.1.1.19.1.1
hwL2IfDynamicPortVlanServiceTypeEnumeration.1.3.6.1.4.1.2011.5.25.42.1.1.1.19.1.2
hwL2IfDynamicPortVlanPvidQ-BRIDGE-MIBVlanIdOrNone.1.3.6.1.4.1.2011.5.25.42.1.1.1.19.1.3
hwL2IfDynamicPortVlanUntaggedVlanListLowOctetString.1.3.6.1.4.1.2011.5.25.42.1.1.1.19.1.4
hwL2IfDynamicPortVlanUntaggedVlanListHighOctetString.1.3.6.1.4.1.2011.5.25.42.1.1.1.19.1.5
hwL2IfDynamicPortVlanTaggedVlanListLowOctetString.1.3.6.1.4.1.2011.5.25.42.1.1.1.19.1.6
hwL2IfDynamicPortVlanTaggedVlanListHighOctetString.1.3.6.1.4.1.2011.5.25.42.1.1.1.19.1.7
.1.3.6.1.4.1.2011.5.25.42.1.1.1.20 · 6 columns
OID Tree

Table for dynamic relationship of port-vlan.

hwL2IfDynPortVlanEntry .1.3.6.1.4.1.2011.5.25.42.1.1.1.20.1
Column Syntax OID
hwL2IfDynPortVlanPortIndexInteger32.1.3.6.1.4.1.2011.5.25.42.1.1.1.20.1.1
hwL2IfDynPortVlanPvidQ-BRIDGE-MIBVlanIdOrNone.1.3.6.1.4.1.2011.5.25.42.1.1.1.20.1.2
hwL2IfDynPortVlanUntaggedVlanListLowOctetString.1.3.6.1.4.1.2011.5.25.42.1.1.1.20.1.3
hwL2IfDynPortVlanUntaggedVlanListHighOctetString.1.3.6.1.4.1.2011.5.25.42.1.1.1.20.1.4
hwL2IfDynPortVlanTaggedVlanListLowOctetString.1.3.6.1.4.1.2011.5.25.42.1.1.1.20.1.5
hwL2IfDynPortVlanTaggedVlanListHighOctetString.1.3.6.1.4.1.2011.5.25.42.1.1.1.20.1.6

Notifications / Traps (2)

NotificationVariable bindingsOID
hwL2IfInvalidVlanPacketAlarm
  1. hwL2IfPortName
  2. hwL2IfInInvalidVlanPkts
.1.3.6.1.4.1.2011.5.25.42.1.1.2.1
hwInBcastRisingThreshold
  1. IF-MIBifDescr
  2. hwL2IfPortLoopDetectStatus
.1.3.6.1.4.1.2011.5.25.42.1.1.2.2

Type Definitions (1)

TypeSyntaxConstraints
VlanList OctetString

Conformance Groups (18)

hwL2IfMacAddrGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.1 Members (2)
hwL2IfBroadcastRatioGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.2 Members (6)
hwL2IfHybridTaggedVlanGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.3 Members (4)
hwL2IfTrunkAllowPassVlanListGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.4 Members (2)
hwL2IfPortGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.5 Members (2)
hwL2IfPVIDGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.6 Members (1)
hwL2IfPortTypeGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.7 Members (2)
hwL2IfPortMaxGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.8 Members (2)
hwL2IfPortExtGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.9 Members (18)
hwL2IfPortIsolateGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.10 Members (1)
hwL2IfAlarmGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.11 Notifications (2)
hwL2IfSuppressionGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.12 Members (3)
hwL2IfVlanSuppressionGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.13 Members (3)
hwL2IfPortTcnGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.14 Members (4)
hwL2IfPortLoopDetectGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.15 Members (6)
hwL2IfPortProtocolVlanDataGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.16 Members (3)
hwL2IfPwSuppressionGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.17 Members (3)
hwL2IfDynamicPortVlanTableGroup .1.3.6.1.4.1.2011.5.25.42.1.2.2.19 Members (5)

Compliance Statements (1)

hwL2IfCompliance .1.3.6.1.4.1.2011.5.25.42.1.2.1.1
Dependencies (19) 8 direct · 11 transitive Show tree and compile order Hide dependency details

Each imported module is resolved in the importing module's source directory first, then through the normal default-variant rules.

Dependency tree