Advertisement

Quick Links

LLDP Configuration
I

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LLDP and is the answer not in the manual?

Questions and answers

Summary of Contents for Techroutes LLDP

  • Page 1 LLDP Configuration...
  • Page 2: Table Of Contents

    Table of Contents Table of Contents Chapter 1 Link Layer-2 Discovery Protocol (LLDP) ......................1 1.1 LLDP Overview..............................1 1.1.1 Initializing the Protocol ..........................1 1.1.2 Initializing LLDP Transmit Mode ....................... 1 1.1.3 Initializing LLDP Reception Mode ......................2 1.1.4 LLDP PDU Packet Structure Description ....................2 1.2 LLDP Configuration Task List ..........................
  • Page 3: Chapter 1 Link Layer-2 Discovery Protocol (Lldp)

    It only reports configuration of layer-2. Simply, LLDP is a neighbor discovery protocol. It sets a standard method for the Ethernet network device, such as switches, routers and WAPs. It enables the Ethernet device notify its existence to other nodes and save the discovery information of neighboring devices.
  • Page 4: Initializing Lldp Reception Mode

    1.1.3 Initializing LLDP Reception Mode Set LLDP to receive-only in the interface mode. In receive-only mode, the interface can receive LLDP packets from the neighbors and save tlv into the remote MIB. The interface will drop LLDP packets when disabling the function.
  • Page 5: Lldp Configuration Task List

    15. Link Aggregation 16. Max Frame Size MED (TLV of MED is not transmitted by default. LLDP packets with MED TLV will be transmitted only when LLDP packets with MED TLV are received.) 17. MED Capability (TLV is compulsory if MED TLV is added.) 18.
  • Page 6: Lldp Configuration Tasks

    But the frame may loss in sending and causes the information ages. For avoiding this, you need to set the value of TTL and ensure the update LLDP frame is forwarded time after time. You can control the timeout time of transmitting the LLDP message through...
  • Page 7: Configuring Timer

    LLDP Configuration Caution: To ensure the former neighbor information is not lost owing to aging when receiving next LLDP frame, the timeout time should be longer than the LLDP packet transmit interval. 1.3.3 Configuring Timer You can control the interval of the switch to transmit message by configuring the timer of LLDP.
  • Page 8: Configuring The To-Be-Senttlv

    1.3.5 Configuring the To-Be-SentTLV You can choose TLV which requires to be sent by configuring tlv-select of LLDP. By default, all TLVs are transmitted. Run the following commands in global configuration mode to add or delete tlv of...
  • Page 9: Specifying The Port's Configuration And Selecting The To-Be-Sent Expanded Tlv

    1.3.6 Specifying the Port’s Configuration and Selecting the To-Be-Sent Expanded Through the configuration of dot1-tlv-select/ dot3-tlv-select/ med-tlv-select of LLDP on a port, you can select expanded TLV to be sent. By default, TLV of both DOT1 and DOT3 will be transmitted while TLV of MED will not be transmitted.
  • Page 10 Enters the global configuration mode. Step2 interface intf-type intf-id Enters the interface configuration mode. Step3 no lldp dot1-tlv-select port-vlan-id (Optional) Sends the 802.1-defined TLV and notifies the PVID of a port. Step4 no lldp dot1-tlv-select protocol-vlan-id (Optional) Sends the 802.1-defined TLV and notifies the PPVID of a port.
  • Page 11: Configuring The Transmission Or Reception Mode

    By default, LLDP works under the transmit-and-receive mode. You can modify the working mode of LLDP through the following commands. Run the following commands in the interface configuration mode and set lldp to the transmit-and-receive mode. Procedure Command...
  • Page 12: Specifying The Management Ip Address Of A Port

    0.0.0.0. 1.3.9 Sending Trap Notification to mib Database Sending Trap Notification to lldp mib databaseor ptopomib database. Run the following commands in the global configuration mode to sending trap notification to lldp mib database or ptopo mib database. Procedure Command...
  • Page 13: Configuring The Location Information

    Note: Both the no lldp command and the management-ip command can be used to resume the default management address of the port and the default management address is the IP address of the VLAN interface that corresponds to the PVID port.
  • Page 14 LLDP Configuration as Joe’s haircut shop. Step19 postal-code WORD Sets the postal code. Step20 building WORD Sets the information about a building. Step21 unit WORD Sets the information about a unit. Step22 floor WORD Sets the information about a floor.
  • Page 15: Specifying A Port To Set The Location Information

    LLDP Configuration Deletes the suffix of the street number, such Step16 no street-number-suffix as number 1/2 of A road. Deletes the landmark, such as Colombia Step17 no landmark University. Step18 no additional-location Deletes the additional location. Deletes the information about a resident, such as Joe’s haircut shop.
  • Page 16: Configuring Show-Relative Commands

    Deletes the location information of elin id. 1.3.12 Configuring Show-Relative Commands You can observe the information about the neighbor, statistics or port state received by the LLDP module by running show-relative commands.. Run the following commands in EXEC or global configuration mode: Command...
  • Page 17: Network Topology

    The information of Neighbor B will be displayed on Switch A about 1 minute later. MED-TLV information is not sent by default. Switch_config#show lldp neighbors Capability Codes: (R)Router,(B)Bridge,(C)DOCSIS Cable Device,(T)Telephone (W)WLAN Access Point, (P)Repeater,(S)Station,(O)Other Device-ID Local-Intf Hldtme Port-ID Capability Switch Gig0/8 Gig0/1 Total entries displayed: 1 Switch_config#show lldp neighbors detail...
  • Page 18 LLDP Configuration chassis id: 00e0.0fac.32ff port id: Gig0/1 port description: GigaEthernet0/1 system name: Switch system description: SWITCH Software, Version 4.1.0B Serial: S24090103 Compiled: 2011-9-21 9:24:8 by WRL Time remaining: 96 system capabilities: R B enabled capabilities: B Management Address: IP: 90.0.0.21...
  • Page 19 Configuring switch S1: Switch_config#lldp run Switch_config# Configuring switch S2: Switch_config#lldp run Switch_config# no lldp tlv-select system-name Switch_config#int g0/8 Switch_config_g0/8#no lldp dot1-tlv-select port-vlan-id Switch_config_g0/8#no lldp dot3-tlv-select max-frame-size Switch_config_g0/8# The information of Neighbor B will be displayed on Switch A about 1 minute later, which is highlighted in red.
  • Page 20 Hldtme Port-ID Capability Switch Gas0/8 Gig0/1 Total entries displayed: 1 Switch_config#show lldp neighbors detail chassis id: 00e0.0fac.32ff port id: Gig0/1 port description: GigaEthernet0/1 system name: -- not advertised system description: SWITCH Software, Version 4.1.0B Serial: S24090103 Compiled: 2011-9-21 9:24:8 by WRL...
  • Page 21 LLDP Configuration VLAN 1 name: Default Auto Negotiation: supported,enabled Physical media capabilities: 1000baseX(FD) 1000baseX(HD) 100baseTX(FD) 100baseTX(HD) Operational MAU type: 2 pair category 5 UTP, full duplex mode(16) Power Via MDI: MDI power support -- PSE MDI power support: support Port class: PSE...
  • Page 22 LLDP Configuration Configuring switch S2: Switch_config#lldp run Switch_config#location elin identifier 1 1234567890 //Configuring elin information Switch_config#location civic identifier 1 //Entering location configuration mode Switch_config_civic#language English Switch_config_civic#city Shanghai Switch_config_civic#street Curie Switch_config_civic#script EN //The above configured is civic information Switch_config_civic#quit Switch_config#int g0/8...
  • Page 23 Local-Intf Hldtme Port-ID Capability Switch Gig0/8 Gig0/1 Total entries displayed: 1 Switch_config#show lldp neighbors detail chassis id: 00e0.0fac.32ff port id: Gig0/1 port description: GigaEthernet0/1 system name: Switch system description: SWITCH Software, Version 4.1.0B Serial: S24090103 Compiled: 2011-9-21 9:24:8 by WRL...
  • Page 24 LLDP Configuration IP: 90.0.0.21 Port VLAN ID: 1 Auto Negotiation: supported,enabled Physical media capabilities: 1000baseX(FD) 1000baseX(HD) 100baseTX(FD) 100baseTX(HD) Operational MAU type: 2 pair category 5 UTP, full duplex mode(16) Power Via MDI: MDI power support -- PSE MDI power support: support...
  • Page 25 LLDP Configuration Model Name: SWITCH Asset ID: S24090103 Capabilities: CA,NP,LI,PS,IN Device type: Network Connectivity Network Policy: Voice Policy: Unknown Power requirements: Type: PSE Device Source: Unknown Priority: Low Value: 150(0.1 Watts) Civic address location: Language: English City: Shanghai Street: Curie...

Table of Contents