Configuring for redistribution

To configure for redistribution, define the redistribution tables with "restrict" redistribution filters. In the CLI, use the restrict command for RIP at the RIP router level.


restrict [ip-addr ip-mask | ip-addr prefix length]

This command prevents any routes with a destination address that is included in the range specified by the address/mask pair from being redistributed by RIP.


Do not enable redistribution until you have configured the redistribution filters. Otherwise, the network might become overloaded with routes that you did not intend to redistribute.


To configure the switch to filter out redistribution of static, connected, or OSPF routes on network, enter the following commands:

switch(config)# router rip
switch(rip)# restrict
switch(rip)# write memory

The default configuration permits redistribution for all default connected routes only.