An administrator executes 'show route 192.168.1.0/24' and sees no output, but the route is configured. Which command should be used to display the reason the route is not active?
The `show route hidden` command is the definitive way to view routes that the routing table has marked as unusable, along with the specific reason for their hidden status. Junos maintains hidden routes in the routing table (e.g., inet.0) but excludes them from active forwarding and from normal `show route` output. This command directly reveals those routes and the `hidden` reason field, enabling targeted diagnosis. It is the only command listed that fully exposes hidden routes without additional filters.
Why this answer
The 'show route hidden' command displays routes that are present in the routing table but are not active due to reasons such as a next-hop being unreachable, a routing policy rejecting the route, or a route preference conflict. When a route is configured but not shown in the standard 'show route' output, it is likely hidden, and this command reveals the specific reason (e.g., 'next-hop unreachable' or 'rejected by policy').
Exam trap
The trap here is that candidates assume 'show route protocol static' will show all static routes, but they forget that hidden routes are excluded from standard protocol-specific outputs, leading them to overlook the dedicated 'show route hidden' command.
How to eliminate wrong answers
Option B is wrong because 'show log messages' displays system log messages (e.g., interface flaps, errors) but does not show hidden routes or the specific reason a route is inactive. Option C is wrong because 'show route protocol static' filters the routing table to show only static routes, but if the static route is hidden, it will not appear in this output either; it does not reveal why the route is hidden. Option D is wrong because 'show route forwarding-table' displays the kernel forwarding table (used for packet forwarding), not the routing table, and does not show hidden routes or reasons for inactivity.