- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
Routing Protocols
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2018 06:58 AM
Got it working, gang ... thanks for the tips - I appreciate it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2018 11:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2018 12:06 PM
ip prefix-list abcd seq 10 permit 10.170.41.0/24
router ospf 100
redistribute static route-map ABCD
route-map ABCD permit 10
match ip address prefix-list abcd
Please note syntax may not be accurate.
I prefer to do all changes only in maintenance windows :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2018 08:04 PM
You need to add the subnet keyword as follow:
redistribute static route-map ABCD subnet
Regards,
Harold Ritter, CCIE #4168 (EI, SP)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2018 06:58 AM
Got it working, gang ... thanks for the tips - I appreciate it!
