Wednesday, February 24, 2010

Cisco Discovery Protocol (CDP)

Cisco Discovery Protocol



CAUTION: Although CDP is necessary for some management applications, CDP should still be disabled in some instances.

Disable CDP globally if
  • CDP is not required at all.
  • The device is located in an insecure environment.
Use the command no cdp run to disable CDP globally:

RouterOrSwitch(config)#no cdp run

Disable CDP on any interface if
  • Management is not being performed.
  • The switch interface is a nontrunk interface.
  • The interface is connected to a nontrusted network.

Use the interface configuration command no cdp enable to disable CDP on a specific interface:

RouterOrSwitch(config)#interface fastethernet 0/1
RouterOrSwitch(config-if)#no cdp enable

Tuesday, February 9, 2010

Configuration Example: DHCP

Figure 24-1 illustrates the network topology for the configuration that follows, which shows how to configure DHCP services on a Cisco IOS router using the commands covered in this post.


Edmonton Router



Gibbons Router