clear cdp

Use this command to reset CDP discovery protocol settings to defaults.

Syntax

clear cdp {[state] [port-state port-string] [interval] [hold-time] [auth-code]}

Parameters

state (Optional) Resets the global CDP state to auto-enabled.
port-state port-string (Optional) Resets the port state on specific port(s) to auto-enabled.
interval (Optional) Resets the message frequency interval to 60 seconds.
hold-time (Optional) Resets the hold time value to 180 seconds.
auth-code (Optional) Resets the authentication code to 16 bytes of 00 (00-00-00-00-00-00-00-00).

Defaults

At least one optional parameter must be entered.

Mode

All command modes.

Example

This example shows how to reset the CDP state to auto-enabled:

System(rw)->clear cdp state