HP (Hewlett-Packard) 2510G Switch User Manual


 
12-55
Configuring for Network Management Applications
LLDP (Link-Layer Discovery Protocol)
Enabling CDP Operation. Enabling CDP operation (the default) on the
switch causes the switch to add entries to its CDP Neighbors table for any
CDP packets it receives from other neighboring CDP devices.
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.
For example, to disable CDP read-only operation 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 < port-list >
For example, to disable CDP on port A1:
ProCurve(config)# no cdp enable a1
Syntax: [no] cdp run
Enables or disables read-only CDP operation on the switch.
(Default: Enabled)