2-16
Cisco SFS 7000 Series Product Family Command Reference Guide
OL-9163-02
Chapter2 Administrative Commands
cdp run
cdp run
To enable Cisco Discovery Protocol (CDP), use the cdp run command in global configuration mode. To
disable CDP, use the no form of this command.
cdp run
no cdp run
Syntax Description This command has no arguments or keywords.
Defaults Disabled
Command Modes Global Configuration (config) mode.
Usage Guidelines Platform Availability:
Cisco SFS 3001, Cisco SFS 7000, Cisco SFS 7008, Cisco SFS 3012, Cisco 4x InfiniBand Switch Module
for IBM BladeCenter
Privilege Level:
Unrestricted and general read-write user.
CDP is enabled by default, which means the Cisco IOS software will receive CDP infor mation. CDP also
is enabled on supported interfaces by default. To disable CDP on an interface, use the no cdp run
interface configuration command.
Note Because ODR (o- demand routing) uses CDP, the cdp enable, cdp timer, and cdp run commands affect
the operation of the router odr global configuration command. For more informatio n on the router odr
command, see the Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols document.
Note CDP runs by default when a chassis boots, but CDP is only learning in t his m ode . If a ny neighbo rs ar e
advertising, CDP will identify them.
Examples The following example starts CDP advertising on your chassis:
SFS-7000P(config)# cdp run
The following example starts CDP advertising on your chassis and specifies the CDP timer interval:
SFS-7000P# configure
SFS-7000P(config)# cdp run
SFS-7000P(config)# cdp timer 10