HUAWEI-PORT-MIB
Functions Overview
HUAWEI-PORT-MIB is used to configure attributes for interfaces. You can use this MIB to set the attributes of Ethernet interface, including the transmission rate, duplex mode, auto-negotiation mode and period before an interface goes up or down. In addition, you can query these attributes of Ethernet interface.
The OID of the root object is as follows: iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).huawei(2011).huaweiMgmt(5).hwDatacomm(25).hwPortMib(157)
Description of MIB Tables
hwEthernetTable
This table describes the access and configuration of physical attributes of various Ethernet interfaces.
The index of this table is hwEthernetIfIndex.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.157.1.1.1.1.1 |
hwEthernetIfIndex |
InterfaceIndex |
Not-accessible |
This object indicates the index of a current in-position interface. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.157.1.1.1.1.13 |
hwEthernetSpeedSet |
INTEGER { other(1), speed10(2), speed100(3), speed1000(4), speed10000(5), speed2500(8), speed5000(9), speed12000(11) } |
Read-write |
The value of this object identifies the transmission rate of an Ethernet interface. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.157.1.1.1.1.14 |
hwEthernetDuplex |
INTEGER{ full(1), half(2) } |
Read-write |
This object indicates the duplex mode of an Ethernet interface. Ethernet electrical interfaces can work in either half-duplex or full-duplex mode. Ethernet optical interfaces can only work in full-duplex mode. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.157.1.1.1.1.15 |
hwEthernetNegotiation |
EnabledStatus |
Read-write |
The value of this object identifies the auto-negotiation mode on an Ethernet electrical interface. By default, the value is enable. hwEthernetSpeedSet, hwEthernetDuplex, and hwEthernetNegotiation are associated with each other.
|
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.157.1.1.1.1.37 |
hwEthernetJumboframeMaxLength |
INTEGER32(1536..12288) |
Read-write |
The value of this object identifies the maximum frame length allowed by an Ethernet interface. |
The value varies according to device models. For details, see jumboframe enable. |
1.3.6.1.4.1.2011.5.25.157.1.1.1.1.39 |
hwEthernetPortMode |
INTEGER 1: copper(1) 2: fiber(2) 3: other(3) |
Read-only |
This object indicates the working mode of the interface. |
This object is implemented as defined in the corresponding MIB files. |
Creation Restriction
No entry can be created in this table.
Modification Restriction
The entries in this table can be modified.
Deletion Restriction
No entry in this table can be deleted.
Access Restriction
None.
hwPhysicalPortTable
This table is used to query and configure attributes of various physical interfaces.
The index of this table is hwPhysicalPortIfIndex.
OID |
Object Name |
Syntax |
Maximum Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.157.1.8.1.1.1 |
hwPhysicalPortIfIndex |
InterfaceIndex |
accessible-for-notif |
This object indicates the index of a physical interface on the switch. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.8.1.1.4 |
hwPhysicalPortName |
OCTET STRING |
read-only |
This object indicates the interface name. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.8.1.1.20 |
hwInputRateChangeThresholdPercent |
Integer32 |
read-write |
This object indicates the trap threshold for a sudden traffic volume change in the inbound direction. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.8.1.1.21 |
hwOutputRateChangeThresholdPercent |
Integer32 |
read-write |
This object indicates the trap threshold for a sudden traffic volume change in the outbound direction. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.8.1.1.22 |
hwCurrentStatisticalPeriodRate |
Counter64 |
read-only |
This object indicates the interface rate in the current traffic statistics collection interval. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.8.1.1.23 |
hwLastStatisticalPeriodRate |
Counter64 |
read-only |
This object indicates the interface rate in the previous traffic statistics collection interval. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.8.1.1.41 |
hwInputDiscardEnable |
EnabledStatus |
read-write |
This object indicates that the function of reporting an alarm if incoming packets are discarded due to a congestion is enabled. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.8.1.1.42 |
hwInputDiscardThreshold |
Unsigned32 |
read-write |
This object indicates the alarm threshold for the number of discarded incoming packets due to a congestion. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.8.1.1.43 |
hwInputDiscardInterval |
Integer32 |
read-write |
This object indicates the interval for reporting an alarm if incoming packets are discarded due to a congestion. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.8.1.1.44 |
hwInputDiscardStatistics |
Counter64 |
read-only |
This object indicates the statistics collected on discarding incoming packets due to a congestion. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.8.1.1.45 |
hwOutputDiscardEnable |
EnabledStatus |
read-write |
This object indicates that the function of reporting an alarm if outgoing packets are discarded due to a congestion is enabled. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.8.1.1.46 |
hwOutputDiscardThreshold |
Unsigned32 |
read-write |
This object indicates the alarm threshold for the number of discarded outgoing packets due to a congestion. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.8.1.1.47 |
hwOutputDiscardInterval |
Integer32 |
read-write |
This object indicates the interval for reporting an alarm if outgoing packets are discarded due to a congestion. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.8.1.1.48 |
hwOutputDiscardStatistics |
Counter64 |
read-only |
This object indicates the statistics collected on discarded outgoing packets due to a congestion. |
This object is implemented as defined in the corresponding MIB file. |
Creation Restriction
No entry can be created in this table.
Modification Restriction
The entries in this table cannot be modified.
Deletion Restriction
The entries in this table cannot be deleted.
Access Restriction
The entries in this table can be read without restriction.
hwPortAlarmThresholdTable
This table is used to query trap information about a sudden broadcast traffic volume change in the inbound direction of interfaces.
The index of this table is hwPhysicalPortThrIfIndex.
OID |
Object Name |
Syntax |
Maximum Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.157.1.14.1.1.1 |
hwPhysicalPortThrIfIndex |
Integer32 |
accessible-for-notify |
This object indicates the interface index. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.14.1.1.2 |
hwPhysicalPortThrName |
Octets |
read-only |
This object indicates the interface name. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.14.1.1.60 |
hwInputBroadcastChangeThreshold |
Unsigned32 |
read-only |
This object indicates the threshold of the broadcast packet rate change in the inbound direction of interfaces. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.14.1.1.61 |
hwCurrentStatisticalInputBroadcast |
Counter64 |
read-only |
This object indicates the broadcast packet rate in the inbound direction of interfaces in the current traffic statistics collection interval. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.14.1.1.63 |
hwPhysicalPortInputStatistics |
Counter64 |
read-only |
This object indicates the number of received packets on an interface. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.14.1.1.64 |
hwPhysicalPortCrcErrorRatioInterval |
Unsigned32 |
read-write |
This object indicates the interval for calculating the percentage of CRC packets against all the received packets on an interface. The value is an integer that ranges from 10 to 65535, in seconds. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.14.1.1.62 |
hwBaseStatisticalInputBroadcast |
Counter64 |
read-only |
This object indicates the base broadcast packet rate in the inbound direction of interfaces. |
This object is implemented as defined in the corresponding MIB file. |
Creation Restriction
No entry can be created in this table.
Modification Restriction
The entries in this table cannot be modified.
Deletion Restriction
The entries in this table cannot be deleted.
Access Restriction
The entries in this table can be read without restriction.
hwPortProtectGroupCfgTable
This table describes the access and configuration of port protection group attributes.
The index of this table is hwPortProtectGroupId.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.157.1.16.1.1.1 |
hwPortProtectGroupId |
Integer32 |
not-accessible |
This object indicates the port protection group index on the device. |
1-64 |
1.3.6.1.4.1.2011.5.25.157.1.16.1.1.2 |
hwPortProtectMasterIfIndex |
Integer32 |
read-create |
This object indicates the master port index added to the port group. |
1 |
1.3.6.1.4.1.2011.5.25.157.1.16.1.1.3 |
hwPortProtectMasterStatus |
INTEGER{ work(1) protect(2) down(3) } |
read-only |
This object indicates the master port status. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.157.1.16.1.1.4 |
hwPortProtectSlaveIfIndex |
Integer32 |
read-create |
This object indicates the slave port index added to the port group. |
1 |
1.3.6.1.4.1.2011.5.25.157.1.16.1.1.5 |
hwPortProtectSlaveStatus |
INTEGER{ work(1) protect(2) down(3) } |
read-only |
This object indicates the slave port status. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.157.1.16.1.1.6 |
hwPortProtectRowStatus |
RowStatus { active(1), notInService(2), notReady(3), createAndGo (4), createAndWait(5), destroy(6) } |
read-create |
This object indicates the row status of the port protection group. |
This object is implemented as defined in the corresponding MIB files. |
Creation Restriction
- The index hwPortProtectGroupId must be specified when an entry is created in this table.
- Set operations on entries in this table must comply with entry creation standards defined in SNMPv2.
- A port protection group must be created first when an entry is created in this table, and member ports are then added to the group.
Modification Restriction
To modify the ports added to the port protection group, delete the original member ports from the group first and then add other ports to the group.
Deletion Restriction
- The member ports must be deleted before an entry is deleted.
- If there are no member ports in the port protection group, an entry can be directly deleted.
Access Restriction
If no member port is added to the port protection group, the accessed port index is -1.
hwPortDescriptionTable
This table describes the access and configuration of attributes related to port description.
The index of this table is hwPortDescriptionIfIndex.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.157.1.19.1.1.1 |
hwPortDescriptionIfIndex |
Integer32 |
not-accessible |
This object indicates the interface index. |
This object is implemented as defined in the corresponding MIB file. |
1.3.6.1.4.1.2011.5.25.157.1.19.1.1.2 |
hwPortDescriptionIfPortDescription |
INTEGER { router(1), switch(2), phone(3), desktop (4), null(5), } |
read-write |
This object indicates type description of the object connected to the port. |
This object is implemented as defined in the corresponding MIB file. |
Creation Restriction
- The hwPortDescriptionIfIndex object must be set when you create an entry in this table.
- Set operations on entries in this table must comply with entry creation standards defined in SNMPv2.
Modification Restriction
None.
Deletion Restriction
- This table cannot be deleted.
Access Restriction
If no description is configured for an interface, the value is displayed as null.
Description of Alarm Objects
hwInputDiscardNotice
OID |
Object Name |
Bound Variable |
Description | Implemented Specifications |
---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.157.2.300 |
hwInputDiscardNotice |
|
This object indicates that the number of discarded incoming packets on the interface exceeds the threshold. |
This object is implemented as defined in the corresponding MIB file. |
hwOutputDiscardNotice
OID |
Object Name |
Bound Variable |
Description | Implemented Specifications |
---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.157.2.301 |
hwOutputDiscardNotice |
|
This object indicates that the number of discarded outgoing packets on the interface exceeds the threshold. |
This object is implemented as defined in the corresponding MIB file. |
hwInputRateChangeOverThresholdNotice
OID |
Object Name |
Bound Variable |
Description |
Implemented Specifications |
---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.157.2.219 |
hwInputRateChangeOverThresholdNotice |
|
This object indicates that the switch generates a trap when the sudden traffic volume change percentage in the inbound direction of interfaces exceeds the trap threshold. |
This object is implemented as defined in the corresponding MIB file. |
hwOutputRateChangeOverThresholdNotice
OID |
Object Name |
Bound Variable |
Description |
Implemented Specifications |
---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.157.2.220 |
hwOutputRateChangeOverThresholdNotice |
|
This object indicates that the switch generates a trap when the sudden traffic volume change percentage in the outbound direction of interfaces exceeds the trap threshold. |
This object is implemented as defined in the corresponding MIB file. |
hwNotSameBoardInTrunk
OID |
Object Name |
Binding Variable |
Description |
Implemented Specifications |
---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.157.2.211 |
hwNotSameBoardInTrunk |
hwPhysicalPortIfIndex hwPhysicalPortName |
During configuration restoration, interfaces on different types of cards join the same Eth-Trunk. |
This object is implemented as defined in the corresponding MIB files. |
hwPhysicalPortCrcRatioExceed
OID |
Object Name |
Bound Variable |
Description |
Implemented Specifications |
---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.157.2.157.21 |
hwPhysicalPortCrcRatioExceed |
|
This object indicates that the percentage of received CRC packets on an interface against all the received packets exceeds the alarm threshold. |
This object is implemented as defined in the corresponding MIB file. |
hwPhysicalPortCrcRatioResume
OID |
Object Name |
Bound Variable |
Description |
Implemented Specifications |
---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.157.2.157.22 |
hwPhysicalPortCrcRatioResume |
|
This object indicates that the percentage of received CRC packets on an interface against all the received packets is lower than the alarm threshold. |
This object is implemented as defined in the corresponding MIB file. |
hwPhysicalPortInBroadcastRapidChange
OID |
Object Name |
Bound Variable |
Description |
Implemented Specifications |
---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.157.2.157.20 |
hwPhysicalPortInBroadcastRapidChange |
hwPhysicalPortThrIfIndex hwPhysicalPortThrName hwInputBroadcastChangeThreshold hwCurrentStatisticalInputBroadcast hwBaseStatisticalInputBroadcast |
This object indicates that the volume of broadcast traffic in the inbound direction of interfaces changes suddenly. |
This object is implemented as defined in the corresponding MIB file. |
hwTunnelIfNumExceededSpecAlarm
OID |
Object Name |
Bound Variable |
Description |
Implemented Specifications |
---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.157.2.305 |
hwTunnelIfNumExceededSpecAlarm |
|
The alarm is generated if the number of tunnel interfaces exceeds the upper limit. |
This object is implemented as defined in the corresponding MIB file. |