Difficulty: Easy
Correct Answer: debug ip rip
Explanation:
Introduction / Context:
Troubleshooting routing protocols often requires observing live control-plane messages. Cisco IOS provides debug commands to view protocol activity in real time, which is invaluable when validating neighbors, timers, and advertisements.
Given Data / Assumptions:
Concept / Approach:
The command debug ip rip enables detailed logging of RIP advertisements, including prefixes, metrics, and interfaces. show ip route provides the installed result in the RIB but not the live exchanges. show protocols summarizes interface/protocol status. debug ip route is not a valid command to display RIP updates. Some platforms offer show ip rip database for the learned database, but it still does not show real-time packets like debug.
Step-by-Step Solution:
Enter privileged EXEC mode.Issue: debug ip ripObserve incoming and outgoing updates in the console.Disable when finished: undebug all or no debug all.
Verification / Alternative check:
Compare the debug output to packet captures with a SPAN port or embedded packet capture; the updates and metrics will match.
Why Other Options Are Wrong:
Common Pitfalls:
Leaving debug running on production devices; always turn it off to avoid excessive CPU utilization.
Final Answer:
debug ip rip
Discussion & Comments