Cisco Systems OL-8241-02 Manual De Usuario

Descargar
Página de 186
 
7-3
Cisco Content Services Switch Routing and Bridging Configuration Guide
OL-8241-02
Chapter 7      Configuring the Cisco Discovery Protocol
Enabling CDP
The following running-configuration example shows the results of entering the 
commands in 
.
!*************************** GLOBAL ***************************
  cdp run 
  cdp holdTime 255 
  cdp timer 120 
Enabling CDP
By default, CDP is disabled for the CSS. Use the cdp run global configuration 
command to enable CDP transmissions from the CSS to other neighboring Cisco 
CDP-compatible devices on the network. 
For example:
(config)# cdp run
To disable CDP transmissions on the CSS, enter:
(config)# no cdp run
Setting the CDP Hold Time
The CDP hold time is the amount of time a receiving device retains the CDP 
information sent by the CSS (time-to-live information) before discarding this 
information. If a neighboring device does not receive a CDP message before the 
hold time expires, the neighboring device drops the CSS as a neighbor. By 
default, the hold time is 180 seconds. To specify the hold time, use the cdp 
holdTime
 global configuration command. Valid entries are 10 to 255 seconds. 
To specify a CDP hold time of 255 seconds for the receiving device, enter:
(config)# cdp holdTime 255
To reset the CDP hold time back to the default value of 180 seconds, enter:
(config)# no cdp holdTime