Question 1
Q1You are the network administrator for your company and have configured Cisco Discovery Protocol (CDP) in your network. You recently noticed that when devices send large numbers of CDP neighbor announcements, some devices are crashing. You decide to disable CDP on the router.
Which command should you use to achieve the objective?
Show answer & explanation
Correct answer: A
The no cdp run command globally disables Cisco Discovery Protocol (CDP) on the entire router, providing complete protection against CDP-based denial-of-service attacks and information disclosure vulnerabilities. CDP operates at Layer 2 and broadcasts detailed device information including IOS version, platform type, and capabilities, which can be exploited by attackers. The other options use invalid commands - set cdp disable is not valid Cisco IOS syntax, no cdp enable attempts to disable a non-existent enable command, and no cdp advertise-v2 only disables CDP version 2 advertisements while leaving the protocol vulnerable. Complete CDP disabling with no cdp run is the recommended security practice in environments where device discovery is not required.
