SlideShare a Scribd company logo
1 of 16
Download to read offline
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 1© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 1
Understanding Layer
3 Redundancy
Edgardo Scrimaglia – CCIE
Edgardo.scrimaglia@gmail.com
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 2
Objectives
Upon completing this lesson, you will be able to meet these
objectives:
 Describe routing issues in connection to redundancy
 Explain the router redundancy process and what happens
when a failover occurs
 Identify HSRP and VRRP as Layer 3 redundancy protocols
 Configure basic HSRP
 Describe the idea behind HSRP interface tracking
 Describe the idea behind HSRP load balancing
 Identify GLBP as a load-balancing redundancy protocol
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 3
The Need for Default Gateway
Redundancy
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 4
Default Gateway Redundancy
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 5
Default Gateway Redundancy (Cont.)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 6
HSRP
 HSRP defines a group of routers -- one active and one
standby.
 Virtual IP and MAC addresses are shared between the two
routers.
 To verify HSRP state, use the show standby command.
 HSRP is Cisco proprietary, and VRRP is a standard
protocol.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 7
HSRP (Cont.)
 Active router:
Responds to default gateway
ARP requests with the virtual
router MAC address
Assumes active forwarding of
packets for the virtual router
Sends hello messages
Knows the virtual router IP
address
 Standby Router
Listens for periodic hello
messages
Assumes active forwarding of
packets if it does not hear from
active router
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 8
Configuring HSRP
 Routers A and B are configured with priorities of 110 and 90,
respectively. The configuration of Router A is displayed. A
similar configuration is required on Router B.
 The preempt keyword ensures that Router A will be the
HSRP active router as long its interface is active and
sending hellos.
RouterA(config)# interface GigabitEthernet0/0
RouterA(config-if)# ip address 10.1.10.2 255.255.255.0
RouterA(config-if)# standby 1 ip 10.1.10.1
RouterA(config-if)# standby 1 priority 110
RouterA(config-if)# standby 1 preempt
Router A
Priority
110
Router B
Priority
90
HSRP
Group 1
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 9
HSRP Verification
Use the show standby command to verify the HSRP state.
RouterA# show standby
GigabitEthernet0/0 - Group 1 (version 2)
State is Active
2 state changes, last state change 00:00:18
Virtual IP address is 10.1.10.1
Active virtual MAC address is 0000.0C9F.F001
Local virtual MAC address is 0000.0C9F.F001 (v2 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 2.278 secs
Preemption enabled
Active router is local
Standby router is 10.1.10.3, priority 90 (expires in 9 sec)
Priority 110 (configured 110)
Group name is hsrp-Gig0/0-1 (default)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 10
HSRP Verification (Cont.)
The show standby brief command displays a summary
of the HSRP configurations.
RouterA# show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Gig0/0 1 110 P Active local 10.1.10.3 10.1.10.1
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 11
HSRP Interface Tracking
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 12
HSRP Load Balancing
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 13
Gateway Load Balancing Protocol
 Allows full use of resources
on all devices without the
administrative burden of
creating multiple groups
 Provides a single virtual IP
address and multiple virtual
MAC addresses
 Routes traffic to single
gateway distributed across
routers
 Provides automatic rerouting
in the event of any failure
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 14
Gateway Load Balancing Protocol (Cont.)
 The show glbp command in this example displays
information about the status of GLBP group 1.
R1#show glbp
FastEthernet0/0 - Group 1
State is Active
2 state changes, last state change 00:04:12
Virtual IP address is 192.168.2.100
<output omitted>
Active is local
Standby is 192.168.2.2, priority 100 (expires in 7.644 sec)
Priority 100 (default)
Weighting 100 (default 100), thresholds: lower 1, upper 100
Load balancing: round-robin
Group members:
c000.0ce0.0000 (192.168.2.1) local
c001.0ce0.0000 (192.168.2.2)
<output omitted>
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 15
Gateway Load Balancing Protocol (Cont.)
 The show glbp command in this example displays
information about the status of GLBP group 1.
R1#show glbp
<output omitted>
There are 2 forwarders (1 active)
Forwarder 1
State is Active
1 state change, last state change 00:04:02
MAC address is 0007.b400.0101 (default)
Owner ID is c000.0ce0.0000
Redirection enabled
Preemption enabled, min delay 30 sec
Active is local, weighting 100
Forwarder 2
State is Listen
© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 16
Summary
 End devices are typically configured with a single default
gateway IP address that does not change when the network
topology changes.
 Redundancy protocols provide a mechanism for determining
which router should take the active role in forwarding traffic
and determining when that role must be taken over by a
standby router.
 HSRP defines a standby group of routers, with one router as
the active router. VRRP is standard protocol that provides a
similar function.
 GLBP is a Cisco proprietary solution to allow automatic
selection and simultaneous use of multiple available
gateways in addition to automatic failover between those
gateways.

More Related Content

What's hot

Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway Protocol
Kashif Latif
 
CCNA Advanced Routing Protocols
CCNA Advanced Routing ProtocolsCCNA Advanced Routing Protocols
CCNA Advanced Routing Protocols
Dsunte Wilson
 

What's hot (20)

VRRP (virtual router redundancy protocol)
VRRP (virtual router redundancy protocol)VRRP (virtual router redundancy protocol)
VRRP (virtual router redundancy protocol)
 
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONCCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
 
Is is
Is isIs is
Is is
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway Protocol
 
Border Gatway Protocol
Border Gatway ProtocolBorder Gatway Protocol
Border Gatway Protocol
 
GLBP (gateway load balancing protocol)
GLBP (gateway load balancing protocol)GLBP (gateway load balancing protocol)
GLBP (gateway load balancing protocol)
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
 
CCNA Advanced Routing Protocols
CCNA Advanced Routing ProtocolsCCNA Advanced Routing Protocols
CCNA Advanced Routing Protocols
 
VXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building BlocksVXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building Blocks
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)
 
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
 
IS-IS Protocol Adjacency
IS-IS Protocol Adjacency IS-IS Protocol Adjacency
IS-IS Protocol Adjacency
 
Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 
IS-IS vs OSPF
IS-IS vs OSPFIS-IS vs OSPF
IS-IS vs OSPF
 
BGP protocol presentation
BGP protocol  presentationBGP protocol  presentation
BGP protocol presentation
 
Cisco IPv6 Tutorial
Cisco IPv6 TutorialCisco IPv6 Tutorial
Cisco IPv6 Tutorial
 
EIGRP (enhanced interior gateway routing protocol)
EIGRP (enhanced interior gateway routing protocol)EIGRP (enhanced interior gateway routing protocol)
EIGRP (enhanced interior gateway routing protocol)
 
MPLS Traffic Engineering
MPLS Traffic EngineeringMPLS Traffic Engineering
MPLS Traffic Engineering
 
MPLS Traffic Engineering
MPLS Traffic EngineeringMPLS Traffic Engineering
MPLS Traffic Engineering
 

Viewers also liked

EIGRP Jayanta
EIGRP Jayanta EIGRP Jayanta
EIGRP Jayanta
Jayanta94
 
Link Aggregation Control Protocol
Link Aggregation Control ProtocolLink Aggregation Control Protocol
Link Aggregation Control Protocol
Kashif Latif
 
Seminariode Seguridad L2
Seminariode Seguridad L2Seminariode Seguridad L2
Seminariode Seguridad L2
christian nieto
 

Viewers also liked (20)

CISCO HSRP VRRP GLBP
CISCO HSRP VRRP GLBPCISCO HSRP VRRP GLBP
CISCO HSRP VRRP GLBP
 
Cisco hsrp configuration
Cisco hsrp configurationCisco hsrp configuration
Cisco hsrp configuration
 
Difference b/w STP RSTP PVST & MSTP
Difference b/w STP RSTP PVST & MSTPDifference b/w STP RSTP PVST & MSTP
Difference b/w STP RSTP PVST & MSTP
 
First hop redundancy
First hop redundancyFirst hop redundancy
First hop redundancy
 
EIGRP Jayanta
EIGRP Jayanta EIGRP Jayanta
EIGRP Jayanta
 
Overview of Spanning Tree Protocol
Overview of Spanning Tree ProtocolOverview of Spanning Tree Protocol
Overview of Spanning Tree Protocol
 
Cisco ASR 1000 Series Testing Results and Analysis
Cisco ASR 1000 Series Testing Results and AnalysisCisco ASR 1000 Series Testing Results and Analysis
Cisco ASR 1000 Series Testing Results and Analysis
 
Vrrp
VrrpVrrp
Vrrp
 
Packet Tracer: Load Balancing with GLBP and FHRP
Packet Tracer: Load Balancing with GLBP and FHRPPacket Tracer: Load Balancing with GLBP and FHRP
Packet Tracer: Load Balancing with GLBP and FHRP
 
Link Aggregation Control Protocol
Link Aggregation Control ProtocolLink Aggregation Control Protocol
Link Aggregation Control Protocol
 
Cidr
CidrCidr
Cidr
 
Lan Network with Redundancy.ppt
Lan Network with Redundancy.pptLan Network with Redundancy.ppt
Lan Network with Redundancy.ppt
 
Cidr.ppt
Cidr.pptCidr.ppt
Cidr.ppt
 
Nexus 1000v part ii
Nexus 1000v part iiNexus 1000v part ii
Nexus 1000v part ii
 
C I D R
C I D RC I D R
C I D R
 
Dynamic ARP Inspection (DAI)
Dynamic ARP Inspection (DAI)Dynamic ARP Inspection (DAI)
Dynamic ARP Inspection (DAI)
 
Seminariode Seguridad L2
Seminariode Seguridad L2Seminariode Seguridad L2
Seminariode Seguridad L2
 
Spanning Tree Protocol
Spanning Tree ProtocolSpanning Tree Protocol
Spanning Tree Protocol
 
RSTP (rapid spanning tree protocol)
RSTP (rapid spanning tree protocol)RSTP (rapid spanning tree protocol)
RSTP (rapid spanning tree protocol)
 
CCNP Route - EIGRP
CCNP Route - EIGRPCCNP Route - EIGRP
CCNP Route - EIGRP
 

Similar to Layer 3 redundancy hsrp

14 module
14  module14  module
14 module
Asif
 
In depth understanding network security
In depth understanding network securityIn depth understanding network security
In depth understanding network security
Thanawan Tuamyim
 
Ospf Last Modified Eng
Ospf  Last Modified EngOspf  Last Modified Eng
Ospf Last Modified Eng
Alp isik
 
Cisco data center support
Cisco data center supportCisco data center support
Cisco data center support
Krunal Shah
 
Brk 135 t-ccna_switching
Brk 135 t-ccna_switchingBrk 135 t-ccna_switching
Brk 135 t-ccna_switching
parthasn83
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2
Kris Mofu
 
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docxAll contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
galerussel59292
 

Similar to Layer 3 redundancy hsrp (20)

Hsrp
HsrpHsrp
Hsrp
 
Hsrp
HsrpHsrp
Hsrp
 
managing your network environment
managing your network environmentmanaging your network environment
managing your network environment
 
Detailed explanation of Basic router configuration
Detailed explanation of Basic router configurationDetailed explanation of Basic router configuration
Detailed explanation of Basic router configuration
 
Krzysztof Mazepa - IOS XR - IP Fast Convergence
Krzysztof Mazepa - IOS XR - IP Fast ConvergenceKrzysztof Mazepa - IOS XR - IP Fast Convergence
Krzysztof Mazepa - IOS XR - IP Fast Convergence
 
14 module
14  module14  module
14 module
 
In depth understanding network security
In depth understanding network securityIn depth understanding network security
In depth understanding network security
 
CCNA 2
CCNA 2 CCNA 2
CCNA 2
 
Ospf Last Modified Eng
Ospf  Last Modified EngOspf  Last Modified Eng
Ospf Last Modified Eng
 
Cisco data center support
Cisco data center supportCisco data center support
Cisco data center support
 
Cisco-6500-v1.0-R
Cisco-6500-v1.0-RCisco-6500-v1.0-R
Cisco-6500-v1.0-R
 
Icnd210 s04l01
Icnd210 s04l01Icnd210 s04l01
Icnd210 s04l01
 
Brk 135 t-ccna_switching
Brk 135 t-ccna_switchingBrk 135 t-ccna_switching
Brk 135 t-ccna_switching
 
Day 13.1..1 catalyst switch
Day 13.1..1 catalyst switchDay 13.1..1 catalyst switch
Day 13.1..1 catalyst switch
 
CCNA Routing and Switching Lesson 06 - IOS Basics - Eric Vanderburg
CCNA Routing and Switching Lesson 06 - IOS Basics - Eric VanderburgCCNA Routing and Switching Lesson 06 - IOS Basics - Eric Vanderburg
CCNA Routing and Switching Lesson 06 - IOS Basics - Eric Vanderburg
 
Deploying Carrier Ethernet features on ASR 9000
Deploying Carrier Ethernet features on ASR 9000Deploying Carrier Ethernet features on ASR 9000
Deploying Carrier Ethernet features on ASR 9000
 
Deploying Carrier Ethernet Features on Cisco ASR 9000
Deploying Carrier Ethernet Features on Cisco ASR 9000Deploying Carrier Ethernet Features on Cisco ASR 9000
Deploying Carrier Ethernet Features on Cisco ASR 9000
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2
 
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docxAll contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
 
Class notes fhrp,hsrp
Class notes  fhrp,hsrpClass notes  fhrp,hsrp
Class notes fhrp,hsrp
 

More from Edgardo Scrimaglia

More from Edgardo Scrimaglia (9)

Ospf routing protocol
Ospf routing protocolOspf routing protocol
Ospf routing protocol
 
Link state protocols.ppt
Link state protocols.pptLink state protocols.ppt
Link state protocols.ppt
 
Multicast address
Multicast addressMulticast address
Multicast address
 
Ether channel fundamentals
Ether channel fundamentalsEther channel fundamentals
Ether channel fundamentals
 
Eigrp.ppt
Eigrp.pptEigrp.ppt
Eigrp.ppt
 
Subnet mask vs wildcard mask
Subnet mask vs wildcard maskSubnet mask vs wildcard mask
Subnet mask vs wildcard mask
 
Mecanismos de transicion pv6
Mecanismos de transicion pv6Mecanismos de transicion pv6
Mecanismos de transicion pv6
 
Como definir un esquema de direcciones IPv6
Como definir un esquema de direcciones IPv6Como definir un esquema de direcciones IPv6
Como definir un esquema de direcciones IPv6
 
Conceptos ipv6, direccionamiento
Conceptos ipv6, direccionamientoConceptos ipv6, direccionamiento
Conceptos ipv6, direccionamiento
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

Layer 3 redundancy hsrp

  • 1. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 1© 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 1 Understanding Layer 3 Redundancy Edgardo Scrimaglia – CCIE Edgardo.scrimaglia@gmail.com
  • 2. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 2 Objectives Upon completing this lesson, you will be able to meet these objectives:  Describe routing issues in connection to redundancy  Explain the router redundancy process and what happens when a failover occurs  Identify HSRP and VRRP as Layer 3 redundancy protocols  Configure basic HSRP  Describe the idea behind HSRP interface tracking  Describe the idea behind HSRP load balancing  Identify GLBP as a load-balancing redundancy protocol
  • 3. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 3 The Need for Default Gateway Redundancy
  • 4. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 4 Default Gateway Redundancy
  • 5. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 5 Default Gateway Redundancy (Cont.)
  • 6. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 6 HSRP  HSRP defines a group of routers -- one active and one standby.  Virtual IP and MAC addresses are shared between the two routers.  To verify HSRP state, use the show standby command.  HSRP is Cisco proprietary, and VRRP is a standard protocol.
  • 7. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 7 HSRP (Cont.)  Active router: Responds to default gateway ARP requests with the virtual router MAC address Assumes active forwarding of packets for the virtual router Sends hello messages Knows the virtual router IP address  Standby Router Listens for periodic hello messages Assumes active forwarding of packets if it does not hear from active router
  • 8. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 8 Configuring HSRP  Routers A and B are configured with priorities of 110 and 90, respectively. The configuration of Router A is displayed. A similar configuration is required on Router B.  The preempt keyword ensures that Router A will be the HSRP active router as long its interface is active and sending hellos. RouterA(config)# interface GigabitEthernet0/0 RouterA(config-if)# ip address 10.1.10.2 255.255.255.0 RouterA(config-if)# standby 1 ip 10.1.10.1 RouterA(config-if)# standby 1 priority 110 RouterA(config-if)# standby 1 preempt Router A Priority 110 Router B Priority 90 HSRP Group 1
  • 9. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 9 HSRP Verification Use the show standby command to verify the HSRP state. RouterA# show standby GigabitEthernet0/0 - Group 1 (version 2) State is Active 2 state changes, last state change 00:00:18 Virtual IP address is 10.1.10.1 Active virtual MAC address is 0000.0C9F.F001 Local virtual MAC address is 0000.0C9F.F001 (v2 default) Hello time 3 sec, hold time 10 sec Next hello sent in 2.278 secs Preemption enabled Active router is local Standby router is 10.1.10.3, priority 90 (expires in 9 sec) Priority 110 (configured 110) Group name is hsrp-Gig0/0-1 (default)
  • 10. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 10 HSRP Verification (Cont.) The show standby brief command displays a summary of the HSRP configurations. RouterA# show standby brief P indicates configured to preempt. | Interface Grp Pri P State Active Standby Virtual IP Gig0/0 1 110 P Active local 10.1.10.3 10.1.10.1
  • 11. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 11 HSRP Interface Tracking
  • 12. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 12 HSRP Load Balancing
  • 13. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 13 Gateway Load Balancing Protocol  Allows full use of resources on all devices without the administrative burden of creating multiple groups  Provides a single virtual IP address and multiple virtual MAC addresses  Routes traffic to single gateway distributed across routers  Provides automatic rerouting in the event of any failure
  • 14. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 14 Gateway Load Balancing Protocol (Cont.)  The show glbp command in this example displays information about the status of GLBP group 1. R1#show glbp FastEthernet0/0 - Group 1 State is Active 2 state changes, last state change 00:04:12 Virtual IP address is 192.168.2.100 <output omitted> Active is local Standby is 192.168.2.2, priority 100 (expires in 7.644 sec) Priority 100 (default) Weighting 100 (default 100), thresholds: lower 1, upper 100 Load balancing: round-robin Group members: c000.0ce0.0000 (192.168.2.1) local c001.0ce0.0000 (192.168.2.2) <output omitted>
  • 15. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 15 Gateway Load Balancing Protocol (Cont.)  The show glbp command in this example displays information about the status of GLBP group 1. R1#show glbp <output omitted> There are 2 forwarders (1 active) Forwarder 1 State is Active 1 state change, last state change 00:04:02 MAC address is 0007.b400.0101 (default) Owner ID is c000.0ce0.0000 Redirection enabled Preemption enabled, min delay 30 sec Active is local, weighting 100 Forwarder 2 State is Listen
  • 16. © 2006 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialBCMSN 7 - 1 16 Summary  End devices are typically configured with a single default gateway IP address that does not change when the network topology changes.  Redundancy protocols provide a mechanism for determining which router should take the active role in forwarding traffic and determining when that role must be taken over by a standby router.  HSRP defines a standby group of routers, with one router as the active router. VRRP is standard protocol that provides a similar function.  GLBP is a Cisco proprietary solution to allow automatic selection and simultaneous use of multiple available gateways in addition to automatic failover between those gateways.