cdp enable

To enable the Cisco Discovery Protocol (CDP) on an Ethernet interface, use the cdp enable command. To disable CDP on the interface, use the no form of this command.

cdp enable

no cdp enable

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

Interface configuration mode

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

This example shows how to enable CDP on an Ethernet interface:

switch# configure terminal  switch(config)# interface ethernet 1/1  switch(config-if)# cdp enable  

Related Commands

Command
Description

show interface

Displays the interface configuration information.