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

Fat AP and Cloud AP V200R010C00 Command Reference

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).
snmp-agent trap enable feature-name lldptrap

snmp-agent trap enable feature-name lldptrap

Function

The snmp-agent trap enable feature-name lldptrap command enables the LLDP trap function on the device.

The undo snmp-agent trap enable feature-name lldptrap command disables the LLDP trap function on the device.

By default, the LLDP trap function is enabled.

Format

snmp-agent trap enable feature-name lldptrap [ trap-name { hwlldpdisabled | hwlldpenabled | hwlldplocmanipaddrchange | lldpremtableschange } ]

undo snmp-agent trap enable feature-name lldptrap [ trap-name { hwlldpdisabled | hwlldpenabled | hwlldplocmanipaddrchange | lldpremtableschange } ]

Parameters

Parameter

Description

Value

trap-name

Enables or disables the trap function for the specified event.

-

hwlldpdisabled

Sends a Huawei private trap when the LLDP function is disabled globally.

-

hwlldpenabled

Sends a Huawei private trap when the LLDP function is enabled globally.

-

hwlldplocmanipaddrchange

Sends a Huawei private trap when the LLDP management address of the device changes.

-

lldpremtableschange

Sends a Huawei private trap when LLDP neighbor information changes.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To enable the device to send traps when the LLDP status changes, run the snmp-agent trap enable feature-name lldptrap command.

Prerequisites

A reachable route exists between the device and the NMS, and the SNMP parameters are set.

Configuration Impact

After the LLDP trap function is enabled, the device sends traps to the NMS in one of the following cases:
  • The LLDP function is enabled or disabled globally.
  • The local management address changes.
  • Neighbor information changes. No trap is generated if the management address of a neighbor changes.

Precautions

The LLDP trap function applies to all interfaces. The LLDP trap function takes effect no matter whether LLDP is enabled globally.

If the network topology is unstable, disable the LLDP trap function to prevent frequent trap sending.

To set the interval between sending neighbor change traps to the NMS, run the lldp trap-interval command. If neighbor information changes frequently, extend the interval to reduce the number of traps. In this way, network topology flapping is suppressed.

Example

# Enable the LLDP trap function on the device.

<Huawei> system-view
[Huawei] snmp-agent trap enable feature-name lldptrap
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207913

Downloads: 122

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