11-05-2023 06:25 AM - edited 11-05-2023 06:28 AM
Hello Team,
I need help leaking global routes to vrf and vfr routed to global in 4500x switch.
Routes are not showing up form global table inside vrf routing table,
I need to be able to import both ipv4 and ipv6 routes from global routing table.
vrf definition ill
rd 1000:1000
!
address-family ipv4
import map red
export map red
exit-address-family
!
address-family ipv6
import map red
export map red
exit-address-family
!
Solved! Go to Solution.
11-11-2023 12:24 AM
export ipv6 unicast map xxx <<- use this for export
and use static route for traffic from global to VRF
the import ipv6 is missing.
Thanks A Lot
MHM
11-11-2023 12:34 AM
I found a better solution,
I created additional vrf and add all global interface and routes to new vrf,
Its simpler to maintain this way,
vrf to vrf all commands work, vrf to global is pain to get everything working with ipv6 dual stack
I recommed to just creating new vrf for global and use it for route leaking.
11-05-2023 06:41 AM - edited 11-05-2023 06:41 AM
import ipv4 unicast map GLOBAL-into-VRF
use above command
Thanks A Lot
MHM
11-05-2023 06:44 AM
Hi,
Tried that command too, still not working.
11-05-2023 06:51 AM
did you add BGP ?
router bgp x
redistribute connected
address family IPv4 vrf Y
redistribute connected
then add import ipv4 unicast... command
Thanks A Lot
MHM
11-05-2023 06:50 AM
Hi ,
I have found the issue,
what i was doing was i was using single route-map and matching both ipv4 and ipv6 prefixes, which somehow breaks import,
but if you use separate route-map for matching ipv4 and ipv6 separately it works.
11-05-2023 06:54 AM
Glad issue solved
have a nice day
Thanks A Lot
MHM
11-05-2023 07:04 AM
But The same is not working for ipv6 prefix, please help.
11-05-2023 07:25 AM
can I see the last config
Thanks A Lot
MHM
11-09-2023 11:56 PM
vrf definition ill
rd 1000:1000
!
address-family ipv4
import ipv4 unicast map red
export ipv4 unicast map blue
exit-address-family
!
address-family ipv6
import map redv6
export map bluev6
exit-address-family
!
There is no import ipv6 unicast map <===option
11-11-2023 12:24 AM
export ipv6 unicast map xxx <<- use this for export
and use static route for traffic from global to VRF
the import ipv6 is missing.
Thanks A Lot
MHM
11-11-2023 12:34 AM
I found a better solution,
I created additional vrf and add all global interface and routes to new vrf,
Its simpler to maintain this way,
vrf to vrf all commands work, vrf to global is pain to get everything working with ipv6 dual stack
I recommed to just creating new vrf for global and use it for route leaking.
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