lookup_route
Queries the FortiGate routing table to show which route, interface, and gateway reach a destination IPv4 address.
Instructions
Ask the routing table which route, interface and gateway reach a destination (monitor/router/lookup).
Parameters:
device_id: Identifier of the FortiGate device
destination: Destination IPv4 address
vdom: Virtual Domain name (optional)
Returns:
Matched route details (interface, gateway, type, distance, metric)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier | |
| destination | Yes | Destination IPv4 address |