04-30-2020 02:38 PM
Hi Folks,
im just running into an existential question here,
We are running iBGP to exchange some prefixes via prefix list, I havent had the time to study the design for years, now, there was a requirement to allow a couple of subnets,
all good, but during my diagnosis, I discovered that there is a route map declared matching a prefix list where I had to add my subnets, but it is not being applied anywhere, its just declared and pointing to the itself (loopback of the router )
the thing during my window, if the subnet is not in the prefix, it will not advertise in or out,
How come it works if there is no policy criteria to the peers declared under bgp? not even applied to any interface, its just the routemap declared only,
is there any other magic trick like that or I guess Im missing something,
anyone else have any much more explanation for that?
Regards
04-30-2020 06:43 PM
Hello
Your explanation seems a bit vague, Are you saying you have a route-map configured matching on a prefix-list however this route-map isn't appended to any interface or under any routing process and you say it looks like its still being called upon for route filtering/advertisement?.
Would you be able to post the configuration pertaining to this?.
04-30-2020 07:05 PM
04-30-2020 07:57 PM - edited 04-30-2020 07:59 PM
Hello
Do you any interface with ip policy-route applied as it looks like it was created for policy based routing?
sh run | in policy-route
sh run | in MYROUTEMAP
sh route-map MYROUTEMAP
However if that route-map isn't attached to any interface or routing process I cannot see how it will negate any prefix from being advertise.
04-30-2020 08:17 PM
04-30-2020 11:47 PM
Could you share your complete config (removing sensitive information)? Also, at least, the BGP related config from the other router. It will help us to see if there is anything you missed by any chance.
HTH,
Meheretab
05-01-2020 12:01 AM
Hello
One last thing
@Kn1ghtR1d3rOfD00m wrote:
the thing during my window, if the subnet is not in the prefix, it will not advertise in or out,
route-map MYROUTEMAP, permit, sequence 5
Match clauses:
ip address prefix-lists: FROM-CLIENT
Set clauses:
ip next-hop 192.168.1.1
Policy routing matches: 0 packets, 0 byte
Are you saying is you remove a prefix statement from thie prefix-list FROM-CLIENT, then any route related to that prefix statement is lost?
As suggested by @Meheretab Mengistu if applicable post the running config of your rtr, iy may assist in resolving your issue, If you have any!
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