![]() |
The following procedures give examples for using the cycli utility for configuring default, host and network routes and assigning them to interfaces or to gateways.NOTE: Setting a gateway IP address automatically creates a default route to the gateway’s IP address.
2. Enter the cycli command.
5.
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.