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

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

vrf-lite + HSRP


I am rather new to VRF-lite so I need to ask the following:

I need to configure vrf-lite on 2 of the core switches in one building so I can have separate routing tables. Together with that I need to implement redundancy in the network so if one of the core switches dies, the users continue working. Can I implement vrf-lite on the 2 core switches with the same vrfs on them, without using mpls, and use hsrp for every vlan in my network? I have posted a diagram to explain my situation better. My users are conneced through a L2 switch to 2 core switches. The idea is to configure default gtwy for the users to be hsrp intf on the core switches (for every vlan). Vlans are grouped in vrfs in the same manner on both core swotches. Do I need anything else in order for this to work (mpls etc..) or is this enough? There will be no load balancing, only one of the core switch will be doing the work and the second one will be stand by.

New Member

Re: vrf-lite + HSRP

You do not need MPLS to make vrf-lite to work. Your diagram looks good.

Hope this helps.

New Member

Re: vrf-lite + HSRP

I am a bit puzzled about having two core switches with the same vrfs on them and no protocol between them so they are aware of having the same vrfs.

Re: vrf-lite + HSRP


in fact the core switches do NOT know, they have the same VRFs configured in vrf-lite.

Think of VRF-lite as a method to implement separate routers in software (somewhat simplified). All you do is interconnecting those "VRF routers", where connectivity is required and NOT to interconnect, where no connectivity is required.

Another example with 4 routers physically separated:

R1 - R2 and separately R3 - R4

Does R1 know anything about R3 and R4? Obviously no. How does R1 know it "belongs" to R2? Well, they are physically interconnected and CAN learn each other, if apropriate protocols are enabled (f.e. OSPF).

Now think of R1 to R4 being different "VRF routers". The same statements as in the physical network apply.

Hope this helps!

Regards, Martin

New Member

Re: vrf-lite + HSRP

network masters!! :) I have a very similar problem that is eluding me. please look at the drawing attached and see if it is similar to the posters issue. Seems similar. my issue is that i need vrf with nat, can vrf lite do nat? maybe together with my problem and his someone out there will know how to help me.

CreatePlease to create content