redistribute (RIP)
redistribute
{
connected
|
bgp
|
ospf
|
static
[
metric
value
|
route-map
name
] }
no redistribute
{
connected
|
bgp
|
ospf
|
static
[
metric
value
|
route-map
name
]
}
By default, redistribution of other routes is disabled. Once redistribution of a particular type of route is enabled, the default action is to permit redistribution, even with redistribution filters applied to the virtual routing interface.
RIP router configuration mode
The
no form of the command removes redistribution actions specified in the command.
To control redistribution tightly, apply a filter to deny all routes and give it the highest ID. Then apply filters to allow specific routes.
RIP redistribution filters apply to all interfaces. Use route maps to define where to deny or permit redistribution. Refer to the route-map command for information on configuring route maps for RIP.
The following example redistributes connected routes and adds 10 to the metric for each route.
device# configure terminal device(config)# router rip device(config-rip-router)# redistribute connected metric 10
The following example discontinues redistribution and the added metric applied in the previous example.
device# configure terminal device(config)# router rip device(config-rip-router)# no redistribute connected metric 10