default-information originate (RIP)

To generate a default route into the Routing Information Protocol (RIP), use the default-information originate command. To disable this feature, use the no form of this command.

default-information originate [ always ] [ route-map map-name ]

no default-information originate

Syntax Description

always
(Optional) Generates the default route if the route is not in the RIP routing information base.
route-map map-name
(Optional) Generates the default route only if the route is permitted by the route map. The map name is any alphanumerical string up to 63 characters.

Command Default

Disabled

Command Modes

Router address-family configuration mode

Command History

Release
Modification
5.0(3)N1(1)
This command was introduced.

Examples

This example shows how to originate a default route (0.0.0.0/0) to all routes that pass the Condition route map:

switch(config)# router rip Enterprise
switch(config-router)# address-family ipv4 unicast
switch(config-router-af)# default-information originate route-map Condition
switch(config-router-af)#
 

Related Commands

Command
Description
address-family
Enters address-family configuration mode.
default-metric
Sets the metric for routes redistributed into RIP.
redistribute
Redistributes routes from other routing protocols into RIP.
show ip rip route
Displays the routes in RIP table.