clear ciscodp
3-12 Discovery Protocol Configuration
Examples
ThisexampleshowshowtosettheCiscoDPportvoiceVLANIDto3onportge.1.6andenable
theportoperationalstate.
D2(rw)->set ciscodp port status enable vvid 3 ge.1.6
ThisexampleshowshowtosettheCiscoDPextendedtrustmodetountrustedonportge.1.5and
settheCoSpriorityto1.
D2(rw)->set ciscodp port trusted no cos 1 ge.1.5
clear ciscodp
UsethiscommandtocleartheCiscodiscoveryprotocolbacktothedefaultvalues.
Syntax
clear ciscodp [status | timer | holdtime | {port {status | vvid | trust | cos}
[port-string]}]
Parameters
Defaults
Ifnoparametersareentered,allCiscoDPparametersareresettothe defaultsgloballyandforall
ports.
Mode
Switchmode,read‐write.
Examples
ThisexampleshowshowtoclearalltheCiscoDPparametersbacktothedefaultsettings.
D2(rw)->clear ciscodp
ThisexampleshowshowtocleartheCisco DPstatusonportge.1.5.
D2(rw)->clear ciscodp port status ge.1.5
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‐liveforCiscoDPPDUdatatodefaultof180seconds.
port ClearstheCiscoDPportconfiguration.
status Clearstheindividualportoperationalstatustothedefaultof
enabled.
vvid ClearstheindividualportvoiceVLANforCiscoDPPDUtransmission
to0.
trust Clearsthetrustmodeconfigurationoftheporttotrusted.
cos ClearstheCoSpriorityforuntrustedtrafficoftheportto0.
port‐string (Optional)Specifiestheport(s)onwhichstatuswillbeset.