create_static_route
Creates a new static route on a FortiGate device to define how traffic to specific networks is forwarded via a gateway and outgoing interface.
Instructions
Create a new static route on a FortiGate device.
This tool adds a new static route to the device's routing configuration, defining how traffic to specific networks should be forwarded.
Parameters:
device_id: Identifier of the FortiGate device
route_data: Route configuration as JSON
vdom: Virtual Domain name (optional, uses device default)
Route data should include:
dst: Destination network (IP/netmask)
gateway: Next hop gateway IP
device: Outgoing interface name
distance: Administrative distance (optional)
comment: Optional description
Returns:
Creation status
Route configuration summary
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier | |
| route_data | Yes | Route configuration |