system ha-mgmt-router-static
Use this command to configure a static route used exclusively by an individual high availability (HA) cluster member in Active-Passive (AP) or Standard Active-Active (AAS) mode.
This command does not apply to High Volume Active-Active (AAH) mode. In an AAH cluster, network synchronization is disabled between the primary and secondary nodes to allow each member independent control over its network routing.
For appliances in an AP or AAS HA group, configurations defined via config router policy and config router static synchronize across all group members. Conversely, configurations defined via config system ha-mgmt-router-static or config system ha-mgmt-router-policy apply solely to the specific local member. This local routing mechanism allows you to connect a specific cluster member to backend servers or management networks outside the shared server pool of the HA group.
To use this command, your administrator account’s access control profile must have rw or w permission to the sysgrp area. For details, see Permissions.
|
|
Only one default route (the static route with destination as 0.0.0.0/0) is allowed on FortiWeb appliance. For example, if you have configured a default route in Network > Route, then it's not allowed to configure another default route in HA route settings. |
Syntax
config system ha-mgmt-router-static
edit <route_index>
next
end
| Variable | Description | Default |
|
Enter the index number of the static route. If multiple routes match a packet, the one with the smallest index number is applied. The valid range is 0–65,535. |
No default. | |
Enter the name of the network interface, such as port1, through which traffic subject to this route will be outbound. The maximum length is 63 characters. |
No default. | |
|
Enter the destination IP address and netmask of traffic that will be subject to this route, separated with a space. To indicate all traffic regardless of IP address and netmask (that is, to configure a route to the default gateway), enter |
0.0.0.0 0.0.0.0
|
|
|
Enter the IP address of a next-hop router. Caution: The gateway IP address must be in the same subnet as the interface’s IP address. If you change the interface’s IP address later, the new IP address must also be in the same subnet as the interface’s default gateway address. Otherwise, all static routes and the default gateway will be lost. |
0.0.0.0
|