Which CLI command displays routing table entries on FortiGate?

Prepare for the FortiGate Administrator 7.6 Exam with our quizzes. Study using flashcards and multiple choice questions, complete with hints and explanations to boost your readiness!

Multiple Choice

Which CLI command displays routing table entries on FortiGate?

Explanation:
In FortiGate’s CLI, to view the routing table you use a get command designed for routing information. The command get router info routing-table all retrieves and displays every routing entry the device knows, showing details like destination network, next-hop, interface, and route type (static, connected, dynamic). The all parameter makes sure you see the full set, typically including both IPv4 and IPv6 routes. Other commands serve different purposes: get system status shows general system health and version information, diagnose ping tests connectivity to a host, and diagnose debug flow traces how packets are processed through the FortiGate. None of those display the routing table, which is why the routing entries are shown with get router info routing-table all.

In FortiGate’s CLI, to view the routing table you use a get command designed for routing information. The command get router info routing-table all retrieves and displays every routing entry the device knows, showing details like destination network, next-hop, interface, and route type (static, connected, dynamic). The all parameter makes sure you see the full set, typically including both IPv4 and IPv6 routes.

Other commands serve different purposes: get system status shows general system health and version information, diagnose ping tests connectivity to a host, and diagnose debug flow traces how packets are processed through the FortiGate. None of those display the routing table, which is why the routing entries are shown with get router info routing-table all.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy