HUAWEI-L2IF-MIB
information of layer2 interface and information of hybrid port and information of trunk port
- 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.
/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'
/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'
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 |
hwL2Interface
.1.3.6.1.4.1.2011.5.25.42.1.1.1
| Object | Syntax | OID |
|---|---|---|
| hwL2IfPortMax | SNMPv2-SMIInteger32 | .1.3.6.1.4.1.2011.5.25.42.1.1.1.1 |
| hwL2TopologyDetect | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.2 |
| hwL2IfLoopDetectInterval | Integer32r/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
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.
.1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1
| Column | Syntax | OID |
|---|---|---|
| hwL2IfPortNum | Integer32 | .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 |
| hwL2IfIsSrcMacFilter | SNMPv2-TCTruthValue | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.5 |
| hwL2IfMacAddrLearnMode | Enumeration | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.6 |
| hwL2IfMacAddressLearn | Enumerationr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.7 |
| hwL2IfBcastRatio | Integer32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.8 |
| hwL2IfMcastRatio | Integer32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.9 |
| hwL2IfUcastRatio | Integer32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.10 |
| hwL2IfOutBcastRatio | Integer32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.11 |
| hwL2IfOutMcastRatio | Integer32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.12 |
| hwL2IfOutUcastRatio | Integer32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.13 |
| hwL2IfDiscardBcast | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.14 |
| hwL2IfDiscardUnknownMcast | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.15 |
| hwL2IfDiscardUnknownUcast | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.16 |
| hwL2IfBpdu | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.17 |
| hwL2IfPortPriority | Integer32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.18 |
| hwL2IfPortName | OctetString | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.19 |
| hwL2IfInInvalidVlanPkts | SNMPv2-SMICounter64 | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.20 |
| hwL2IfFlushEnable | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.21 |
| hwL2IfFlushControlVlan | Integer32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.22 |
| hwL2IfCurrentInBcastPercent | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.23 |
| hwL2IfCurrentOutBcastPercent | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.24 |
| hwL2IfQinqVlanTransEnable | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.25 |
| hwL2IfQinqVlanTransMissDrop | Enumerationr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.26 |
| hwL2IfIpSubnetVlanEnable | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.27 |
| hwL2IfMacVlanEnable | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.28 |
| hwL2IfPolicyVlanEnable | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.29 |
| hwL2IfVlanPrecedence | SNMPv2-SMIInteger32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.30 |
| hwL2IfIsolateGroupEnable | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.31 |
| hwL2IfActivePortType | Enumeration | .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
This table describes the VLAN information about Layer 2 hybrid interfaces in tagged and untagged modes.
.1.3.6.1.4.1.2011.5.25.42.1.1.1.9.1
| Column | Syntax | OID |
|---|---|---|
| hwL2IfHybridPortIndex | Integer32 | .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
This table describes the allowed VLAN information about Layer 2 trunk interfaces.
.1.3.6.1.4.1.2011.5.25.42.1.1.1.10.1
| Column | Syntax | OID |
|---|---|---|
| hwL2IfTrunkPortIndex | Integer32 | .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
Port isolate in the same Service-instance table. The Service-instance is used to communicate among different vlans.
.1.3.6.1.4.1.2011.5.25.42.1.1.1.11.1
| Column | Syntax | OID |
|---|---|---|
| hwL2IfPortIsolatePortIndex | Integer32 | .1.3.6.1.4.1.2011.5.25.42.1.1.1.11.1.1 |
| hwL2IfPortIsolateSIName | OctetString | .1.3.6.1.4.1.2011.5.25.42.1.1.1.11.1.2 |
| hwL2IfPortIsolateRowStatus | SNMPv2-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
Port suppression configuration table
.1.3.6.1.4.1.2011.5.25.42.1.1.1.12.1
| Column | Syntax | OID |
|---|---|---|
| hwL2IfSuppressionPortIndex | Integer32 | .1.3.6.1.4.1.2011.5.25.42.1.1.1.12.1.1 |
| hwL2IfSuppressionType | Enumeration | .1.3.6.1.4.1.2011.5.25.42.1.1.1.12.1.2 |
| hwL2IfSuppressionCir | Integer32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.12.1.3 |
| hwL2IfSuppressionCbs | Integer32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.12.1.4 |
| hwL2IfSuppressionRowStatus | SNMPv2-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
Port and Vlan suppression configuration table
.1.3.6.1.4.1.2011.5.25.42.1.1.1.13.1
| Column | Syntax | OID |
|---|---|---|
| hwL2IfVlanSuppressionPortIndex | Integer32 | .1.3.6.1.4.1.2011.5.25.42.1.1.1.13.1.1 |
| hwL2IfVlanSuppressionStartVlan | Integer32 | .1.3.6.1.4.1.2011.5.25.42.1.1.1.13.1.2 |
| hwL2IfVlanSuppressionEndVlan | Integer32 | .1.3.6.1.4.1.2011.5.25.42.1.1.1.13.1.3 |
| hwL2IfVlanSuppressionCir | Integer32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.13.1.4 |
| hwL2IfVlanSuppressionCbs | Integer32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.13.1.5 |
| hwL2IfVlanSuppressionRowStatus | SNMPv2-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
Port TCN in the same Service-instance table. The Service-instance is used to configure TCN.
.1.3.6.1.4.1.2011.5.25.42.1.1.1.14.1
| Column | Syntax | OID |
|---|---|---|
| hwL2IfTcnPortIndex | Integer32 | .1.3.6.1.4.1.2011.5.25.42.1.1.1.14.1.1 |
| hwL2IfTcnStp | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.14.1.2 |
| hwL2IfTcnSmartLink | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.14.1.3 |
| hwL2IfTcnVlanListLow | OctetStringr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.14.1.4 |
| hwL2IfTcnVlanListHigh | OctetStringr/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
A table containing the port external loopback detection information for device. It can protect the port from external loopback.
.1.3.6.1.4.1.2011.5.25.42.1.1.1.15.1
| Column | Syntax | OID |
|---|---|---|
| hwL2IfPortLoopDetectPort | SNMPv2-SMIInteger32 | .1.3.6.1.4.1.2011.5.25.42.1.1.1.15.1.1 |
| hwL2IfPortLoopDetectEnabled | P-BRIDGE-MIBEnabledStatusr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.15.1.2 |
| hwL2IfPortLoopDetectInterval | SNMPv2-SMIInteger32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.15.1.3 |
| hwL2IfPortLoopDetectAction | Enumerationr/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.15.1.4 |
| hwL2IfPortLoopDetectStatus | Enumeration | .1.3.6.1.4.1.2011.5.25.42.1.1.1.15.1.5 |
| hwL2IfPortLoopDetectProtocol | OctetStringr/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
The entry of protocol vlan by port.
.1.3.6.1.4.1.2011.5.25.42.1.1.1.16.1
| Column | Syntax | OID |
|---|---|---|
| hwL2IfPortProtocolVlanDataPortIndex | Integer32 | .1.3.6.1.4.1.2011.5.25.42.1.1.1.16.1.1 |
| hwL2IfPortProtocolVlanDataVlan | SNMPv2-SMIInteger32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.16.1.2 |
| hwL2IfPortProtocolVlanDataPri | SNMPv2-SMIInteger32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.16.1.3 |
| hwL2IfPortProtocolVlanDataRowStatus | SNMPv2-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
Pw suppression configuration table
.1.3.6.1.4.1.2011.5.25.42.1.1.1.17.1
| Column | Syntax | OID |
|---|---|---|
| hwL2IfPwSuppressionVsiName | OctetString | .1.3.6.1.4.1.2011.5.25.42.1.1.1.17.1.1 |
| hwL2IfPwSuppressionPwName | OctetString | .1.3.6.1.4.1.2011.5.25.42.1.1.1.17.1.2 |
| hwL2IfPwSuppressionType | Enumeration | .1.3.6.1.4.1.2011.5.25.42.1.1.1.17.1.3 |
| hwL2IfPwSuppressionCir | Integer32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.17.1.4 |
| hwL2IfPwSuppressionCbs | Integer32r/w | .1.3.6.1.4.1.2011.5.25.42.1.1.1.17.1.5 |
| hwL2IfPwSuppressionRowStatus | SNMPv2-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
Table for dynamic relationship of port-vlan.
.1.3.6.1.4.1.2011.5.25.42.1.1.1.19.1
| Column | Syntax | OID |
|---|---|---|
| hwL2IfDynamicPortVlanPortIndex | Integer32 | .1.3.6.1.4.1.2011.5.25.42.1.1.1.19.1.1 |
| hwL2IfDynamicPortVlanServiceType | Enumeration | .1.3.6.1.4.1.2011.5.25.42.1.1.1.19.1.2 |
| hwL2IfDynamicPortVlanPvid | Q-BRIDGE-MIBVlanIdOrNone | .1.3.6.1.4.1.2011.5.25.42.1.1.1.19.1.3 |
| hwL2IfDynamicPortVlanUntaggedVlanListLow | OctetString | .1.3.6.1.4.1.2011.5.25.42.1.1.1.19.1.4 |
| hwL2IfDynamicPortVlanUntaggedVlanListHigh | OctetString | .1.3.6.1.4.1.2011.5.25.42.1.1.1.19.1.5 |
| hwL2IfDynamicPortVlanTaggedVlanListLow | OctetString | .1.3.6.1.4.1.2011.5.25.42.1.1.1.19.1.6 |
| hwL2IfDynamicPortVlanTaggedVlanListHigh | OctetString | .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
Table for dynamic relationship of port-vlan.
.1.3.6.1.4.1.2011.5.25.42.1.1.1.20.1
| Column | Syntax | OID |
|---|---|---|
| hwL2IfDynPortVlanPortIndex | Integer32 | .1.3.6.1.4.1.2011.5.25.42.1.1.1.20.1.1 |
| hwL2IfDynPortVlanPvid | Q-BRIDGE-MIBVlanIdOrNone | .1.3.6.1.4.1.2011.5.25.42.1.1.1.20.1.2 |
| hwL2IfDynPortVlanUntaggedVlanListLow | OctetString | .1.3.6.1.4.1.2011.5.25.42.1.1.1.20.1.3 |
| hwL2IfDynPortVlanUntaggedVlanListHigh | OctetString | .1.3.6.1.4.1.2011.5.25.42.1.1.1.20.1.4 |
| hwL2IfDynPortVlanTaggedVlanListLow | OctetString | .1.3.6.1.4.1.2011.5.25.42.1.1.1.20.1.5 |
| hwL2IfDynPortVlanTaggedVlanListHigh | OctetString | .1.3.6.1.4.1.2011.5.25.42.1.1.1.20.1.6 |
Notifications / Traps (2)
| Notification | Variable bindings | OID |
|---|---|---|
| hwL2IfInvalidVlanPacketAlarm | .1.3.6.1.4.1.2011.5.25.42.1.1.2.1 | |
| hwInBcastRisingThreshold | .1.3.6.1.4.1.2011.5.25.42.1.1.2.2 |
Type Definitions (1)
| Type | Syntax | Constraints |
|---|---|---|
| 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
Dependency-first compile order
- SNMPv2-SMIrfc
- HUAWEI-MIBhuawei
- SNMPv2-TCrfc
- IANAifType-MIBrfc
- SNMPv2-CONFrfc
- SNMPv2-MIBrfc
- IF-MIBrfc
- BRIDGE-MIBrfc
- P-BRIDGE-MIBrfc
- HUAWEI-MSTP-MIBhuawei
- RMON-MIBrfc
- RFC-1212rfc
- RFC1155-SMIrfc
- RFC1213-MIBrfc
- RFC1271-MIBrfc
- TOKEN-RING-RMON-MIBrfc
- RMON2-MIBrfc
- SNMP-FRAMEWORK-MIBrfc
- Q-BRIDGE-MIBrfc
- HUAWEI-L2IF-MIBhuaweiselected