The following topic lists Enterasys Discovery Protocol configuration commands.
Task | Command |
---|---|
Enable or disable the Enterasys Discovery Protocol on one or more ports. | set cdp state {auto | disable | enable} [port-string] |
Set a global Enterasys Discovery Protocol authentication code. | set cdp auth auth-code |
Set the message interval frequency (in seconds) of the Enterasys Discovery Protocol. | set cdp interval frequency |
Set the hold time value for Enterasys Discovery Protocol configuration messages. | set cdp hold-time hold-time |
Reset Enterasys Discovery Protocol settings to defaults. | clear cdp {[state] [port-state port-string] [interval] [hold-time] [auth-code]} |
Refer to the S-, K-, and 7100 Series CLI Reference Guide for more information about each command.
This example shows how to globally enable CDP:
System(rw)->set cdp state enable
This example shows how to enable the CDP for port ge.1.2:
System(rw)->set cdp state enable ge.1.2
This example shows how to disable the CDP for port ge.1.2:
System(rw)->set cdp state disable ge.1.2