Examples
This example shows how to enable CDP on all Ethernet interfaces:
switch# configure terminal
switch(config)# cdp enable
This example shows how to configure the MAC address as the CDP device ID:
switch# configure terminal
switch(config)# cdp format device-id mac-address
This example shows how to disable CDP on all Ethernet interfaces:
switch# configure terminal
switch(config)# no cdp enable
Related Commands
DescriptionCommand
Displays Cisco Discovery Protocol (CDP)
information.
show cdp
Cisco Nexus 5000 Series Interfaces Command Reference
9
C Commands
cdp