IP CLI Commands
302
2/1553-ZAT 759 94 Uen B – December 2005
12.43
ip set route destination
12.43.1 Syntax
ip set route {<name>|<number>} destination <dest-network>
<netmask>
12.43.2 Description
This command sets the destination network address of a route previously
created using the
ip add route
command.
12.43.3 Options
The following table gives the range of values for each option which can be
specified with this command and a default value (if applicable).
Option Description
Default
value
name
A name that identifies an existing
route. To display route names, use the
ip list routes
command.
N/A
number
A number that identifies an existing
route. To display route numbers, use
the
ip list routes
command. The
number appears in the first column
under the heading ID.
N/A
dest-
network
The IP address of the destination
network displayed in the following
format:
192.168.102.3
N/A
netmask
The destination netmask address
displayed in the following format:
255.255.255.0
N/A
12.43.4 Example
-->
ip set route route1 destination 192.168.103.3
255.255.255.0