09-11-2018 11:14 AM
Current setup:
A) Only one routing protocol is in use: OSPF 100, area 0
B) There are three "categories" of static routes on the router.
1) The first set is defined by a route map and redistributed into OSPF 100 via the redistribute static via route map command. These particular static routes are for a specific customer.
2) The second set of static routes I do not want redistributed into OSPF at all.
3) The third set of static routes I DO want redistributed into OSPF, but for technical/management reasons I do not want to alter the first route-map command (it's dedicated to a customer's subnets)
Questions:
A) Can I use more than one redistribute static via route-map command per single OSPF process? I don't think so because when I tried it, it blew the first one away.
B) How do I get that "third set" of static routes defined on the router redistributed into OSPF 100 area 0 if I do not want to alter the first redistribute static via route-map command AND I do not want to advertise ALL static routes on this router in OSPF?
Solved! Go to Solution.
09-12-2018 01:21 AM - edited 09-12-2018 01:28 AM
Hello
You can just add an additional stanza to the existing one as a catch all and/or reference another acl in it.
This way is you want to remove additional statics you just have to remove either the acl within in it or the whole stanza 20
If you want to add to it - Then either just amend the exiting static or if you are not referencing any acl they will automatically get added.
Example:
route-map original permit 10
match ip address 1
route-map original permit 20
match ip address 2 <--optional for just other specific statics or no match statement to include all other statics
09-12-2018 06:58 AM
Got it working, gang ... thanks for the tips - I appreciate it!
09-11-2018 11:38 AM
09-11-2018 12:06 PM
09-11-2018 08:04 PM
You need to add the subnet keyword as follow:
redistribute static route-map ABCD subnet
Regards,
09-12-2018 01:21 AM - edited 09-12-2018 01:28 AM
Hello
You can just add an additional stanza to the existing one as a catch all and/or reference another acl in it.
This way is you want to remove additional statics you just have to remove either the acl within in it or the whole stanza 20
If you want to add to it - Then either just amend the exiting static or if you are not referencing any acl they will automatically get added.
Example:
route-map original permit 10
match ip address 1
route-map original permit 20
match ip address 2 <--optional for just other specific statics or no match statement to include all other statics
09-12-2018 06:58 AM
Got it working, gang ... thanks for the tips - I appreciate it!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide