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

NE20E-S2 V800R010C10SPC500 Configuration Guide - System Management 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - System Management
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).
Configuring the LLDP Alarm Function

Configuring the LLDP Alarm Function

This section describes how to configure the LLDP alarm function on a network device, so that the device can send alarms to the NMS when information about neighbors changes.

Applicable Environment

After the LLDP alarm function is configured on a device, the device sends alarms to the NMS when information about neighbors changes.

To avoid network flapping caused by frequent LLDP alarms being sent to the NMS, configure a delay for the device to send alarms.

Pre-configuration Tasks

Before configuring the LLDP alarm function, complete the following task:

  • Configuring reachable routes between devices and the NMS, and SNMP parameters

Configuration Procedures

Figure 4-4 Flowchart for configuring the LLDP alarm function

Enabling the LLDP Alarm Function

This section describes how to enable the LLDP alarm function, so that a device can send alarms to the NMS when information about neighbors changes.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run snmp-agent trap enable feature-name lldp [ trap-name lldpremtableschange ]

    The LLDP alarm function is enabled.

    After the LLDP alarm function is enabled for a device, the device sends alarms to the NMS when one of the following events occurs.
    • The LLDP 1.0.8802.1.1.2.0.0.1 lldpRemTablesChange alarm will be generated when the status information about an LLDP neighbor changes.

    The LLDP alarm function takes effect globally to control the capability to send LLDP alarms on all interfaces on a device.

    NOTE:
    The network topology changes frequently when the networking is first formed. After the LLDP alarm function is enabled for a device, the device will frequently send alarms to the NMS. This increases the load on the system and wastes resources. It is recommended that you disable the LLDP alarm function when the networking is first formed.

  3. Run commit

    The configuration is submitted.

(Optional) Configuring a Delay for Sending LLDP Alarms

This section describes how to configure a delay for sending LLDP alarms, so that flapping of network topology caused by frequent LLDP alarms can be prevented.

Background Information

The delay for sending LLDP alarms should be appropriate. You can adjust this parameter based on the load of a network.
  • The longer the delay, the lower the frequency of network topology changes on a device. However, if the delay for sending LLDP alarms is too long, the NMS cannot trace changes of the neighbor status. As a result, the NMS cannot refresh network topology for a device in a timely manner.

  • The shorter the delay, the higher the frequency of network topology changes on a device. This helps the NMS refresh network topology on the device in a timely manner. However, if the delay is too short, the NMS refreshes status information about neighbors frequently. This causes flapping of network topology on a device, increases the load on the system, and wastes resources.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run lldp enable

    The LLDP function is enabled globally.

  3. Run lldp trap-interval

    A delay for sending LLDP alarms is configured.

    It is recommended that you use the default delay for sending LLDP alarms unless otherwise noted.

Verifying the Configuration of the LLDP Alarm Function

After configuring the LLDP alarm function, verify the configuration.

Prerequisites

All configurations for the LLDP alarm function are complete.

Procedure

  • Run the display snmp-agent trap feature-name lldp all command to check all trap messages about the LLDP module.
  • Run the display lldp local [ interface interface-type interface-number ] command to check local LLDP status information on a device.

Example

The display snmp-agent trap feature-name lldp all command output shows the status of LLDP trap configured for a device.

<HUAWEI>display snmp-agent trap feature-name lldp all
------------------------------------------------------------------------------
Feature name: LLDP
Trap number : 1
------------------------------------------------------------------------------
Trap name                      Default switch status   Current switch status
lldpRemTablesChange            off                     on

The display lldp local command output shows the delay configured for a device to send LLDP alarms.

<HUAWEI> display lldp local
System information
--------------------------------------------------------------------------
Chassis type                       :macAddress
Chassis ID                         :384b-7e21-1220
System name                        :HUAWEI                        
System description                 :Huawei Versatile Routing Platform Software
VRP (R) software, Version 8.180 (NE20E V800R010C10)
Copyright (C) 2012-2015 Huawei Technologies Co., Ltd.
HUAWEI NE20E

System capabilities supported      :bridge router 
System capabilities enabled        :bridge router 
LLDP Up time                       :2015/04/23 02:24:44

System configuration
--------------------------------------------------------------------------
LLDP Status                        :enabled              (default is disabled)         
LLDP Message Tx Interval           :15                   (default is 30s)              
LLDP Message Tx Hold Multiplier    :4                    (default is 4)                
LLDP Refresh Delay                 :3                    (default is 2s)               
LLDP Tx Delay                      :1                    (default is 2s)               
LLDP Notification Interval         :5                    (default is 5s)               
LLDP Notification Enable           :enabled              (default is disabled)          
Management Address                 :ipv4: 1.2.3.4                                
LLDP Fast Message Count            :3                    (default is 4)                

Remote Table Statistics:
--------------------------------------------------------------------------
Remote Table Last Change Time      :5 days,1 hours, 06 minutes,50 seconds
Remote Neighbors Added             :1
Remote Neighbors Deleted           :0
Remote Neighbors Dropped           :0
Remote Neighbors Aged              :0
Total Neighbors                    :1

Port information:
--------------------------------------------------------------------------
Interface Gigabitethernet0/3/0:
LLDP Enable Status                 :txAndRx              (default is disabled)
Total Neighbors                    :1

Port ID subtype                    :interfaceName
Port ID                            :Gigabitethernet0/3/0
Port description                   :

Port and Protocol VLAN ID(PPVID)   :unsupported
Port VLAN ID(PVID)                 :0
VLAN name of VLAN                 :--
Protocol identity                  :STP RSTP/MSTP LACP EthOAM
Auto-negotiation supported         :Yes
Auto-negotiation enabled           :No
OperMau                            :speed (10000) /duplex (Full)
Link aggregation supported         :Yes
Link aggregation enabled           :No
Aggregation port ID                :0
Maximum frame Size                 :9216
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055400

Views: 20160

Downloads: 30

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