Lab – Configure CDP and LLDP
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 5 of 10
-------------------------
Device ID: S3
Entry address(es):
Platform: cisco WS-C2960-24TT-L, Capabilities: Switch IGMP
Interface: GigabitEthernet0/1, Port ID (outgoing port): FastEthernet0/5
Holdtime : 158 sec
Version :
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 15.0(2)SE7,
RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Thu 23-Oct-14 14:49 by prod_rel_team
advertisement version: 2
Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27,
value=00000000FFFFFFFF010221FF0000000000000CD996E87400FF0000
VTP Management Domain: ''
Native VLAN: 1
Duplex: full
e. What can you learn about ISP and S3 from the outputs of the show cdp neighbors detail command?
f. Configure the SVI on S3. Use an available IP address in 192.168.1.0 / 24 network. Configure
192.168.1.254 as the default gateway.
S3(config)# interface vlan 1
S3(config-if)# ip address 192.168.1.3 255.255.255.0
S3(config-if)# no shutdown
S3(config-if)# exit
S3(config)# ip default-gateway 192.168.1.254
g. Issue the show cdp neighbors detail command on Gateway. What additional information is available?
h. For security reasons, it is a good idea to turn off CDP on an interface facing an external network. Issue
the no cdp enable in the interface configuration mode on the S0/0/1 interface on Gateway.
Gateway(config)# interface s0/0/1
Gateway(config-if)# no cdp enable
Gateway(config-if)# end
To verify that CDP has been turned off on the interface S0/0/1, issue the show cdp neighbors or show
cdp interface command. You may need to wait for the hold time to expire. The hold time is the amount of
time the network devices will hold the CDP packets until the devices discard them.
Gateway# show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,