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 Configuration Guide - Network Management and Monitoring

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, Traffic Distribution, NetStream, sFlow, and TWAMP Light.
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 LLDP on a Device that Has a Single Neighbor

Example for Configuring LLDP on a Device that Has a Single Neighbor

Networking Requirements

As shown in Figure 3-11, SwitchA and SwitchB are directly connected; the NMS has reachable routes to SwitchA and SwitchB; SNMP is configured on devices and NMS.

A network administrator wants to obtain communication information between SwitchA and SwitchB and the device function change traps to know details about network topology and configuration conflicts. The LLDP function can meet the network administrator's requirement.

Figure 3-11  Single-neighbor network

Configuration Roadmap

The configuration roadmap is as follows:
  1. Enable global LLDP on SwitchA and SwitchB.
  2. Enable the LLDP trap function on SwitchA and SwitchB so that trap messages can be sent to the NMS in a timely manner.

Procedure

  1. Enable global LLDP on SwitchA and SwitchB.

    # Configure SwitchA.
    <HUAWEI> system-view
    [HUAWEI] sysname SwitchA
    [SwitchA] lldp enable
    # Configure SwitchB.
    <HUAWEI> system-view
    [HUAWEI] sysname SwitchB
    [SwitchB] lldp enable

  2. Enable the LLDP trap function on SwitchA and SwitchB.

    # Configure SwitchA.
    [SwitchA] snmp-agent trap enable feature-name lldptrap
    # Configure SwitchB.
    [SwitchB] snmp-agent trap enable feature-name lldptrap

  3. Verify the configurations.

    • Check neighbor information for SwitchA.

      [SwitchA] display lldp neighbor brief
      Local Intf   Neighbor Dev             Neighbor Intf             Exptime(s)         
      GE1/0/1      SwitchB                  GE1/0/1                   101    
    • Check neighbor information for SwitchB.

      [SwitchB] display lldp neighbor brief
      Local Intf   Neighbor Dev             Neighbor Intf             Exptime(s)         
      GE1/0/1      SwitchA                  GE1/0/1                   101    

Configuration Files

  • SwitchA configuration file

    #
    sysname SwitchA
    #
    lldp enable
    #
    snmp-agent
    snmp-agent local-engineid 800007DB03020000000212
    snmp-agent sys-info version v3 
    snmp-agent trap enable feature-name LLDPTRAP
    #
    return
    
  • SwitchB configuration file

    #
    sysname SwitchB
    #
    lldp enable
    #
    snmp-agent
    snmp-agent local-engineid 800007DB03020000000211
    snmp-agent sys-info version v3 
    snmp-agent trap enable feature-name LLDPTRAP
    #
    return
Translation
Download
Updated: 2019-10-21

Document ID: EDOC1000178113

Views: 141263

Downloads: 55

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