--- title: "Manage Static Routes" slug: "manage-static-routes" updated: 2025-02-05T12:48:02Z published: 2025-02-05T12:48:02Z canonical: "kb.ctera.com/manage-static-routes" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.ctera.com/llms.txt > Use this file to discover all available pages before exploring further. # Manage Static Routes CLI commands are available to manage static routes for traffic going out from the filer. These static routes can also be used for wireless access to edge filers. The CLI commands interface with the Network Manager to manage the static routes. Each time a static route is added or deleted, all configured routes in the Network Manager are replaced with a new set of routes, which are saved in the database. **Notes** Adding or deleting static routes restarts the network connections, which briefly disrupts network connectivity. You can use the CLI commands listed below from within the edge filer user interface, without `rs` at the beginning of each command. For example, in the CLI page in the user interface, run `del /config/network/static_routes/192.168.1.1_32` instead of `rs del /config/network/static_routes/192.168.1.1_32` See [Execute CLI Commands from the Administrator User Interface](/v1/docs/how-to-6) for details about the CLI page in the user interface. ## Adding Static Routes To add a single static route, for example `192.168.1.1_32`, use the following CLI: `rs add /config/network/static_routes 'DestIpMask' 192.168.1.1_32 'GwIP' 200.10.1.1` where: **DestIpMask** is the destination IP and destination mask, separated by underscore. **GwIP** is the network gateway IP. To add multiple static routes with same destination IP, but different masks, for example: `192.168.1.3_32, 192.168.1.4_32`, use the following CLI where each static route is separated by a comma (,): `rs add /config/network/static_routes 'DestIpMask' 192.168.1.3_32 'GwIP' 200.10.1.1, 'DestIpMask' 192.168.1.4_32 'GwIP' 200.10.1.1` ## Removing a Static Route To remove a static route, for example, `192.168.1.1_32`, use the following CLI: `rs del /config/network/static_routes/192.168.1.1_32` ## Displaying the Defined Static Routes To display the static routes defined for the edge filer, use the following CLI: `rs show /config/network/static_routes` ## Cleaning the Defined Static Routes If the static routes configuration causes connectivity problems, you can remove the defined static routes using the following CLI, while logged in as the user **setup**: `rs exec /config/network cleanStaticRoutes`