When redistributing static routes into OSPF and filtering so that only selected static routes get redistributed, I am aware of two methods:
1) Using a "distribute-list x out static" command under the OSPF process with the appropriate access-list x which allows the subnets you want redistributed.
2) In the redistribution command, refer to a route-map, such as "redistribute static subnets route-map STATIC". Where the route-map includes the subnets you want redistributed.
Is there any advantage of one method over the other one? I've used the "distribute-list x out static" in the past & have found that if I modify the access-list x later on, I need to restart the OSPF redistribution process in order for the new static route redistribution to take place (i.e., clear ip ospf redistribution). Would this also be the case when using method #2 above?
Re: Redistributing static routes into OSPF & filters
I would think, both methods will need a restart of the OSPF process. But the advantage of using route maps is that, you can set tags on redistributed routes, while with distribute lists you cant do that.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...