The following table lists Cisco Discovery Protocol configuration commands.
Task | Command |
---|---|
Enable or disable Cisco Discovery Protocol globally on the device. | set ciscodp status {auto | enable | disable} |
Set the number of seconds between Cisco Discovery Protocol PDU transmissions. | set ciscodp timer time |
Set the time to live (TTL) for Cisco Discovery Protocol PDUs. This is the amount of time (in seconds) neighboring devices will hold PDU transmissions from the sending device. | set ciscodp holdtime time |
Set the status, voice VLAN, extended trust mode, and CoS priority for untrusted traffic for the Cisco Discovery Protocol on one or more ports. | set ciscodp port {[status {disable | enable}] [vvid {vlan-id | none | dot1p | untagged}] [trust-ext {trusted | untrusted}] [cos-ext value]} port-string |
Clear the Cisco Discovery Protocol back to the default values. | clear ciscodp {[status | timer | holdtime | port {status | vvid | trust-ext | cos-ext}]} port-string |
Refer to the S-, K-, and 7100 Series CLI Reference Guide for more information about each command.
This example shows how to enable Cisco Discovery Protocol on the device:
System(rw)->set ciscodp status enable