C Commands
cdp enable
37
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
cdp enable
To enable Cisco Discovery Protocol (CDP) on an interface, use the cdp enable command. To disable
CDP, use the no form of this command.
cdp enable
no cdp enable
Syntax Description This command has no arguments or keywords.
Defaults None
Command Modes Global configuration mode (config)
Supported User Roles network-admin
vdc-admin
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to enable CDP on an interface:
switch(config)# enable cdp
switch(config)#
This example shows how to disable CDP on an interface:
switch(config)# no cdp enable
Related Commands
Release Modification
4.0(1) This command was introduced.
Command Description
cdp advertise Configures the CDP version supported by the device.