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.
Syntax:
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.
Example:
To configure the switch to filter out redistribution of static, connected, or OSPF routes on network 10.0.0.0, enter the following commands:
switch(config)# router rip switch(rip)# restrict 10.0.0.0 255.0.0.0 switch(rip)# write memory
The default configuration permits redistribution for all default connected routes only.