clear ciscodp
5-12 Discovery Protocol Configuration
•IftheswitchportisconfiguredtoaCiscoDPtruststateofuntrusted(trustedno),thissetting
iscommunicatedtotheCiscoIPphoneinstructingittooverwritethe802.1ptagoftraffic
transmittedbythedeviceconnectedtoitto0,bydefault,ortothevaluespecified
bythecos
parameterofthiscommand.
•Thereisaone‐to‐onecorrelationbetweenthevaluesetwiththecosparameterandthe802.1p
valueassignedtoingressedtrafficbytheCiscoIPphone.Avalueof0equatestoan802.1p
priorityof0.Therefore,avalueof7
isgiventhehighestpriority.
Examples
ThisexampleshowshowtosettheCiscoDPportvoiceVLANIDto3onportfe.1.6andenablethe
portoperationalstate.
D2(rw)->set ciscodp port status enable vvid 3 fe.1.6
ThisexampleshowshowtosettheCiscoDPextendedtrustmodetountrustedonportfe.1.5and
settheCoSpriorityto1.
D2(rw)->set ciscodp port trusted no cos 1 fe.1.5
clear ciscodp
UsethiscommandtocleartheCiscodiscoveryprotocolbacktothedefaultvalues.
Syntax
clear ciscodp [status | timer | holdtime | {port {status | vvid | trust | cos}
[port-string]}]
Parameters
Defaults
Ifnoparametersareentered,allCiscoDPparametersareresettothedefaultsgloballyandforall
ports.
Mode
Switchmode,read‐write.
Note: The Cisco Discovery Protocol must be globally enabled using the set ciscodp status
command before operational status can be set on individual ports.
status ClearsglobalCiscoDPenablestatustodefaultofauto.
timer ClearsthetimebetweenCiscoDPPDUtransmissionstodefaultof60
seconds.
holdtime Clearsthetime‐to‐liveforCiscoDPPDUdatato defaultof180seconds.
port ClearstheCiscoDPportconfiguration.
status Clearstheindividualportoperationalstatustothedefaultof
enabled.
vvid ClearstheindividualportvoiceVLANforCiscoDPPDUtransmission
to0.
trust Clearsthetrustmodeconfigurationoftheporttotrusted.
cos ClearstheCoSpriorityforuntrustedtrafficoftheportto0.
port‐string (Optional)Specifiestheport(s)onwhichstatuswillbeset.