S1720, S2700, S5700, and S6720 V200R011C10 MIB Reference

This document provides the function overview, relationships between tables, description of single objects, description of MIB tables, and description of alarm objects.

This document provides the function overview, relationships between tables, description of single objects, description of MIB tables, and description of alarm objects.

HUAWEI-PORT-MIB

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)

Relationship Between the Tables

None.

Description of Single Objects

None.

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),

speed40000(6),

speed20000(7),

speed2500(8),

speed5000(9),

speed12000(11),

speed48000(12)

}

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.

  • If hwEthernetNegotiation is set to enable, the values of hwEthernetSpeedSet and hwEthernetDuplex are obtained through auto-negotiation.
  • hwEthernetSpeedSet and hwEthernetDuplex can be set only when hwEthernetNegotiation is set to disable.

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.38

hwEthernetComboType

INTEGER

1: auto(1)

2: copper(2)

3: fiber(3)

4: other(4)

Read-write

This object indicates the working mode of the combo 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.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.

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

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.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.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.

0-127

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.

hwIPIfStatTable

This table is used to query IP packet statistics on a specified interface.

Indexes of this table are hwIpIfStatsIfIndex and hwIpIfStatsIPVersion.

OID

Object Name

Syntax

Max Access

Description

Implemented Specifications

1.3.6.1.4.1.2011.5.25.157.1.18.2.1.1

hwIpIfStatsIPVersion

INTEGER

not-accessible

This object indicates the protocol type.
  • 1: IPv4
  • 2: IPv6

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

1.3.6.1.4.1.2011.5.25.157.1.18.2.1.2

hwIpIfStatsIfIndex

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.18.2.1.3

hwIpIfInOctetRate

Counter64

read-only

This object indicates the rate of bytes in IP packets in the inbound direction of the interface.

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

1.3.6.1.4.1.2011.5.25.157.1.18.2.1.4

hwIpIfInPktRate

Counter64

read-only

This object indicates the rate of IP packets in the inbound direction of the interface.

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

1.3.6.1.4.1.2011.5.25.157.1.18.2.1.5

hwIpIfOutOctetRate

Counter64

read-only

This object indicates the rate of bytes in IP packets in the outbound direction of the interface.

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

1.3.6.1.4.1.2011.5.25.157.1.18.2.1.6

hwIpIfOutPktRate

Counter64

read-only

This object indicates the rate of IP packets in the outbound direction of the interface.

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

1.3.6.1.4.1.2011.5.25.157.1.18.2.1.7

hwIpIfInOctets

Counter64

read-only

This object indicates the number of bytes in IP packets in the inbound direction of the interface.

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

1.3.6.1.4.1.2011.5.25.157.1.18.2.1.8

hwIpIfInPkts

Counter64

read-only

This object indicates the number of IP packets in the inbound direction of the interface.

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

1.3.6.1.4.1.2011.5.25.157.1.18.2.1.9

hwIpIfOutOctets

Counter64

read-only

This object indicates the number of bytes in IP packets in the outbound direction of the interface.

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

1.3.6.1.4.1.2011.5.25.157.1.18.2.1.10

hwIpIfOutPkts

Counter64

read-only

This object indicates the number of IP packets in the outbound direction of the interface.

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

Creation Restriction

The entries in this table cannot be created.

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.

Description of Alarm Objects

hwInputRateChangeOverThresholdNotice

OID

Object Name

Bound Variable

Description

Implemented Specifications

1.3.6.1.4.1.2011.5.25.157.2.219

hwInputRateChangeOverThresholdNotice

  • hwPhysicalPortName

  • hwInputRateChangeThresholdPercent

  • hwCurrentStatisticalPeriodRate

  • hwLastStatisticalPeriodRate

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.

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.

hwOutputRateChangeOverThresholdNotice

OID

Object Name

Bound Variable

Description

Implemented Specifications

1.3.6.1.4.1.2011.5.25.157.2.220

hwOutputRateChangeOverThresholdNotice

  • hwPhysicalPortName

  • hwOutputRateChangeThresholdPercent

  • hwCurrentStatisticalPeriodRate

  • hwLastStatisticalPeriodRate

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.

hwPortCrcRateExceed

OID

Object Name

Bound Variable

Description

Implemented Specifications

1.3.6.1.4.1.2011.5.25.157.2.157.18

hwPortCrcRateExceed

  • hwPhysicalPortThrIfIndex
  • hwPhysicalPortThrName
  • hwPhysicalPortCrcPerCurrentValueString
  • hwPhysicalPortCrcPerAlarmThresholdString

This object indicates that an alarm is generated when the rate of receiving CRC error packets by an interface equals or exceeds 1000 packets per second.

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

Only XGE interfaces on the S5720EI and the last four GE interfaces on the S5720-P-EI and S5720-PC-EI support this object after stacking is enabled on the switch.

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.

hwSubIfNumExceededSpecAlarm

OID

Object Name

Bound Variable

Description

Implemented Specifications

1.3.6.1.4.1.2011.5.25.157.2.239

hwSubIfNumExceededSpecAlarm

hwSubIfSpecNum

This object indicates that the number of sub-interfaces on the switch exceeds the maximum value.

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

Only the S6720EI, S6720S-EI, S5720HI, and S5720EI support Ethernet sub-interfaces.

hwSubIfNumExceededSpecAlarmResume

OID

Object Name

Bound Variable

Description

Implemented Specifications

1.3.6.1.4.1.2011.5.25.157.2.240

hwSubIfNumExceededSpecAlarmResume

hwSubIfSpecNum

This object indicates that the number of sub-interfaces on the switch is less than or equal to the maximum value.

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

Only the S6720EI, S6720S-EI, S5720HI, and S5720EI support Ethernet sub-interfaces.

hwPortErrorRateExceed

Only XGE interfaces on the S5720EI support this object.

OID

Object Name

Bound Variable

Description

Implemented Specifications

1.3.6.1.4.1.2011.5.25.157.2.157.19

hwPortErrorRateExceed

  • hwPhysicalPortThrIfIndex
  • hwPhysicalPortThrName
  • hwPhysicalPortErrorPerCurrentValueString
  • hwPhysicalPortErrorPerAlarmThresholdString

This object indicates that a trap is generated when the rate of receiving error packets by an interface equals or exceeds 1000 packets per second.

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

hwPortProtectGroupUnavailable

OID

Object Name

Bound Variable

Description

Implemented Specifications

1.3.6.1.4.1.2011.5.25.157.2.248

hwPortProtectGroupUnavailable

hwPortProtectGroupId

The port protection group function becomes unavailable.

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

hwPortProtectGroupAvailable

OID

Object Name

Bound Variable

Description

Implemented Specifications

1.3.6.1.4.1.2011.5.25.157.2.249

hwPortProtectGroupAvailable

hwPortProtectGroupId

The port protection group function becomes available.

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

hwPortProtectGroupDelete

OID

Object Name

Bound Variable

Description

Implemented Specifications

1.3.6.1.4.1.2011.5.25.157.2.250

hwPortProtectGroupDelete

hwPortProtectGroupId

The port protection group is deleted.

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

hwCableSnrAbnormal

OID

Object Name

Bound Variable

Description

Implemented Specifications

1.3.6.1.4.1.2011.5.25.157.2.257

hwCableSnrAbnormal

  • hwPhysicalPortIfIndex
  • hwPhysicalPortName

This object indicates that the network cable quality is poor.

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

Only MultiGE electrical interfaces on the S6720-52X-PWH-SI, S6720-56C-PWH-SI-AC, S6720-56C-PWH-SI, S5720-28X-PWH-LI-AC, S6720-32C-SI-AC, S6720-32C-SI-DC, S6720-32C-PWH-SI-AC, and S6720-32C-PWH-SI support this object.

hwCableSnrNormal

OID

Object Name

Bound Variable

Description

Implemented Specifications

1.3.6.1.4.1.2011.5.25.157.2.258

hwCableSnrNormal

  • hwPhysicalPortIfIndex
  • hwPhysicalPortName

This object indicates that the network cable quality is good.

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

Only MultiGE electrical interfaces on the S6720-52X-PWH-SI, S6720-56C-PWH-SI-AC, S6720-56C-PWH-SI, S5720-28X-PWH-LI-AC, S6720-32C-SI-AC, S6720-32C-SI-DC, S6720-32C-PWH-SI-AC, and S6720-32C-PWH-SI support this object.

hwCableSnrDetectNotSupport

OID

Object Name

Bound Variable

Description

Implemented Specifications

1.3.6.1.4.1.2011.5.25.157.2.259

hwCableSnrDetectNotSupport

  • hwPhysicalPortIfIndex
  • hwPhysicalPortName

This object indicates that the network cable quality cannot be checked.

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

Only MultiGE electrical interfaces on the S6720-52X-PWH-SI, S6720-56C-PWH-SI-AC, S6720-56C-PWH-SI, S5720-28X-PWH-LI-AC, S6720-32C-SI-AC, S6720-32C-SI-DC, S6720-32C-PWH-SI-AC, and S6720-32C-PWH-SI support this object.

Translation
Favorite
Download
Update Date:2021-10-30
Document ID:EDOC1000178181
Views:1470635
Downloads:3939
Average rating:0.0Points

Digital Signature File

digtal sigature tool