cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2268
Views
2
Helpful
23
Replies

VRF LEAKING IN SAME SWITCH ( Cisco 6500 ).

rpalmeida
Level 1
Level 1

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.

23 Replies 23

did you check command 
import ipv4 unicast <<-  this use for Global into VRF 

Thanks A Lot
MHM

rpalmeida
Level 1
Level 1

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.

rpalmeida
Level 1
Level 1

Hello MHM,

I tried to configure the import/export in the VRF Context without sucess.

In attachment i send the config.

Is there anything missing?

Beste Regards

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

 

 

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.

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

I already check and it work prefect in my lab 
share output of command I request 

Screenshot (563).pngScreenshot (564).png

rpalmeida
Level 1
Level 1

Thanks for the suggestions.

I´gona test it in this evening.

Gona give you feedback later.

Best Regards.

rpalmeida
Level 1
Level 1

Hello MHM,

I tried to configure with export/import but without suceed...

Can you please help what im doing wrong...

Best Regards,

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

rpalmeida
Level 1
Level 1

I cant redistribute BGP to OSPF....

Dont Redistrubte under address family ipv4 vrf 

Redistrubte under global bgp.

rpalmeida
Level 1
Level 1

Something is missing...The subnets dont get redistributed...

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

rpalmeida
Level 1
Level 1

MHM...We are in the good path...

Now prefixs are in the BGP and VRF but cant ping.

Prefis from VRF to GRT are missing.

 

Review Cisco Networking for a $25 gift card