CDP Behavior When an Interface Has No IP Address
In a CDP environment, what happens when the CDP interface on an adjacent device is configured without an IP address?
Community Insight
The question tests whether CDP requires an IP address on the discovery interface itself, and the trap is trusting Packet Tracer output over Cisco's documented substitution behavior.
This page examines Cisco Discovery Protocol operation when the CDP-enabled interface of an adjacent device has no IP address configured. Cisco's own CDP configuration documentation states the device substitutes another interface's IP address, which makes option B the defensible answer despite lab simulations showing an empty field.
Option C is the most common wrong pick, because testers in Packet Tracer and physical labs see an empty IP field in 'show cdp neighbors detail' and assume CDP simply omits address information rather than borrowing another interface's address.
Community Discussion (96 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Cisco's CDP configuration guide states explicitly: "If a neighbor has no IP address on an interface enabled with Cisco Discovery Protocol, the IP address of another interface will be updated as IP address for the non-IP address interface." CDP is a Layer 2 multicast protocol that does not need an IP address to run, so the neighbor relationship stays fully functional while the address field is populated from a different interface on that device. This directly matches option B: normal CDP operation plus a substituted IP address for the neighbor. Gere and oooMooo both cite this exact documented sentence, and it is vendor-official doctrine for exam purposes.Why the Other Options Are Wrong
Option A is wrong because CDP never depends on an IP address to function; it sends periodic multicast frames on the wire regardless of addressing. Option C describes what several testers observed in Packet Tracer, but it contradicts the published Cisco behavior and only reflects a simulator limitation rather than the documented protocol result. Option D is clearly false, since CDP still exchanges the device ID, port ID, platform, capabilities, and other TLVs even when no address is present on that interface. The distinction between C and B hinges on whether the address field is merely left blank or back-filled from another interface on the same device.Community Comment Notes
Gere quoted the Cisco guide verbatim: "the IP address of another interface will be updated as IP address for the non-IP address interface," and oooMooo repeated that same citation to defend B. On the other side, ddban reported "I don't see how you guys say it is B" after testing in Packet Tracer, and MDK94 noted that in "packet tracer or on physical lab equipment" no IP address appears. Nicocisco confirmed the same after lab testing, saying "the switch don't see other interface of my router," while dropspablo countered that GNS3 testing does show the other interface address, suggesting a platform difference rather than a protocol change.Official Reference
Exam Strategy
When a vendor documentation quote is attached to a question, treat the published behavior as the exam-correct answer even if a simulator prints something different. Recognize that CDP is Layer 2 and always operates without IP addressing, so eliminate options claiming the protocol stops working.
Frequently Asked Questions
Why is C wrong if Packet Tracer shows an empty IP address field?
Packet Tracer simplifies CDP output, but Cisco's configuration guide says another interface's IP is substituted. The exam expects the documented behavior, not the simulator's display.
Does CDP stop working if the interface has no IP address?
No. CDP is a Layer 2 protocol that exchanges multicast frames without any IP addressing, so neighbor discovery continues normally regardless of interface IPs.
Related Analysis
Practice All 200-301 Questions
Access 220 questions with complete answers and detailed explanations.
View Full 200-301 Practice Test →