To enable CDP, use thecdp run global configuration command. Use the no form of this command to disable CDP.
cdp run
no cdp run
This command has no arguments or keywords.
Enabled
Global configuration
Release | Modification | 10.3 | This command was introduced. |
---|
CDP is enabled on your router by default, which means the Cisco IOS software will receive CDP information. CDP also is enabled on supported interfaces by default. To disable CDP on an interface, use the no cdp enable interface configuration command.
The cdp enable, cdp timer, andcdp run commands affect the operation of the IP on demand routing feature (that is, the router odr global configuration command). For more information on the router odr command, see the "On-Demand Routing Commands" chapter in the NetworkProtocolsCommandReference,Part1.
The following example disables CDP:
no cdp run
Command | Description |
---|---|
cdp enable | Enables Cisco Discovery Protocol (CDP) on an interface. |
Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003
All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.