Hello Sachin,
in your lab redistribution does not work because you are trying to redistribute between different VRFs. If you want redistribution to take place, then routes have to be in same VRF.
If you want to redistribute between VRFs it is called route leaking and you can learn it in this lesson.
https://networklessons.com/mpls/vrf-lite-route-leaking
You can achieve route leaking by using static routes or MP-BGP VPNv4 address-family.
To make you lab work you can apply a bit of configuration on R2.
Create VRFs and configure Route Distinguishers (RD) and Route Targets (RT). RD is used to make routes unique based on VRF they belong to. RT is used to import and export routes with specific extended community tag. These tags are controlled using route-target commands.
vrf definition vrf1
rd 65000:1
address-family ipv4
route-target export 65000:1
route-target import 65000:2
vrf definition vrf2
rd 65000:2
address-family ipv4
route-target export 65000:2
route-target import 65000:1
Create BGP process, give it BGP router-id. Create BGP address-family that belongs to specific VRF and redistribute specific EIGRP AS into it.
router bgp 65000
bgp router-id 2.2.2.2
address-family ipv4 vrf vrf1
redistribute eigrp 1
address-family ipv4 vrf vrf2
redistribute eigrp 2
Now you have routes from both VRFs in BGP VPNv4 address family table, you can check it using command âshow bgp vpnv4 unicast allâ.
Last, but not least, you have to redistribute routes from BGP into EIGRP. In your case it would look like this.
router eigrp 10
address-family ipv4 vrf vrf1 autonomous-system 1
redistribute bgp 65000 metric 1000 10 255 1 1500
address-family ipv4 vrf vrf2 autonomous-system 2
redistribute bgp 65000 metric 1000 10 255 1 1500
On R1 and R3 you should now see redistributed routes as âD EXâ, these are leaked routes from the other VRF.