IP CLI Commands
286
2/1553-ZAT 759 94 Uen B – December 2005
12.29
ip set rip advertisedefault
12.29.1 Syntax
ip set rip advertisedefault {enabled|disabled}
12.29.2 Description
This command enables/disables the advertising of a default route via RIP. If
you set this to
enabled
, then create a default route using the
ip add
defaultroute
command, the route will also be added to those advertised
by the RIP protocol. The cost associated with the route is the value set using
the
ip set rip defaultroutecost
command.
Note:
You must enable default advertising
before
you create the default
route.
12.29.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
enabled
Enables RIP to advertise a default
route with the cost metric set using the
ip set rip defaultroutecost
command.
disabled
Disables advertisement of a default
route.
disabled
12.29.4 Example
-->
ip set rip advertisedefault enabled