No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

MIB Reference

AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R007

This document provides the function overview, relationships between tables, description of single objects, description of MIB tables, and description of alarm objects.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
hwL2IfTable

hwL2IfTable

hwL2IfTable is used to query and configure the basic attributes of a Layer 2 port, including number, index, type, default VLANID, and the MAC address learning status.

The index of this table is hwL2IfPortNum.

OID

Object Name

Syntax

Max Access

Description

Implemented Specifications

1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.1

hwL2IfPortNum

Integer32 (1..65535)

Not-accessible

Number of the Layer 2 interface port, a unique value, for each port. It is recommended that values be assigned continuously starting from 1.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.2

hwL2IfPortIfIndex

InterfaceIndex

Read-only

A unique value, greater than zero, for each interface or interface sub-layer in the managed system.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.3

hwL2IfPortType

INTEGER

{

trunk(1),

invalid(0),

access(2),

hybrid(3),

fabric(4),

qinq(5),

desirable(6),

auto(7)

}

Read-write

This object indicates the Layer 2 interface Port type.

Currently, type fabric(4) is not supported by router. Type invalid(0) is a status only; thus, this type cannot be set.

1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.4

hwL2IfPVID

Integer32

Read-write

This object indicates the default VLAN ID of the Layer 2 interface.

This object is implemented as defined in the corresponding MIB files.

If the value is 0, the hwL2IfPVID object is restored to the default value.

1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.5

hwL2IfIsSrcMacFilter

TruthValue

Read-only

This object indicates whether the function of filtering the source MAC address is supported. At present, the function is not supported.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.6

hwL2IfMacAddrLearnMode

INTEGER

{

iVL(1),

sVL(2)

}

Read-only

This object indicates the MAC address learning mode of the port:

  • IVL(1): indicates independent VLAN learning.

  • SVL(2): indicates shared VLAN learning.

Currently, only iVL(1) is supported.

1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.32

hwL2IfActivePortType

SYNTAX INTEGER

{

invalid(0),

trunk(1),

access(2),

hybrid(3),

fabric(4),

qinq(5)

}

Read-only

This object indicates the negotiated interface type.

This object is implemented as defined in the corresponding MIB files.

Creation Restriction

This table cannot be created.

Modification Restriction

If you modify a row of the hwL2IfPortType, the contents of the hwL2IFHybridPortTable and hwL2IfTrunkPortTable are affected.

If you successfully set the value of the hwL2IfPVID of a row, the value of the hwL2VlanPortList of the corresponding VLAN in the hwL2VlanMIBTable in the HUAWEI-L2VLAN-MIB is changed. The port list value of the corresponding VLAN is also changed. The hwL2VlanPortList object contains this port.

In the table, the relevant function of the hwL2IfIsSrcMacFilter is not supported now. You can only access its default value: false.

At present, only the iVL mode of learning the MAC address is supported for the hwL2IfMacAddrLearnMode. You can access its value iVL only.

At present, the hwL2IfMacAddressLearn cannot be modified. You can only access its default value: enable.

Deletion Restriction

This table cannot be deleted.

Access Restriction

This table shows the information about all ports on the current device. When a port is added, a row is created in the table. The index value is allocated from 1 in ascending mode. When a port is removed, the index value of the port can be allocated to the next port added.

The instance of the hwL2IfPortIfIndex corresponds to the instance of the ifIndex in the ifTable.

Translation
Download
Updated: 2019-06-05

Document ID: EDOC1000097213

Views: 94247

Downloads: 648

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next