System information
Configuring Routes With cycli
98 AlterPath OnBoard Administrator’s Guide
5. Add a host route, if desired, by entering the host’s IP address after the
add network st_routes command.
6. Add a network route, if desired, by entering the network address after the
add network st_routes command in the form 1.2.3.4/24.
7. For both host and network routes, use the set network st_routes
command to assign the route to an interface or to a gateway and optionally
assign it a metric, by performing the following steps.
a. To assign the route to an interface, enter set network
st_routes IPaddress | networkIPaddress/NN device ethN.
The following screen example shows assigning the host route created
in Step 5 to the device eth0 and assigning an optional metric.
b. To assign the route to a gateway, enter set network st_routes
IPaddress | networkIPaddress/NN gateway gatewayIP.
The following screen example shows assigning the network route
created in Step 6 to the gateway 192.168.2.0.
cli> add network st_routes 192.168.1.12
OK
cli> add network st_routes 192.168.1.0/24
OK
cli> set network st_routes 192.168.1.12 device eth0 metric 3
OK
cli> set network st_routes 192.168.1.0/24 gateway 192.168.2.0
OK