Specifications

Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
How to Configure EtherSwitch HWICs
50
Configuring Cisco Discovery Protocol
Enabling Cisco Discovery Protocol, page 50
Enabling CDP on an Interface, page 51
Monitoring and Maintaining CDP, page 52
Enabling Cisco Discovery Protocol
To enable Cisco Discovery Protocol (CDP) globally, use the following commands.
SUMMARY STEPS
1. enable
2. configure terminal
3. cdp run
4. end
5. show cdp
DETAILED STEPS
Command or Action Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
cdp run
Example:
Router(config)# cdp run
Enables CDP globally.
Step 4
end
Example:
Router(config)# end
Returns to privileged EXEC mode.
Step 5
show cdp
Example:
Router# show cdp
Verifies the CDP configuration.