Command Reference RIP Commands
Defines the RIP software versions: v1 or v2.
Both v1 and v2 are supported by default.
1.2 default-information originate
Use this command to generate a default route in the RIP progress. Use the no form of this command
to delete the generated default route.
default-information originate [always] [metric metric-value] [ route-map map-name ]
no default-information originate [ always] [metric] [ route-map map-name]
(Optional) Enables RIP to generate the default route, no matter
whether the default route exists or not.
(Optional) The original metric value of the default route with the value
range 115 of metric-value.
(Optional) Name of the associated route-map. Route-map is not
associated by default.
No default route is generated by default.
The default metric value is 1.
Routing process configuration mode
By default, RIP will not advertise the default route if the default route exists in the routing table of the
router. In this case, use the default-information originate command to notify the neighbor of the
default route.
With the parameter always configured, no matter whether the default route exists in the RIP routing
process or not, the default route will be advertised to the neighbor but is not shown in the local routing
table. You can use the show ip rip database command to view the RIP routing information database
to confirm whether the default route is generated.
Use the parameter route-map to control more about the default route advertised to RIP. For
example, use the set metric command to set the metric value of the default route.
The route-map set metric rule takes precedence over the parameter metric value configuration of the
default route. If the parameter metric is not configured, the default metric value is used by the default
route.