Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

static route leaking ... Is there a similar command to JUNOS "next-table"

Dears

Would like your assistance please regarding below

Is there a similar command to JUNOS "next-table" in Cisco ?

Would like to do MPLS VPN route leaking between 2 vrfs. route-targets can not be used as I am only receiving default route so leaking default route is never a good idea. Problem I can't use static route as there is no next-hop/interface being an MPLS network

What I wish is to define specific static routes and tell router to search in a different VRF for the next-hop/interface.
From what I can see is that leaking with static route can only be done by specifying an interface that is in a different vrf

;i.e  ip route vrf blue x.x.x.x 255.255.255.255 fa0/1 10.0.0.0.2

interface fa0/1
 ip vrf forwarding green
 ip address 10.0.0.1 255.255.255.0

 

What I wish to do

ip route vrf blue x.x.x.x/24 next-table orange

 

Any ideas ?

Thanks

  • WAN Routing and Switching
Everyone's tags (1)
6 REPLIES

Any ideas ?Thanks

Any ideas ?

Thanks

Silver

Hi sherifismail,I haven't

Hi sherifismail,

I haven't understand why you can't use a static route specifying an interface of the second VRF. Could you explane little more ?

 

Enrico

HelloYou can trying using a

Hello

You can trying using a static to Null 0 and advertise it and then use RT's to import it.

Ip route x.x.x.x y.y.y.y. null 0

 

res

Paul

Please don't forget to rate any posts that have been helpful. Thanks.

DearsThanks for your reply

Dears

Thanks for your reply/assistance

 

@ Enrico

Unfortunately I can't use this as next-hop interface is the MPLS interface so actually no next-hop IP

 

@ Paul

This would be possible from remote side. Bad news I have no access to it

I did a workaround for this issue but its not the best solution.

 

Thanks

Regards

Sherif Ismail

 

Silver

As far as I know you can make

As far as I know you can make the config suggest by Paul on your router, MP-BGP can import between VRFs on the same router, no need  to configure the static route on a remote router. Am I wrong ?

 

E

Dear CiollaroLets say I am

Dear Ciollaro

Lets say I am having 2 VRFs on router R1 ; vrf orange and vrf green.

vrf orange is importing RT 1:1 from MP-BGP/MPLS  that includes among many prefix 10.0.0.0/24 .

Now there are users in vrf green who want to access servers within same prefix however restriction that you should not do use import/export nor do changes in remote side thats why I was thinking of Juniper command "next-table"

 

Thanks

Regards

Sherif Ismail

 

705
Views
0
Helpful
6
Replies
This widget could not be displayed.