Show the active routing table
get_routing_tableRead the live IPv4 routing table from a FortiGate, including connected, dynamic, and DHCP routes, to diagnose active forwarding paths and troubleshoot missing routes.
Instructions
Show the active IPv4 routing table as the appliance is forwarding it.
This is live state rather than configuration, so it includes connected routes, dynamically learned routes, and routes handed over by DHCP, none of which appear in the static route configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual domain to read. Defaults to the one configured for this target. The `vdom` field in the response names the one actually read. | |
| limit | No | Maximum rows to return. Defaults to 200, capped at 1000. | |
| offset | No | Index to start from, for paging through a large table. | |
| target | No | Which FortiGate to query. Optional when only one is configured. | |
| protocol | No | Filter by route type, such as static, connect, or dhcp. Matched exactly; `filtered_out` reports how many rows it removed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||