How to Configure CDP
SUMMARY STEPS
1. enable
2. configure terminal
3. interface interface-id
4. no cdp enable
5. end
6. show running-config
7. copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
interface interface-id
Example:
Switch(config)# interface gigabitethernet1/0/1
Step 4
no cdp enable
Example:
Switch(config-if)# no cdp enable
Step 5
end
Example:
Switch(config)# end
Step 6
show running-config
Example:
Switch# show running-config
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
438
Purpose
Enables privileged EXEC mode. Enter your password
if prompted.
Enters the global configuration mode.
Specifies the interface on which you are disabling CDP,
and enters interface configuration mode.
Disables CDP on the interface specified in Step 3.
Returns to privileged EXEC mode.
Verifies your entries.