Show Me Something About Routing
show route: Lists the entries in all the device's routing tables. Use: Lets you check which routes the device knows about, and see which ones the device has calculated to be the best ones (the active routes). Check that the device has a route to a specific destination. Variants include the following:
- show route inet.0: Lists all IPv4 routes.
- show route inet.6l: Lists all IPv6 routes.
- show route detail: Adds route preference, next hop, and other information.
- show route protocol: Lists all routes learned by the specified routing protocol.
- show route forwarding-table: Lists the entries in all the device's forwarding tables. Use: Lets you check which active routes are actually being used to forward traffic from the device toward network destinations.
show rip neighbor: Lists the RIP routers (neighbors) in the network. Use: Shows you the device interfaces on which RIP neighbors can be reached, along with the neighbors' IP addresses and distance (metric, or hop count) to the neighbors.
Get Junos® OS For Dummies®, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.