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

S12700 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.
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).
Querying LLDP Information

Querying LLDP Information

Querying Basic LLDP Information

The LLDP MIB provides functions including configuring LLDP, querying LLDP packet statistics, and querying information about the local device and neighbors. The LLDP MIB also allows traps of specified events to be sent to the NMS.

Root object:

iso(1).std(0).iso8802(8802).ieee802dot1(1).ieee802dot1mibs(1).lldpMIB(2)

NOTE:

The section "LLDP-MIB" in MIB Reference describes MIBs in detail. This topic describes some MIB objects and parameters.

Table 3-11  MIB objects

Object

Description

OID

lldpMessageTxInterval

This object indicates the interval for sending LLDP packets, in seconds. The default value is 30s.

1.0.8802.1.1.2.1.1.1

lldpMessageTxHoldMultiplier

This object indicates the hold time multiplier of device information on neighbors. The default value is 4.

1.0.8802.1.1.2.1.1.2

lldpReinitDelay

This object indicates the delay in LLDP initialization, in seconds. The default value is 2s.

1.0.8802.1.1.2.1.1.3

lldpTxDelay

This object indicates the delay in sending LLDP packets, in seconds. The default value is 2s.

1.0.8802.1.1.2.1.1.4

lldpNotificationInterval

This object indicates the delay in sending neighbor change traps to the NMS, in seconds. The default value is 5s.

1.0.8802.1.1.2.1.1.5

lldpStatsRemTablesLastChangeTime

This object indicates the period in which a neighbor exists.

1.0.8802.1.1.2.1.2.1

lldpStatsRemTablesInserts

This object indicates the number of added neighbors.

1.0.8802.1.1.2.1.2.2

lldpStatsRemTablesAgeouts

This object indicates the number of deleted neighbors due to aging out of LLDP information.

1.0.8802.1.1.2.1.2.5

lldpLocChassisIdSubtype

This object indicates the ID subtype of the local device.

1.0.8802.1.1.2.1.3.1

lldpLocPortId

This object indicates the ID of the local port.

1.0.8802.1.1.2.1.3.7.1.3

lldpRemChassisIdSubtype

This object indicates the ID subtype of the neighbor.

1.0.8802.1.1.2.1.4.1.1.4

lldpRemChassisId

This object indicates the ID of the neighbor.

1.0.8802.1.1.2.1.4.1.1.5

Querying the LLDP Configuration

The LLDP MIB allows you to query the local LLDP configuration. Obtain the detailed information based on the objects in the file lldpConfiguration. This topic describes examples for obtaining the LLDP configuration based on some objects.

Querying the Interval for Sending LLDP Packets

Query the interval for sending LLDP packets based on lldpMessageTxInterval, as shown in Figure 3-102.

Figure 3-102  Querying the interval for sending LLDP packets

Querying the Hold Time Multiplier of LLDP Information on Neighbors

Query the hold time multiplier of LLDP information on neighbors based on lldpMessageTxHoldMultiplier, as shown in Figure 3-103.

Figure 3-103  Querying the hold time multiplier of LLDP information on neighbors

Querying the Delay in LLDP Initialization

Query the delay in LLDP initialization based on lldpReinitDelay, as shown in Figure 3-104.

Figure 3-104  Querying the delay in LLDP initialization

Querying the Delay for Sending LLDP Packets

Query the delay in sending LLDP packets based on lldpTxDelay, as shown in Figure 3-105.

Figure 3-105  Querying the delay in sending LLDP packets

Querying the Delay for Sending Neighbor Change Traps to the NMS

Query the delay in sending neighbor change traps to the NMS based on lldpNotificationInterval, as shown in Figure 3-106.

Figure 3-106  Querying the delay for sending neighbor change traps to the NMS
Querying Information About LLDP Neighbors

The LLDP MIB allows you to query information about neighbors. Obtain the detailed information based on the objects in the file lldpStatistics. This topic describes examples for obtaining information about LLDP neighbors based on some objects.

Querying the Time of the Latest Change in Neighbor Information

Query the time of the latest change in neighbor information based on lldpStatsRemTablesLastChangeTime, as shown in Figure 3-107.

Figure 3-107  Period in which a neighbor exists

Querying the Number of Added LLDP Neighbors

Query the number of added neighbors based on lldpStatsRemTablesInserts, as shown in Figure 3-108.

Figure 3-108  Querying the number of added LLDP neighbors

Querying the Number of Deleted LLDP Neighbors due to Aging out of LLDP Information

Query the number of deleted neighbors due to aging out of LLDP information based on lldpStatsRemTablesAgeouts, as shown in Figure 3-109.

Figure 3-109  Querying the number of deleted LLDP neighbors due to aging out of LLDP information
Querying Data on the Local LLDP Device

The LLDP MIB allows you to query data on the local device and detailed information based on the objects in the file lldpLocalSystemData. This topic describes examples for obtaining data on the local device based on some objects.

Querying the ID Subtype of the Local Device

Query the ID subtype of the local device based on lldpLocChassisIdSubtype, as shown in Figure 3-110.

Figure 3-110  Querying the ID subtype of the local device

Querying the ID of the Local Device

Query the ID of the local device based on lldpLocChassisIdSubtype, as shown in Figure 3-111.

Figure 3-111  Querying the ID of the local device

Querying the ID of the Local Port

Query the ID of the local port based on lldpLocPortId, as shown in Figure 3-112.

Figure 3-112  Querying the LLDP local port ID
Querying Data on LLDP Neighbors

The LLDP MIB allows you to query data on LLDP neighbors. Obtain the detailed information based on the objects in the file lldpRemoteSystemsData. This topic describes examples for obtaining data on LLDP neighbors based on some objects.

Querying the ID Subtypes of the LLDP Neighbors

Query the ID subtypes of the LLDP neighbors based on lldpRemChassisIdSubtype, as shown in Figure 3-113.

Figure 3-113  Querying the ID subtypes of the LLDP neighbors

Querying the IDs of the LLDP Neighbors

Query the IDs of the LLDP neighbors based on lldpRemChassisId, as shown in Figure 3-114.

Figure 3-114  Querying the IDs of the LLDP neighbors

Querying LLDP Extended Information

LLDP-EXT-DOT1-MIB

LLDP-EXT-DOT1-MIB provides type-length-values (TLVs) defined by IEEE 802.1, including releasing TLVs, and querying the port VLANs, VLAN names, protocol VLANs, and protocol types of the local and remote ports.

Root object:

iso(1).std(0).iso8802(8802).ieee802dot1(1).ieee802dot1mibs(1).lldpMIB(2).lldpObjects(1).lldpExtensions(5).lldpXdot1MIB(32962)

NOTE:

The section "LLDP-EXT-DOT1-MIB" in MIB Reference describes MIBs in detail. This topic describes some MIB objects and parameters.

Table 3-12  MIB objects

Object

Description

OID

lldpXdot1ConfigPortVlanTxEnable

This object indicates whether to send the local port VLAN IDs.

1.0.8802.1.1.2.1.5.32962.1.1.1.1.1

lldpXdot1LocPortVlanId

This object indicates the VLAN ID of the local port. The default value is 0.

1.0.8802.1.1.2.1.5.32962.1.2.1.1.1

LLDP-EXT-DOT3-MIB

LLDP-EXT-DOT3-MIB provides TLVs defined by IEEE 802.3, including releasing and enabling TLVs defined by IEEE 802.3, and querying the negotiation capabilities, power supply capabilities, link aggregation, and maximum frame lengths of the local and remote ports.

Root object:

iso(1).std(0).iso8802(8802).ieee802dot1(1).ieee802dot1mibs(1).lldpMIB(2).lldpObjects(1).lldpExtensions(5).lldpXdot3MIB(4623)

NOTE:

The section "LLDP-EXT-DOT3-MIB" in MIB Reference describes MIBs in detail. This topic describes some MIB objects and parameters.

Table 3-13  MIB objects

Object

Description

OID

lldpXdot3PortConfigTLVsTxEnable

This object indicates whether to send TLVs defined by IEEE 802.3.

1.0.8802.1.1.2.1.5.4623.1.1.1.1.1

lldpXdot3LocPortAutoNegSupported

This object indicates whether the local port supports auto-negotiation of the transmission rate.

1.0.8802.1.1.2.1.5.4623.1.2.1.1.1

Querying LLDP-EXT-DOT1-MIB Information

LLDP-EXT-DOT1-MIB allows you to query LLDP extended information defined by IEEE 802.1. Obtain the detailed information based on the objects in the file lldpXdot1MIB. This topic describes examples for obtaining LLDP extended information based on some objects.

Querying Whether TLVs Defined by IEEE 802.1 Are Sent

Query whether TLVs defined by IEEE 802.1 are sent based on lldpXdot1ConfigPortVlanTxEnable, as shown in Figure 3-115.

Figure 3-115  Querying whether the function of sending LLDP local Port VLAN ID TLV is enabled

Querying the VLAN ID of the Local Port

Query the VLAN ID of the local port based on lldpXdot1LocPortVlanId, as shown in Figure 3-116.

Figure 3-116  Querying the VLAN ID of the local port
Querying LLDP-EXT-DOT3-MIB Information

LLDP-EXT-DOT3-MIB allows you to query LLDP extended information defined by IEEE 802.3. Obtain the detailed information based on the objects in the file lldpXdot3MIB. This topic describes examples for obtaining LLDP extended information based on some objects.

Querying Whether to Send the TLVs Defined by IEEE 802.3

Query whether TLVs defined by IEEE 802.3 are sent based on lldpXdot3PortConfigTLVsTxEnable, as shown in Figure 3-117.

Figure 3-117  Querying whether TLVs defined by IEEE 802.3 are sent

Querying Whether the Local Port Supports Auto-Negotiation of the Transmission Rate

Query whether the local port supports auto-negotiation of the transmission rate based on lldpXdot3LocPortAutoNegSupported, as shown in Figure 3-118.

Figure 3-118  Querying whether the local port supports auto-negotiation of the transmission rate

Querying Huawei LLDP MIB Information

HUAWEI-LLDP-MIB is an extension of LLDP-MIB. HUAWEI-LLDP-MIB allows you to enable or disable global LLDP, configure management IPv4 addresses in the NMS, clear statistics about received and sent LLDP packets, and enable or disable the global trap function.

Root object:

iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).huawei(2011).huaweiMgmt(5).hwDatacomm(25).hwLldpMIB(134)

NOTE:

The section "HUAWEI-LLDP-MIB" in MIB Reference describes MIBs in detail. This topic describes some MIB objects and parameters.

Table 3-14  MIB objects

Object

Description

OID

hwLldpEnable

This object indicates whether global LLDP is enabled.

  • 1: Global LLDP is enabled.
  • 2: Global LLDP is disabled.

By default, global LLDP is enabled.

1.3.6.1.4.1.2011.5.25.134.1.1.1

hwLldpLocManIPAddr

This object indicates the local management IP address.

1.3.6.1.4.1.2011.5.25.134.1.1.2

hwLldpNotificationEnable

This object indicates whether the global trap function is enabled to control all ports.

  • 1: The global trap function is enabled.
  • 2: The global trap function is disabled.

By default, the global trap function is enabled.

NOTE:
This function controls only LLDP traps and does not take effect for MDN traps. By default, MDN trap is disabled.

1.3.6.1.4.1.2011.5.25.134.1.1.4

Querying HUAWEI-LLDP-MIB Information

HUAWEI-LLDP-MIB allows you to query LLDP extended information defined by Huawei. Obtain the detailed information based on the objects in the file hwLldpMIB. This topic describes examples for obtaining LLDP extended information based on some objects.

Querying Whether Global LLDP Is Enabled

Query whether global LLDP is enabled based on hwLldpEnable, as shown in Figure 3-119.

Figure 3-119  Querying whether global LLDP is enabled

Querying the Local Management IP Address

Query the local management IP address based on hwLldpLocManIPAddr, as shown in Figure 3-120.

Figure 3-120  Querying the local management IP address

Querying Whether Global LLDP Trap Is Enabled

Query whether global LLDP trap is enabled based on hwLldpNotificationEnable, as shown in Figure 3-121.

Figure 3-121  Querying whether global LLDP trap is enabled
Translation
Download
Updated: 2019-03-29

Document ID: EDOC1000178122

Views: 733321

Downloads: 36

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