Specifications
10-5
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 10 Configuring CDP
Configuring CDP
DETAILED STEPS
EXAMPLE
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# no cdp enable
Switch(config-if)# end
Enabling CDP on an Interface
DETAILED STEPS
EXAMPLE
This example shows how to enable CDP on a port when it has been disabled:
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# cdp enable
Switch(config-if)# end
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Specify the interface on which you are disabling CDP, and
enter interface configuration mode.
Note If the interface is a UNI, you must enter the
port-type nni or port-type eni interface
configuration command before configuring CDP. By
default, CDP is enabled on NNIs and disabled on
ENIs.
Step 3
no cdp enable Disable CDP on the interface.
Step 4
end Return to privileged EXEC mode.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Specify the interface on which you are enabling CDP, and
enter interface configuration mode.
Note If the interface is a UNI, you must enter the
port-type nni or port-type eni interface
configuration command before configuring CDP. By
default, CDP is enabled on NNIs and disabled on
ENIs.
Step 3
cdp enable Enable CDP on the interface after disabling it.
Step 4
end Return to privileged EXEC mode.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.