config system route
Use this command to configure static routes.
Syntax
config system route edit <route_int> set destination <destination_ipv4mask> set gateway <gateway_ipv4> set interface <interface name> end
Variable |
Description |
Default |
---|---|---|
|
Index number of the route in the routing table. |
|
|
Destination IP address and netmask of traffic that is subject to this route, separated by a space. To indicate all traffic regardless of IP address and netmask, enter |
|
|
IP address of the gateway router. |
|
|
Network interface associated with this route. |
|