cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
900
Views
4
Helpful
10
Replies

Cisco Catalyst 4500X VRF

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
!

2 Accepted Solutions

Accepted Solutions

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

View solution in original post

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.

View solution in original post

10 Replies 10

https://www.cisco.com/c/en/us/support/docs/ip/ip-routing/216541-vrf-configuration-examples-on-ios-xe.html

import ipv4 unicast map GLOBAL-into-VRF

use above command 

Thanks A Lot
MHM 

Hi,

Tried that command too, still not working.

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

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.

Glad issue solved 

have a nice day 

Thanks A Lot
MHM

But The same is not working for ipv6 prefix, please help.

can I see the last config 

Thanks A Lot
MHM


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

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

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.

Review Cisco Networking for a $25 gift card