Default configuration, Configuring cdp on the switch, Cli: viewing and configuring cdp – HP 2600 User Manual
Page 285: Configuring cdp on the switch -31, Cli: viewing and configuring cdp -31
![background image](/manuals/100282/285/background.png)
Configuring for Network Management Applications
CDP
CDP-disabled switch) does not forward CDP packets; i.e. is not transparent
to CDP traffic. (For the same reason, switch “E” does not have any CDP
neighbors.)
Figure 13-12 (page 13-29) illustrates how multiple CDP neighbors can appear
on a single port. In this case, switch “A” has three CDP neighbors on port 1
because the intervening devices are not CDP-capable and simply forward CDP
neighbors data out all ports (except the port on which the data was received).
Default Configuration.
In the factory-default configuration, CDP is
enabled and running on all ports. In this case, the
holdtime is 180 seconds and
the
timer (CDP Transmit Interval) is 60 seconds.
Configuring CDP on the Switch
Using CDP you can:
■
View the switch’s current global and per-port CDP configuration
■
List the current contents of the switch’s CDP Neighbors table (that is,
view a listing of the CDP devices of which the switch is aware)
■
Enable or disable CDP (Default: Enabled)
■
Specify the hold time (CDP packet time-to-live) for CDP data deliv
ered to neighboring CDP devices. For example, in CDP switch "A" you
can specify the hold time for switch "A" entries in the CDP Neighbor
tables of other CDP devices. (Default: 180 seconds)
■
Specify the transmission interval for CDP packets. (Default: 60
seconds)
CLI: Viewing and Configuring CDP
CDP Commands
Page
show CDP
show CDP neighbors
cdp clear
[no] cdp run
[no] cdp enable
cdp holdtime
cdp timer
13-31