cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
777
Views
0
Helpful
1
Replies

global routing table leak routes to VRF

gbcbooksmj
Level 1
Level 1

i need to leak something routes from GRT to VRF 

ip vrf vrf1

rd 65535:100

route-target import 65535:100

 

route-map grt_vrf permit 10

set extcommunity rt 65535:100

 

bgp 100

address-family ipv4 unicast

network 10.1.1.0 mask 255.255.255.0 route-map grt_vrf 

 

ethernet1/0/1

ip address 10.1.1.1 255.255.255.0

 

ethernet1/0/2

ip vrf forward vrf1

ip address 10.1.2.1 255.255.255.0

 

can vrf1 import route 10.1.1.0/24 from GRT ? 

 

1 Reply 1

Hello

 

Try the follwoing:

ip prefix-list STAN permit 10.1.1.0 /24
route-map GRT-VRF
match ip address prefix-list STAN

ip vrf vrf1
rd 65535:100
import ipv4 unicast map GRT-VRF

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul