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


To have a better experience, please upgrade your IE browser.


Configuration Guide - Network Management and Monitoring

S1720, S2700, S5700, and S6720 V200R011C10

This document provides the configurations of network management and monitoring features supported by the product, including SNMP, RMON and RMON2, LLDP, Performance Management, iPCA, NQA, Service Diagnosis, Mirroring, Packet Capture, NetStream, sFlow, TWAMP Light, and NETCONF.

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).
Example for Configuring CDP-Compatible LLDP

Example for Configuring CDP-Compatible LLDP

Networking Requirements

As shown in Figure 4-14, SwitchA (a Huawei device) connects to SwitchB (a non-Huawei device) through an unknown network. The NMS and the switches have reachable routes to each other, and SNMP is configured on devices and NMS.

A network administrator wants to obtain Layer 2 information about SwitchA and SwitchB to know details about network topology and configuration conflicts.

Figure 4-14  Configuring CDP-compatible LLDP

Configuration Roadmap

The configuration roadmap is as follows:
  1. Enable global LLDP on SwitchA.
  2. Enable CDP-compatible LLDP on SwitchA so that SwitchA can discover non-Huawei neighbors.


  1. Enable global LLDP on SwitchA.

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchA
    [SwitchA] lldp enable

  2. Enable CDP-compatible LLDP on SwitchA.

    # Enable CDP-compatible LLDP on GE0/0/1

    [SwitchA] interface gigabitethernet 0/0/1
    [SwitchA-GigabitEthernet0/0/1] lldp compliance cdp receive
    [SwitchA-GigabitEthernet0/0/1] quit
    [SwitchA] quit

  3. Verify the configurations.

    # View the configuration of CDP-compatible LLDP, CDP trap function, and the delay in sending CDP trap messages.
    • View local CDP information on SwitchA.

      <SwitchA> display cdp local
      Remote Table Statistics:
      Remote Table Last Change Time   :0 days, 23 hours, 21 minutes, 37 seconds
      Remote Neighbors Added             :0
      Remote Neighbors Deleted           :0
      Remote Neighbors Dropped           :0
      Remote Neighbors Aged              :0
      Total Neighbors                    :1
      Port information:
      Interface GigabitEthernet0/0/1:
      CDP Status               :enabled             (default is disabled)             
      Total Neighbors          :1  
        ---- More ----  
    • View neighbor CDP information on SwitchA.

      <SwitchA> display cdp neighbor
      GigabitEthernet0/0/1 has 1 neighbor(s):                                          
      Neighbor index :1                                                               
      Device ID                :ME3400                                                          
      Port ID                  :GigabitEthernet0/4                                              
      Version                  :SCCP75.8-3-3SR2S
      Platform                 :cisco ME-3400EG-2CS-A
      MacAddress               :b4a4-e3cf-e984                                                  
      Discovered time          :0 days, 22 hours, 33 minutes, 36 seconds                        
      Expired time             :122                                
      Power drawn              :12000 mw 
      Power request ID         :39308 
      Power management ID      :2 
      Power request levels     :12000 mw 0 mw
        ---- More ----  

Configuration File

SwitchA configuration file

sysname SwitchA
lldp enable
interface GigabitEthernet0/0/1
 lldp compliance cdp receive
Updated: 2020-02-06

Document ID: EDOC1000178174

Views: 206759

Downloads: 824

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next