{"id":248,"date":"2014-07-13T15:09:33","date_gmt":"2014-07-13T15:09:33","guid":{"rendered":"https:\/\/learncisco.net\/index.php\/glbp-overview\/"},"modified":"2023-01-27T19:27:31","modified_gmt":"2023-01-27T12:27:31","slug":"glbp-overview","status":"publish","type":"page","link":"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html","title":{"rendered":"Cisco GLBP Configuration with Example"},"content":{"rendered":"

In the previous lesson we showed you a load balancing mechanism and I’ll still argue that that’s the best way to go. Gateway Load Balancing Protocol – GLBP is the third and final First Hop Redundancy Protocol – FHRP. First Hop Redundancy Protocol, that’s a gateway protocol. GLBP is far more complicated. It’s mission in life though is to dynamically distribute the load within a group. So what we showed you is a per group load balancing. You could only get any kind of load balancing if you add multiple groups. Gateway Load Balancing Protocol on the other hand, allows you to load balance within one group. How does this happen? Well we still have a virtual MAC, short for Media Access Control address, a virtual IP address, and we point our clients to that. But there is far more intelligence baked into this technology, where when a client ARPs, short for Address Resolution Protocol, for it’s default gateway, one client could get one response, a different client would get a different response, because all of the routers are forwarding. We call them active virtual forwarders, and there is a virtual MAC address that is tied to each of them. And there is a router that is responsible to say, hey here is your virtual MAC address, next one, here’s a different virtual MAC address.<\/p>\n

\"GLBP<\/p>\n

You still have fail over by the way, you still have fail over, but we get load balancing baked into this technology. I’ll tell you the reality though and the reality is this. We’re still far more likely to use HSRP, short for Hot Standby Router Protocol, and here is why? HSRP is going to give us what we need, and that’s predictability. GLBP is a workable technology. It’s the most advanced, but it can generate some traffic flow that is downright undesirable. Because what can happen is traffic can go up to the distribution layer and then get forwarded across the distribution layer link to the other router. And it could have done this because spanning tree led us one way and we need to go another. It seems pretty benign, right? Well for large volumes of traffic, it results in some pretty inefficient and potentially problematic traffic flow. Nevertheless, GLBP is a very nice technology on paper but I would encourage you, regardless of what your skill level is, to use HSRP.<\/span><\/p>\n

Here is a sample output, similar to what we saw for HSRP.<\/p>\n

R1(config)#interface ethernet 0\/1
\nR1(config-if)#ip address 10.1.1.1 255.255.255.0
\nR1(config-if)#glbp 1 ip 10.1.1.100<\/p><\/blockquote>\n

R2(config)#interface ethernet 0\/1
\nR2(config-if)#ip address 10.1.1.2 255.255.255.0
\nR2(config-if)#glbp 1 ip 10.1.1.100<\/p><\/blockquote>\n

\n
R1#show glbp<\/strong><\/div>\n
Ethernet0\/0 – Group 1<\/div>\n
\u00a0 State is Active<\/div>\n
\u00a0 \u00a0 1 state change, last state change 00:03:08<\/div>\n
\u00a0 Virtual IP address is 10.1.1.100<\/div>\n
\u00a0 Hello time 3 sec, hold time 10 sec<\/div>\n
\u00a0 \u00a0 Next hello sent in 2.080 secs<\/div>\n
\u00a0 Redirect time 600 sec, forwarder timeout 14400 sec<\/div>\n
\u00a0 Preemption enabled, min delay 0 sec<\/div>\n
\u00a0 Active is local<\/div>\n
\u00a0 Standby is 10.1.1.2, priority 100 (expires in 8.096 sec)<\/div>\n
\u00a0 Priority 100 (default)<\/div>\n
\u00a0 Weighting 100 (default 100), thresholds: lower 1, upper 100<\/div>\n
\u00a0 Load balancing: round-robin<\/div>\n
Group members:<\/strong><\/div>\n
\u00a0 \u00a0 aabb.cc00.0300 (10.1.1.1) local<\/div>\n
\u00a0 \u00a0 aabb.cc00.0400 (10.1.1.2)<\/div>\n
\u00a0 There are 2 forwarders (1 active)<\/div>\n
Forwarder 1<\/strong><\/div>\n
\u00a0 \u00a0 State is Active<\/div>\n
\u00a0 \u00a0 \u00a0 1 state change, last state change 00:02:57<\/div>\n
\u00a0 \u00a0 MAC address is 0007.b400.0101 (default)<\/div>\n
\u00a0 \u00a0 Owner ID is aabb.cc00.0300<\/div>\n
\u00a0 \u00a0 Redirection enabled<\/div>\n
\u00a0 \u00a0 Preemption enabled, min delay 30 sec<\/div>\n
\u00a0 \u00a0 Active is local, weighting 100<\/div>\n
\u00a0 \u00a0 Client selection count: 1<\/div>\n
Forwarder 2<\/strong><\/div>\n
\u00a0 \u00a0 State is Listen<\/div>\n
\u00a0 \u00a0 MAC address is 0007.b400.0102 (learnt)<\/div>\n
\u00a0 \u00a0 Owner ID is aabb.cc00.0400<\/div>\n
\u00a0 \u00a0 Redirection enabled, 598.112 sec remaining (maximum 600 sec)<\/div>\n
\u00a0 \u00a0 Time to live: 14398.112 sec (maximum 14400 sec)<\/div>\n
\u00a0 \u00a0 Preemption enabled, min delay 30 sec<\/div>\n
\u00a0 \u00a0 Active is 10.1.1.2 (primary), weighting 100 (expires in 10.080 sec)<\/div>\n<\/blockquote>\n

Now by the way, any time HSRP comes up in the IOS it’s going to say standby. Why? Because they didn’t have the foresight to call it HSRP. So the configuration commands are standby, the show commands are standby and that’s really annoying. Here instead of standby, we see GLBP. Back in the day when HSRP was created, they only had one. So they didn’t actually bake that into the names of all the commands. I’ve digressed. OK. So we can see we’re active, virtual IP address but the reality is there is far more to it than what we can even get into in this discussion. So I would say, keep this at a high level for now and if you have a choice, HSRP is your best answer for First Hop Redundancy Protocol – FHRP needs.<\/p>\n","protected":false},"excerpt":{"rendered":"In the previous lesson we showed you a load balancing mechanism and I’ll still argue that that’s the best way to go. Gateway Load Balancing Protocol – GLBP is the third and final First Hop Redundancy Protocol – FHRP. First Hop Redundancy Protocol, that’s a gateway protocol. GLBP is far more complicated. It’s mission in … Read more<\/a>","protected":false},"author":5,"featured_media":0,"parent":140,"menu_order":177,"comment_status":"closed","ping_status":"closed","template":"cisco-page.php","meta":{"_acf_changed":false,"footnotes":""},"acf":[],"yoast_head":"\nCisco GLBP Configuration with Example - learncisco.net<\/title>\n<meta name=\"description\" content=\"This article explains the Gateway Load Balancing Protocol. Which is GLBP is the third and final First Hop Redundancy Protocol.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cisco GLBP Configuration with Example - learncisco.net\" \/>\n<meta property=\"og:description\" content=\"This article explains the Gateway Load Balancing Protocol. Which is GLBP is the third and final First Hop Redundancy Protocol.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html\" \/>\n<meta property=\"og:site_name\" content=\"learncisco.net\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-27T12:27:31+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html\",\"url\":\"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html\",\"name\":\"Cisco GLBP Configuration with Example - learncisco.net\",\"isPartOf\":{\"@id\":\"https:\/\/www.learncisco.net\/#website\"},\"datePublished\":\"2014-07-13T15:09:33+00:00\",\"dateModified\":\"2023-01-27T12:27:31+00:00\",\"description\":\"This article explains the Gateway Load Balancing Protocol. Which is GLBP is the third and final First Hop Redundancy Protocol.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.learncisco.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cisco Certification Courses\",\"item\":\"https:\/\/www.learncisco.net\/courses.html\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"CCNA 200-301\",\"item\":\"https:\/\/www.learncisco.net\/courses\/cisco-ccna.html\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"CCNP Articles\",\"item\":\"https:\/\/www.learncisco.net\/courses\/cisco-ccna\/part-12-ip-access-lists-acls.html\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"GLBP Overview\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.learncisco.net\/#website\",\"url\":\"https:\/\/www.learncisco.net\/\",\"name\":\"learncisco.net\",\"description\":\"Free online tests for the Cisco CCNA and CCNP exams. Test yourself with more than 4300 different questions.\",\"publisher\":{\"@id\":\"https:\/\/www.learncisco.net\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.learncisco.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.learncisco.net\/#organization\",\"name\":\"learncisco.net\",\"url\":\"https:\/\/www.learncisco.net\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.learncisco.net\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.learncisco.net\/wp-content\/uploads\/2021\/12\/logo-1.png\",\"contentUrl\":\"https:\/\/www.learncisco.net\/wp-content\/uploads\/2021\/12\/logo-1.png\",\"width\":154,\"height\":24,\"caption\":\"learncisco.net\"},\"image\":{\"@id\":\"https:\/\/www.learncisco.net\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cisco GLBP Configuration with Example - learncisco.net","description":"This article explains the Gateway Load Balancing Protocol. Which is GLBP is the third and final First Hop Redundancy Protocol.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html","og_locale":"en_US","og_type":"article","og_title":"Cisco GLBP Configuration with Example - learncisco.net","og_description":"This article explains the Gateway Load Balancing Protocol. Which is GLBP is the third and final First Hop Redundancy Protocol.","og_url":"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html","og_site_name":"learncisco.net","article_modified_time":"2023-01-27T12:27:31+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html","url":"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html","name":"Cisco GLBP Configuration with Example - learncisco.net","isPartOf":{"@id":"https:\/\/www.learncisco.net\/#website"},"datePublished":"2014-07-13T15:09:33+00:00","dateModified":"2023-01-27T12:27:31+00:00","description":"This article explains the Gateway Load Balancing Protocol. Which is GLBP is the third and final First Hop Redundancy Protocol.","breadcrumb":{"@id":"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.learncisco.net\/courses\/icnd-2\/etherchannel-and-l3-redundancy\/glbp-overview.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.learncisco.net\/"},{"@type":"ListItem","position":2,"name":"Cisco Certification Courses","item":"https:\/\/www.learncisco.net\/courses.html"},{"@type":"ListItem","position":3,"name":"CCNA 200-301","item":"https:\/\/www.learncisco.net\/courses\/cisco-ccna.html"},{"@type":"ListItem","position":4,"name":"CCNP Articles","item":"https:\/\/www.learncisco.net\/courses\/cisco-ccna\/part-12-ip-access-lists-acls.html"},{"@type":"ListItem","position":5,"name":"GLBP Overview"}]},{"@type":"WebSite","@id":"https:\/\/www.learncisco.net\/#website","url":"https:\/\/www.learncisco.net\/","name":"learncisco.net","description":"Free online tests for the Cisco CCNA and CCNP exams. Test yourself with more than 4300 different questions.","publisher":{"@id":"https:\/\/www.learncisco.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.learncisco.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.learncisco.net\/#organization","name":"learncisco.net","url":"https:\/\/www.learncisco.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.learncisco.net\/#\/schema\/logo\/image\/","url":"https:\/\/www.learncisco.net\/wp-content\/uploads\/2021\/12\/logo-1.png","contentUrl":"https:\/\/www.learncisco.net\/wp-content\/uploads\/2021\/12\/logo-1.png","width":154,"height":24,"caption":"learncisco.net"},"image":{"@id":"https:\/\/www.learncisco.net\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.learncisco.net\/wp-json\/wp\/v2\/pages\/248"}],"collection":[{"href":"https:\/\/www.learncisco.net\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.learncisco.net\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.learncisco.net\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.learncisco.net\/wp-json\/wp\/v2\/comments?post=248"}],"version-history":[{"count":2,"href":"https:\/\/www.learncisco.net\/wp-json\/wp\/v2\/pages\/248\/revisions"}],"predecessor-version":[{"id":990,"href":"https:\/\/www.learncisco.net\/wp-json\/wp\/v2\/pages\/248\/revisions\/990"}],"up":[{"embeddable":true,"href":"https:\/\/www.learncisco.net\/wp-json\/wp\/v2\/pages\/140"}],"wp:attachment":[{"href":"https:\/\/www.learncisco.net\/wp-json\/wp\/v2\/media?parent=248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}