To enable Cisco Discovery Protocol (CDP) on an interface, use the cdp enable interface configuration command. Use the no form of this command to disable CDP on an interface.
cdp enable
no cdp enable
This command has no arguments or keywords.
Enabled at the global level and on all supported interfaces.
Interface configuration
Release | Modification | 10.3 | This command was introduced. |
---|
CDP is enabled by default at the global level and on each supported interface in order to send or receive CDP information. However, some interfaces, such as ATM interfaces, do not support CDP.
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 Network Protocols Command Reference, Part 1 .
The following example enables CDP on Ethernet interface 0:
interface ethernet 0 cdp enable
Command | Description |
---|---|
cdp run | Enables CDP. |
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.