Routing Tables Flashcards
What is a routing table in Junos OS?
A routing table is a data structure that stores routes used to forward traffic across the network based on destination addresses.
How do you view the routing table in Junos OS?
You can view the routing table using the command show route.
What is the difference between the “main routing table” and the “inet.0” table in Junos OS?
The “inet.0” table is the default IPv4 routing table, while the “main routing table” is where all routing information, including dynamic and static routes, is stored.
What command is used to display routes for a specific protocol, such as OSPF or BGP?
To display routes for a specific protocol, use the command: show route protocol <protocol> (e.g., show route protocol ospf).</protocol>
How can you add a static route to the routing table in Junos OS?
You add a static route with the command: set routing-options static route <destination> next-hop <next-hop>.</next-hop></destination>
How do you delete a route from the routing table in Junos OS?
You delete a route using the command: delete routing-options static route <destination>.</destination>
What is the purpose of the show route detail command?
The show route detail command provides detailed information about the routes in the routing table, including next-hop information, metric, and more.
What is the difference between a “primary route” and a “backup route” in the routing table?
A primary route is the preferred route to reach a destination, while a backup route is used if the primary route becomes unavailable.
How does Junos OS handle route redistribution between different routing protocols?
Route redistribution between protocols like OSPF and BGP can be configured under the respective protocol configuration, enabling the sharing of routes between different routing domains.
How do you filter the routes displayed in the routing table?
You can filter routes by using commands such as show route | match <criteria> or show route | grep <criteria> to focus on specific routes.</criteria></criteria>