Bitzu

JN0-106 ยท Routing fundamentals

Routing table vs forwarding table

Default routing tables (inet.0, inet6.0), how the active routes become the forwarding table, and show route versus show route forwarding-table.

Key points

  • Routing table: every learned route, even those that lose the selection (inet.0 IPv4 unicast, inet6.0 IPv6 unicast).
  • Routing protocol process: picks one active route per destination, installs it in the forwarding table on the Routing Engine.
  • Kernel: copies that table to the Packet Forwarding Engine, which forwards packets.
  • show route: inspects routes; show route forwarding-table: what is used for forwarding.

Source: https://www.juniper.net/documentation/us/en/software/junos/junos-overview/topics/concept/junos-software-routing-forwarding-table-overview.html

Practice questions

Single choice

Which operational command displays the Routing Engine's forwarding table?

  1. show route forwarding-table
  2. show route summary
  3. show interfaces terse
  4. show system uptime
Show answer

Answer: A. show route forwarding-table

show route forwarding-table lists the entries and next hops used for forwarding. show route shows routing table entries, including routes that are not active.

Select all that apply

Which statements about the default routing tables and the forwarding table are correct?

  1. inet.0 holds IPv4 unicast routes
  2. inet6.0 holds IPv6 unicast routes
  3. The kernel copies the forwarding table from the Routing Engine to the PFE
  4. IPv6 unicast routes are stored in inet.0
  5. The forwarding table also lists every inactive route
Show answer

Answer: A. inet.0 holds IPv4 unicast routes, B. inet6.0 holds IPv6 unicast routes, C. The kernel copies the forwarding table from the Routing Engine to the PFE

inet.0 and inet6.0 hold IPv4 and IPv6 unicast routes, and the kernel copies the forwarding table to the PFE. IPv6 routes do not live in inet.0, and inactive routes are not in the forwarding table.

True or false

Every route displayed by show route is installed in the forwarding table.

Show answer

Answer: False

False. Only the active route for each destination is installed in the forwarding table. Other learned routes stay in the routing table.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More JN0-106 topics in this module