How to Configure Cisco CDP

To configure CDP, first open a terminal on the Cisco device (ssh, telnet or console) then type ‘enable’ and press Enter then the enable or secret password if requested and press Enter and then type ‘config t’ and press Enter (for configuration mode) and then you can change various CDP parameters (CDP is enabled on Cisco devices by default). So in configuration mode, to change the frequency that CDP sends updates type ‘cdp time xx’ replacing xx with the interval in seconds that you wish to have between CDP updates. To change the holdtime (the amount of time information received via CDP from another device is held) type ‘cdp holdtime xx’ replacing the xx with the time in seconds you wish to configure for the holdtime. To force CDP to send CDP v2 updates (advertisements) type ‘cdp advertise-v2’ and press Enter. Also, to disable CDP type ‘no cdp run’ and press Enter and to enable CDP type ‘cdp run’ followed by the Enter key. You can also enable or disable CDP on an interface by typing ‘int xx’ replacing xx with the interface ID then in interface mode type ‘no cdp enable’ and press Enter to disable CDP only on that interface or type ‘cdp enable’ and press Enter to enable CDP on the interface.

Leave a Reply

Your email address will not be published. Required fields are marked *

*