3-22
undo rip default-route
View
Interface view
Default Level
2: System level
Parameters
only
: Advertises only a default route.
originate
: Advertises a default route and other routes.
cost
: Cost of the default route, in the range 1 to 15. The default is 1.
no-originate
: Advertises routes other than a default route.
Description
Use the
rip default-route
command to configure the RIP interface to advertise a default route
with the specified metric.
Use the
undo rip default-route
command to disable the RIP interface from sending a default
route.
By default, a RIP interface can advertise a default route if the RIP process is configured with
default route advertisement.
A RIP router configured to advertise a default route will not receive any default routes from RIP
neighbors.
Related commands:
default-route
.
Examples
# Configure VLAN-interface 10 to advertise only a default route with a metric of 2.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] rip default-route only cost 2
rip input
Syntax
rip input
undo rip input
View
Interface view