Ip Set Route Cost - Ericsson HM4x0 Reference Manual

Table of Contents

Advertisement

12.42

ip set route cost

12.42.1
Syntax
ip set route {<name>|<number>} cost <cost>
12.42.2
Description
This command sets the number of hops counted as the cost of the route for a
route previously created using the ip add route command.
12.42.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
name
number
cost
12.42.4
Example
--> ip set route route1 cost 3
2/1553-ZAT 759 94 Uen B – December 2005
Description
A name that identifies an existing
route. To display route names, use the
ip list routes command.
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.
The number of hops counted as the
cost of the route. This may affect the
choice of route when the route is
competing with routes acquired from
RIP. (Using a mixture of RIP and static
routing is not advised). The cost value
can be any positive integer.
IP CLI Commands
Default value
N/A
N/A
1
301

Advertisement

Table of Contents
loading

Table of Contents