03-14-2017 07:38 PM - edited 03-05-2019 08:11 AM
Hi,
I know is weird question,but i am learning a /16 from EBGP peer, but I only want to install a /24 in my routing table from that /16. How can I accomplish that? my EBGP peer is other customer and he is not willing to break his advertisement towards me, so i am learning 10.10.0.0/16 , where I only want to install a /24 that is 10.10.10.0/24 in my routing table, how can i achieve that, if possible :)
03-14-2017 09:36 PM
I'm sure there will be a really complicated way of doing this.
I would be tempted to filter out the 10.10.0.0/16 advertisement all together, and add a static route via the BGP router ID (which is hopefully not the next hop). This will cause a recursive route lookup, and the static route will only appear in the routing table while the BGP peer ID is also in the routing table.
03-17-2017 07:30 PM
I found another way to achieve that, and it works as i required.
http://www.cisco.com/c/en/us/td/docs/ios/12_2s/feature/guide/fsbgpri.html
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