Enabling or disabling CDP operation on individual ports

In the factory-default configuration, the switch has all ports enabled to receive CDP packets. Disabling CDP on a port causes it to drop inbound CDP packets without recording their data in the CDP Neighbors table.


no cdp enable {< [e] port-list >}


To disable CDP on port A1:

switch(config)# no cdp enable a1