Service manual

Chapter 2: Network Configuration 31
Use the following command to configure static routes. Refer to Table 2.22 for the list of parameters
and the descriptions.
cli> config network stroutes add [parameter] <value>
Use the following command to delete a route.
cli> config network stroutes delete routenum <route number>
To configure static routes (example):
1. Add the default gateway 192.168.0.1.
cli> config network stroutes add default gateway 192.168.0.1
2. Activate and save your configuration.
interf The interface to use for the route. Must be specified if a gateway is
not. When a gateway is specified, the operating system determines
which interface is to be used.
Table 2.22: Static Routes Parameters and Values
Parameter Value Description
default none Used when there is no matching routing table.
gateway IPv4: <nnn.nnn.nnn.nnn> or
IPv6: <IPv6_address> (up to eight sets of
four hexadecimal characters separated
by colons (xxxx:xxxx. . .:xxxx:xxxx:)
Gateway IP address.
host IPv4: <nnn.nnn.nnn.nnn> or
IPv6: <IPv6_address> (up to eight sets of
four hexadecimal characters separated
by colons (xxxx:xxxx. . .:xxxx:xxxx:)
Route to a single host.
interface <string> Specify the network card that the packets come
through.
metric <number> The number of routers that packets must pass
through to reach the intended network.
netip IPv4: <nnn.nnn.nnn.nnn>
IPv6: <IPv6_address>/<prefix_length>
Route to a network.
netmask <nnn.nnn.nnn.nnn> Subnet mask (IPv4 parameter only).
Table 2.21: Routing Table Parameters (Continued)
Parameter Description