HP (Hewlett-Packard) 2520 Switch User Manual


 
Configuring for Network Management Applications
LLDP (Link-Layer Discovery Protocol)
Disabling CDP Operation. Disabling CDP operation clears the switch’s
CDP Neighbors table and causes the switch to drop inbound CDP packets
from other devices without entering the data in the CDP Neighbors table.
Syntax: [no] cdp run
Enables or disables CDP read-only operation on the switch.
(Default: Enabled)
For example, to disable CDP read-only on the switch:
ProCurve(config)# no cdp run
When CDP is disabled:
show cdp neighbors displays an empty CDP Neighbors table
show cdp displays
Global CDP information
Enable CDP [Yes]: No
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.
Syntax: [no] cdp enable < [e] port-list >
For example, to disable CDP on port A1:
ProCurve(config)# no cdp enable a1
13-81