cdp

Profile Config Commands

Enables Cisco Discovery Protocol (CDP), a proprietary data link layer network protocol implemented in Cisco networking equipment and used to share network information amongst different vendor wireless devices

Supported on the following devices:

Syntax

cdp [holdtime|run|timer]
cdp [holdtime <10-1800>|run|timer <5-900>]

Parameters

cdp [holdtime <10-1800>|run|timer <5-900>]
holdtime <10-1800> Specifies the holdtime after which transmitted packets are discarded
  • <10-1800> – Specify a value from 10 - 1800 seconds. The default is 180 seconds.
run Enables CDP sniffing and transmit globally. This feature is enabled by default.
timer <5-900> Specifies the interval, in seconds, between successive CDP packet transmission
  • <5-900> – Specify a value from 5 - 900 seconds. The default is 60 seconds.

Example

nx9500-6C8809(config profile-default-ap8533)#cdp run

nx9500-6C8809(config profile-default-ap8533)#cdp holdtime 1000

nx9500-6C8809(config profile-default-ap8533)#cdp timer 900

nx9500-6C8809(config-profile-default-ap8533)#show context
profile ap8533 default-ap8533
 bridge vlan 1
  no edge-vlan
  l2-tunnel-broadcast-optimization
 .............................................................
  qos trust 802.1p
 interface pppoe1
 use firewall-policy default
 cdp holdtime 1000
 cdp timer 900
 service pm sys-restart
 router ospf
nx9500-6C8809(config-profile-default-ap8533)#

Related Commands

no Disables CDP on this profile