list_static_routes
Retrieve manually configured static routes from a FortiGate device, including destinations, gateways, interfaces, admin distances, and status. Inspect routing configuration by device or VDOM.
Instructions
List all static routes configured on a FortiGate device.
This tool retrieves all manually configured static routes from the device's routing table, showing destination networks and gateways.
Parameters:
device_id: Identifier of the FortiGate device
vdom: Virtual Domain name (optional, uses device default)
Returns:
Route destinations and gateways
Interface assignments
Administrative distances
Route status (enabled/disabled)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |