Skip to main content

Enabling or disabling CDP

To discover and send advertisements to CDP-compliant neighboring devices, CDP must be enabled on each node of the cluster. By default, CDP is enabled on all cluster ports of a node and disabled on all non-cluster ports of a node.

About this task

The cdpd.enable option controls whether CDP is enabled or disabled on the ports of a node:

  • on enables CDP on non-cluster ports.
  • off disables CDP on non-cluster ports; you cannot disable CDP on cluster ports.

When CDP is disabled on a port that is connected to a CDP-compliant device, network traffic might not be optimized.

  1. Display the current CDP setting for a node, or for all nodes in a cluster:
    To view the CDP setting of...Enter...
    A noderun -node node_name options cdpd.enable
    All nodes in a clusteroptions cdpd.enable
  2. Enable or disable CDP on all ports of a node, or on all ports of all nodes in a cluster:
    To enable or disable CDP on...Enter...
    A noderun -node node_name options cdpd.enable {on|off}
    All nodes in a clusteroptions cdpd.enable {on|off}