3com S7906E Guide De Référence
1-19
cost: Cost of the default route, in the range 1 to 15.
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
Default Level
2: System level
Parameters
None
Description
Use the rip input command to enable the interface to receive RIP messages.
Use the undo rip input command to disable the interface from receiving RIP messages.
By default, an interface is enabled to receive RIP messages.
Related commands: rip output.