ProCurve Series 2300 and 2500 Switches Release Notes
194
Enhancements in Release F.02.02
CDP
Enabling or Disabling CDP Operation on Individual Ports. In the factory-default configura-
tion, the switch has all ports enabled and transmitting CDP packets. Disabling CDP on a port prevents
that port from sending outbound CDP packets and causes it to drop inbound CDP packets without
recording their data in the CDP Neighbors table. Suppose, for example, that switches "A" and "B" in
figure 93 are running CDP, and that port 1 on switch "A" is connected to port 5 on switch "B". If you
disable CDP on port 1 of switch "A", then switch "B" will no longer receive CDP packets from switch
"A" and switch "A" will drop the CDP packets it receives from switch "B".
Figure 93. Example of Disabling CDP on an Individual Port
(The switch "A" entry in the switch "B" CDP Neighbors table remains until the
cdp holdtime (time-to-
live; set in switch "A") expires. Until then, the
show cdp neighbors command continues to list switch "A"
on port 5 of switch "B".)
Syntax: [no] cdp enable < [ethernet] port-list >
For example, to disable CDP on port 1 of a switch:
HP2512(config) no cdp enable 1
Changing the Transmission Interval for Outbound CDP Packets. The default interval the
switch uses to transmit CDP packets describing itself to other, neighbor devices is 60 seconds. This
command changes the interval.
Syntax: cdp timer < 5 . . 254 >
For example, to reset a switch’s transmit interval for CDP packets to one minute:
HP2512(config) cdp timer 60
Switch "A"
CDP Enabled on Port 1
CDP Neighbor Table
Port | Data
------|------------------
1 | Switch "B" data
Switch "B"
CDP Enabled on Port 5
CDP Neighbor Table
Port | Data
------|------------------
5 | Switch "A" data
CDP Enabled on both
ends of the link between
"A" and "B".
Port 1
Port 5
Switch "A"
CDP Disabled on Port 1
CDP Neighbor Table
— Empty for port 1—
Switch "B"
CDP Enabled on Port 5
CDP Neighbor Table
— Empty for Port 5 —
CDP disabled on port 1
of switch "A" (but
enabled on port 5 of
switch "B".
Port 1
Port 5