C Commands
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
Command
show cdp
Description
Displays Cisco Discovery Protocol (CDP)
information.
Cisco Nexus 5000 Series Interfaces Command Reference
cdp
9