IP CLI Commands
2/1553-ZAT 759 94 Uen B – December 2005
299
12.41
ip set route advertise
12.41.1 Syntax
ip set route {<name>|<number>} advertise
{enabled|disabled}
12.41.2 Description
This command enables/disables the advertising of an existing static route
(including a default route) via RIP. The cost advertised with this route is the
cost specified by the
ip set route cost
command.
If the route being operated on by this command is a default route then the
setting of the
ip set rip advertisedefault
command also has an
effect:
•
if
the
ip set rip advertisedefault
command is
enabled
, then it
controls the advertising of the route and uses the cost set by the
ip set
defaultroutecost
command.
•
if
the
ip set rip advertisedefault
command is
disabled
, then the
ip set route advertise
command controls the advertising of the
route and uses the cost set by the
ip set route cost
command as
described above.
12.41.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