6-14
Catalyst 2900 Series XL and Catalyst 3500 SeriesXL Software Configuration Guide
78-6511-08
Chapter 6 Configuring the System
Configuring CDP
Configuring CDP for Extended Discovery
You can change the default configuration of CDP on the command switch to continue discovering
devices up to seven hops away. Figure 6-4 shows a command switch that can discover candidates and
cluster members up to seven devices away from it. Figure 6-4 also shows the command switch connected
to a Catalyst 5000 series switch. Although the Catalyst 5000 supports CDP, it does not support
clustering, and the command switch cannot learn about connected candidate switches connected to it,
even if they are running CMS.
Figure 6-4 Discovering Cluster Candidates through CDP
Beginning in privileged EXEC mode, follow these steps to configure the number of hops that CDP uses
to discover candidate switches and cluster members:
Catalyst 5000 series
(CDP device
that does not
support clustering)
Undisclosed
device displays
as edge device
Cluster command switch
3 hops from
command switch
Up to 7 hops
from command switch
33019
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
cluster discovery hop-count number Enter the number of hops that you want CDP to search for cluster candidates
and cluster members.
Step 3
end Return to privileged EXEC mode.
Step 4
show running-config Verify the change by displaying the running configuration file. The hop
count is displayed in the file.