Lab 16: Configuring LLDP

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