First Hop Redundancy Protocols

4.5.a i HSRP, GLBP, VRRP

HSRP

Hot Standby Router Protocol

General information on “HSRP”:

HSRP active router election:

  1. Priority (100 is default, higher is better), on tieā€¦
  2. Highest IP address (any interface)

HSRP active router tasks:

HSRP standby router tasks:

HSRPv1 virtual MAC address:

HSRPv2 virtual MAC address:

HSRP possible states:

HSRP failover process:

  1. The standby router stops seeing/receiving HELLO messages from the active (forwarding) router
  2. The standby router overtakes the role of the active (forwarding) router
  3. There’s no disruption to end devices since all HSRP group members share the same virtual IP and MAC address

HSRP interface tracking:

HSRP authentication:

HSRP default values:

HSRP v1 vs. v2:

“HSRP” CLI configuration commands:

## Basic HSRP configuration
Switch(config)# interface <if>
Switch(config-if)# standby <group-nr> ip <virtual-ip>

## HSRP configuration fine-tuning
Switch(config-if)# standby <group-nr> priority <priority>
Switch(config-if)# standby <group-nr> preemt
Switch(config-if)# standby <group-nr> track <if> <priority-decrement>
Switch(config-if)# standby <group-nr> timers <hello> <hold>
Switch(config-if)# standby <group-nr> authentication text <key>
Switch(config-if)# standby <group-nr> authentication md5 <key>
Switch(config-if)# standby version <1-or-2>

“HSRP” CLI show commands:

## Showing detailed HSRP configuration parameters
Switch# show standby

## Showing compact HSRP configuration parameters
Switch# show standby brief

VRRP

Virtual Router Redundancy Protocol

General information on “VRRP”:

VRRP differences to HSRP:

VRRP virtual MAC address:

VRRP default values:

VRRP interface tracking:

VRRP authentication:

“VRRP” CLI configuration commands:

## Basic VRRP configuration
Switch(config)# interface <if>
Switch(config-if)# vrrp <group-nr> ip <virtual-ip>

## VRRP configuration fine-tuning
Switch(config-if)# vrrp <group-nr> priority <priority>
Switch(config-if)# vrrp <group-nr> authentication <key>
Switch(config-if)# vrrp <group-nr> authentication md5 key-string <key>
Switch(config-if)# vrrp <group-nr> authentication md5 key-chain <key-chain>

## VRRP interface tracking configuration
Switch(config)# track <id> interface <if> line-protocol

Switch(config)# interface <if>
Switch(config-if)# vrrp <group-nr> track <track-id> decrement <priority-decrement>

“VRRP” CLI show commands:

## Showing detailed VRRP configuration parameters
Switch# show vrrp

## Showing compact VRRP configuration parameters
Switch# show vrrp brief

GLBP

Gateway Load Balancing Protocol

General information on “GLBP”:

GLBP virtual MAC address:

GLBP specific definitions:

GLBP default values:

GLBP Weighting:

GLBP Load Balancing methods:

GLBP authentication:

“GLBP” CLI configuration commands:

## Basic GLBP configuration
Switch(config)# interface <if>
Switch(config-if)# glbp <group-nr> ip <virtual-ip>

## GLBP configuration fine-tuning
Switch(config-if)# glbp <group-nr> priority <priority>
Switch(config-if)# glbp <group-nr> preempt
Switch(config-if)# glbp <group-nr> name <group-name>

## GLBP interface tracking configuration
Switch(config)# track <id> interface <if> line-protocol
Switch(config-if)# glbp <group-nr> weighting <maximum> lower <low> upper <up>
Switch(config-if)# glbp <group-nr> weighting track <track-id> decrement <priority-decrement>

## GLBP load-balancing method configuration
Switch(config-if)# glbp 1 load-balancing <method>

## GLBP authentication configuration
Switch(config-if)# glbp <group-nr> authentication text <key>
Switch(config-if)# glbp <group-nr> authentication md5 key-string <key>
Switch(config-if)# glbp <group-nr> authentication md5 key-chain <key-chain>

“GLBP” CLI show commands:

## Showing detailed GLBP configuration parameters
Switch# show glbp

## Showing compact GLBP configuration parameters
Switch# show glbp brief

4.5.a ii Redundancy using IPv6 RS/RA

General information on “Redundancy using IPv6 RS/RA”:

“Redundancy using IPv6 RS/RA” CLI configuration commands:

## Modifying the RA default router preference
Router(config)# interface <if>
Router(config-if)# ipv6 nd router-preference [high | medium | low]

## Modifying the RA advertisement interval
Router(config)# interface <if>
Router(config-if)# ipv6 nd ra interval <seconds>

## Modifying the RA lifetime value
Router(config)# interface <if>
Router(config-if)# ipv6 nd ra lifetime <seconds>