CDP Commands
78-21075-01 Command Line Interface Reference Guide
switchxxxxxx
(config) cdp run
36.2
cdp enable
The cdp enable Interface Configuration mode command enables CDP on
interface. The no format of the CLI command disables CDP on an interface.
Syntax
cdp enable
Parameters
N/A
Default Configuration
Enabled
Command Mode
Ethernet Interface
User Guidelines
For CDP to be enabled on an interface, it must first be enabled globally using
run.
Example
switchxxxxxx
(config) cdp run
switchxxxxxx
(config) interface gi1
switchxxxxxx
(config-if)cdp enable
36.3
cdp pdu
Use the cdp pdu Global Configuration mode command when CDP is not enabled
globally. It specifies CDP packets handling when CDP is globally disabled. The no
format of this command returns to default.
Syntax
cdp pdu [filtering | bridging | flooding]
36
cdp
577