Contents of the forwarding table

Displaying Forwarding Table

Prev Question Next Question

Question

Which command will display the contents of the forwarding table?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A

The correct answer is A. "show route forwarding-table".

The forwarding table is a data structure in the router that is used to decide where to forward packets. It contains information about the next hop for each destination network.

To display the contents of the forwarding table on a Junos device, use the "show route forwarding-table" command. This command displays the following information:

  • Destination network: the IP address and prefix length of the destination network
  • Next hop: the IP address of the next hop router that packets should be forwarded to
  • Interface: the outgoing interface that packets should be forwarded on
  • Protocol: the routing protocol used to learn the route
  • Age: the time elapsed since the last time the route was updated
  • Flags: additional information about the route, such as whether it is a directly connected network or a static route

For example, to display the forwarding table for IPv4 routes, enter the following command:

sql
show route forwarding-table

To display the forwarding table for IPv6 routes, enter the following command:

sql
show route forwarding-table inet6

The other answer options are not correct:

  • B. "show forwarding" is not a valid Junos command.
  • C. "show configuration" displays the current configuration of the device.
  • D. "show interfaces" displays information about the interfaces on the device, such as their status and configuration.