11-12-2023 07:04 PM
Hello,
I'm normally doing vrf leaking between GRT and VRF and VRF and GRT with 2 tunnels inside the same switch (6500).
I make a tunnel with GRT and another tunnel with VRF and then 2 OSPFs or ISIS with BGP and everything works perfectly.
Is there any other way to do VRF LEAKING, within the same switch?
I intend for there to be OSPF ou ISIS to redistribute routes and some routes to go from GRT to VRF and VRF to GRT.
I've done some research on the internet but I can't find anything that works...
I´m sending my 2 examples in atatchment,
Thanks.
11-13-2023 12:31 AM
did you check command
import ipv4 unicast <<- this use for Global into VRF
Thanks A Lot
MHM
11-13-2023 04:00 AM
Hello MHM,
Thanks for answering,
Tonight i will try do that command but i remember that last time i tried didnt worked.
Tonight i will send the print of the config and the touring table.
11-15-2023 03:32 AM
11-15-2023 05:06 AM
Router# show ip vrf detail
Router# show ip route vrf TO_ISP
Router# show ip route
share output of above
please mention which prefix is not appear in Global and not appear in VRF
11-15-2023 05:20 AM
The configuration looks OK to me. Have you restarted the BGP peering/process? The import/export action only happens upon route updates, if the prefixes in question hasn't been updated they will not have been imported/exported.
11-15-2023 05:43 AM
I already check and it work prefect in my lab
share output of command I request
11-15-2023 06:38 AM
Thanks for the suggestions.
I´gona test it in this evening.
Gona give you feedback later.
Best Regards.
11-15-2023 03:26 PM
11-15-2023 03:34 PM
For global to vrf
You need to redistrubte ospf into bgp match internal and external.
For vrf to global
You dont use export ipv4 unicast map
11-15-2023 03:39 PM
11-15-2023 03:43 PM
Dont Redistrubte under address family ipv4 vrf
Redistrubte under global bgp.
11-15-2023 03:50 PM
11-15-2023 03:59 PM
Show ip bgp <<- here you can check if subnet of ospf are redistrubte into bgp.
Then check
Show ip route vrf
To see import from global into vrf
11-15-2023 04:04 PM
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