cdp run

To enable the Cisco Discovery Protocol, use the cdp run command in Configuration mode. To disable the Cisco Discovery Protocol, use the no form of this command.

cdp run [GigabitEthernet]

Syntax Description

cdp

The command to configure the Cisco Discovery Protocol parameters.

run

The command to enable or disable the Cisco Discovery Protocol.

GigabitEthernet

Specifies the GigabitEthernet interface on which to enable the Cisco Discovery Protocol.

Defaults

No default behavior or values.

Command Modes

Configuration

Usage Guidelines

The command has one optional argument, which is an interface name. Without an optional interface name, the command enables the Cisco Discovery Protocol on all interfaces.

Note The default for this command is on interfaces that are already up and running. When you are bringing up an interface, stop the Cisco Discovery Protocol first; then, start the Cisco Discovery Protocol again.

Examples

/admin(config)# cdp run GigabitEthernet 0

/admin(config)#

Related Commands

Command

Description

cdp holdtime

Specifies the length of time that the receiving device should hold a Cisco Discovery Protocol packet from the Cisco CDA server before discarding it.

cdp timer

Specifies how often the Cisco CDA server sends Cisco Discovery Protocol updates.