06-20-2016 01:37 AM - edited 03-05-2019 04:16 AM
Hi Guys,
I have a potential layer-3 loop in my control plane while implementing a particular design. which is approved by my design team. I will the try to explain this in detail. If someone can explain what is happening here, it will be a great help.
1) I have a network, Where L3-VPN is configured and it works perfectly. very old network and there is no flaws in it.
2) My design team gave me a design to implement another service. Which looks like below:
ip vrf RED
import map FILTER
route-target export 100:500,route-target import 100:500,route-target import 100:100
ip vrf GREEN
route-target export 100:100,route-target import 100:500,route-target import 100:100
As per the design what i understood is routes are being exchanged between two VRF's by using multiple route-targets. But again i have one statement "import map FILTER"
under vrf RED, which is having a prefix list and a community filter. Which basically looks like below:
route-map FILTER
match ip prefix XYZ
match extcommunity
ip extcommunity-filter 30 permit route-target 100:100
The above configurations are on a huawei router. So syntax are little different. But i want to know the logic. This setup works fine in normal scenario. But when
i take out the prefix list, all the subnet from GREEN flood into RED. Even after reapplying the prefix list, those routes continue to be in RED VRF?
Can someone expalin whether its a correct design?
06-20-2016 09:48 AM
Hi
The goal of import-map is to filter unwanted routes or to avoid having conflict routes that can cause a loop.
The normal behaviour is when you set the import-map it is taken under consideration on the next bgp update. It means that even you're applying right now it will have effect at the next bgp update based on your timer or default timer value.
Thanks
PS: Please don't forget to rate and mark as correct answer if this solved your issue
06-24-2016 12:21 AM
Hi,
whether its really required to keep both. i.e common route target and import statement in both vrfs?
Also need to know if i am importing routes which are having route-target same as the routes which are already exchanged via bgp route-targets, whether it will form any control plane loop?
thanks in advance
06-24-2016 08:13 AM
Hi
route-target import/export are required in your example to allow 1 vrf to import subnets from another subnet. And route-map needed to filter those subnets (which one You really want to see on the other vrf).
You can also filter something through bgp.
then you will need both to avoid any loops if some subnets are common on both vrfs.
thanks.
PS: please don't forget to rate and mark as correct answer if this solved your issue
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