CDP Configuration with Packet Tracer
As we talked about in the previous article, CDP is Cisco specific. In this article, we will discuss how to configure the CDP in Cisco IOS.
You can DOWNLOAD the Packet Tracer example with .pkt format HERE.
For our example, the below topology is used.
We will not talk about the configuration of the central switch, but we will talk about the general CDP configuration commands.
To enable CDP globally, use “cdp run” on the router configuration mode.
Switch(config)# cdp runTo enable CDP on a specific interface, use “cdp enable” command on the interface configuration mode.By default CDP is already enabled. You can also disable CDP by using “no cdp enable” command.
Switch(config-if)# cdp enable Switch(config-if)# no cdp enableTo configure cdp hello time and hold time, you can use the below commands. Time is mentioned as seconds.