Syntax for the CLI command Route
Last adaption: 07.2024
New:
- Layout adjustment
This article refers to a Beta version
| Command | Parameter | Description | Example |
|---|---|---|---|
route getroute get |
List of the network routes entered in the configuration | route get | |
route deleteroute delete |
Deletes a network route | route delete id "1" | |
| id | Id of the route | ||
route setroute set |
Editing a network route | route set id "3" weight "80" | |
| id | Id of the route | ||
| src | Source network | ||
| dst | Destination network | ||
| router | The IP address of the gateway behind which the network is located | ||
| device | Interface of the network in which the gateway is located | ||
| weight | Weighting of the route | ||
route newroute new |
Creating a network route | route new dst "192.168.100.0/24" router "192.168.50.150" | |
| src | Source network | ||
| dst | Destination network | ||
| router | The IP address of the gateway behind which the network is located | ||
| device | Interface of the network in which the gateway is located | ||
| weight | Weighting of the route | ||
route get_old_listroute get_old_list |
Listing of all old network routes | route get_old_list | |
route get_sys_listroute get_sys_list |
Listing of all network routes created in the system | route get_sys_list | |
route get_db_listroute get_db_list |
Listing of all network routes from the database | route get_db_list |


