cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
612
Views
0
Helpful
4
Replies

GLBP vs. HSRP

John Blakley
VIP Alumni
VIP Alumni

I'm trying to learn about these two HA protocols, and I have a question. From playing around with GLBP, it seems as though it doesn't change the AVG unless the Active one goes down which will then force the Standby to become active. In the case of HSRP, if you are tracking an interface that goes down, the standby will automatically come up.

In my other tests, I noticed that the AVF DID change from the active to the standby. Am I correct in the fact that the AVG physically has to die to make a standby become the active in the case of GLBP?

*** Oh, and can I equate the AVF to a physical router in HSRP? For example, in HSRP tracking an interface that goes down will make the standby active if preempt is enabled. In an AVF, weights will change the forwarders status (like HSRP), and then bring the forwarder back online when the weight is within threshold?

Thanks,

John

HTH, John *** Please rate all useful posts ***
4 Replies 4

Jon Marshall
Hall of Fame
Hall of Fame

John

You can use preempt on the AVG if you want but it is disabled by default - from Cisco GLBP doc

=============================================

By default, the GLBP virtual gateway preemptive scheme is disabled. A backup virtual gateway can become the AVG only if the current AVG fails, regardless of the priorities assigned to the virtual gateways. You can enable the GLBP virtual gateway preemptive scheme using the glbp preempt command. Preemption allows a backup virtual gateway to become the AVG, if the backup virtual gateway is assigned a higher priority than the current AVG.

=============================================

http://www.cisco.com/en/US/docs/ios/ipapp/configuration/guide/ipapp_glbp_ps6441_TSD_Products_Configuration_Guide_Chapter.html#wp1054491

An AVF is a physical router that forwards packets for a certain amount of hosts.

Jon

Jon,

"...if the current AVG fails."

I have the preempt, and the standby comes up only if I shut down the internal interface (the interface that shares the virtual IP). My assumption is that since it uses AVFs, the physical routers will always be in standby unless the AVG physically fails (dead power, internal interface goes down, etc.)

--John

HTH, John *** Please rate all useful posts ***

John

Unfortunately i don't have a lab to test with at the moment. But from the text in original post

"Preemption allows a backup virtual gateway to become the AVG, if the backup virtual gateway is assigned a higher priority than the current AVG."

ie. the first 2 sentences in that text are describing the default ie. when preemption is not enabled. But if you enable preemption then your standby AVG can preempt as long as it has a higher priority.

Perhaps i'm reading it wrong :)

Jon

I'm going to do some more testing with it tonight to see what I can break. :-)

Thanks Jon!

John

HTH, John *** Please rate all useful posts ***
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco