CDP Commands
cdp run
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
111
7
Parameters
•
bridging—When CDP is globally disabled, bridges CDP packets as regular
data packets (forwarded based on VLAN).
•
filtering—When CDP is globally disabled, filters (deletes) CDP packets.
•
flooding—When CDP is globally disabled, floods CDP packets to all ports
that are in the STP forwarding state, ignoring the VLAN filtering rules.
Default Configuration
Bridging
Command Mode
Global Configuration mode
User Guidelines
When CDP is globally enabled, CDP packets are filtered (discarded) on the
CDP-disabled ports.
In the flooding mode, the VLAN filtering rules are not applied, but the STP rules are
applied. In case of MSTP, CDP packets are classified to the instance 0.
Example
The following example specifies that when CDP is globally disabled, CDP packets
are flooded to all ports that are in the STP forwarding state:
switchxxxxxx(config)#
cdp run
switchxxxxxx(config)#
cdp pdu flooding
cdp run
To enable CDP globally on the switch, use the cdp run Global Configuration mode
command.
To disable CDP globally on the switch, use the no form of this command.
Syntax
cdp run