Lab 16: Configuring LLDP

Lab Objective:

The objective of this lab exercise is for you to learn and understand how to enable the LLDP protocol on a Cisco Network.

Lab Purpose:

Configuring and applying the Link Layer Discovery Protocol (LLDP) allows network devices to discover other network devices directly connected to them. This is a fundamental skill that provides the same benefits that CDP does, but it’s also compatible with non-Cisco equipment. As a Cisco engineer, as well as in the Cisco CCNA exam, you will be expected to know how to enable LLDP in your network.

Certification Level:

This lab is suitable for CCENT certification exam preparation.

Lab Difficulty:

This lab has a difficulty rating of 5/10.

Readiness Assessment:

When you are ready for your certification exam, you should complete this lab in no more than 20 minutes.

Lab Topology:

Please use the following topology to complete this lab exercise:

Task 1:

Configure the hostnames on R1 and R3 as illustrated in the topology.

Task 2:

Configure the IP addresses on the Ethernet interfaces of R1 and R3 as illustrated in the topology. There is no need to configure the Loopback interfaces for this lab.

Task 3:

Disable CDP globally on both routers and enable LLDP (it’s disabled by default).

Task 4:

Make sure that both R1 and R3 have found each other via their Ethernet links using LLDP.

Task5:

Now disable one of the interfaces to prevent it from sending LLDP traffic.

Configuration and Verification

Task 1:

For reference information on configuring hostnames, please refer to earlier labs.

Task 2:

For reference information on configuring IP addresses, please refer to earlier labs.

Task 3:

R1#config t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R1(config)#no cdp run 
R1(config)#lldp run 
R1(config)#end 
R1# 
R3#conf t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R3(config)#no cdp run 
R1(config)#lldp run 
R3(config)#end 
R3#

Task 4:

R1#show lldp neighbors 
Capability codes: 
  (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device 
  (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other 
Device ID           Local Intf     Hold-time  Capability      Port ID 
R3                  Fa0/0          120        R               Fa0/0 
Total entries displayed: 1 

R3#show lldp neighbors
Capability codes: 
  (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device 
  (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other 
Device ID           Local Intf     Hold-time  Capability      Port ID 
R1                  Fa0/0          120        R               Fa0/0 
Total entries displayed: 1

Task 5:

Router(config-if)#no lldp transmit

 


Related Articles

Leave a Reply

avatar