Description
Use
rip default-route
to configure the RIP interface to advertise a default route with the specified
metric.
Use
undo rip default-route
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
rip input
to enable the interface to receive RIP messages.
Use
undo rip input
to disable the interface from receiving RIP messages.
By default, an interface is enabled to receive RIP messages.
Examples
# Disable VLAN-interface 10 from receiving RIP messages.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] undo rip input
rip metricin
Syntax
rip metricin
[
route-policy route-policy-name
]
value
undo rip metricin
49