Rapid7 Vulnerability & Exploit Database

Send Cisco Discovery Protocol (CDP) Packets

Back to Search

Send Cisco Discovery Protocol (CDP) Packets



This module sends Cisco Discovery Protocol (CDP) packets. Note that any responses to the CDP packets broadcast from this module will need to be analyzed with an external packet analysis tool, such as tcpdump or Wireshark in order to learn more about the Cisco switch and router environment.


  • Fatih Ozavci


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/spoof/cisco/cdp
msf auxiliary(cdp) > show actions
msf auxiliary(cdp) > set ACTION < action-name >
msf auxiliary(cdp) > show options
    ...show and set options...
msf auxiliary(cdp) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security