You are on page 1of 12

High Availability

Part-1: Hot Standby Router


Protocol
www.ine.com
HSRP
Hot Standby Router Protocol Active

Cisco proprietary My gateway is


1.1.1.3

1.1.1.1 Virtual Router


1.1.1.1

Uses UDP port 1985 and multicast address 1.1.1.2


224.0.0.2

Standby
Two roles: Active and Standby
HSRP router with highest priority is considered Active
Default priority = 100
Copyright www.ine.com
HSRP
MAC address: 0000.0c07.acxx
xx refers to the group number in hexadecimal
Preemption disabled by default
HSRP/VRRP = No load-sharing feature
MHSRP can be used for load sharing

Copyright www.ine.com
Implementing Basic HSRP
Enabling HSRP in the interface
Switch(config-if)# standby <group-id> ip <virtual-ip>
Configuring priority
Switch(config-if)# standby <group-id> priority <priority>
Enabling preemption
Switch(config-if)# standby <group-id> preempt

Copyright www.ine.com
HSRP State Machine
Disabled
Initial (INIT)
Learn
Listen
Speak
Standby / Active
Copyright www.ine.com
HSRP Hello Timers
HSRP Hello timer = 3-secs
Dead Timer = 10-secs (or 3x Hello)

Copyright www.ine.com
Modifying Preemption Behavior
HSRP Preemption can be delayed to allow
time for other protocols to re-build their
tables.

Copyright www.ine.com
HSRP Authentication (interface keys)
Authentication supported
Plain text
MD5
Plain-text configuration
Sw1(config-if)#standby <group-id> authentication
<password>
MD5 configuration
Sw1(config-if)#standby <group-id> authentication md5 key-string [0|7]
string
Copyright www.ine.com
HSRP Authentication (key chain keys)
HSRP can obtain current/active MD5 key from a key chain.
NTP should also be configured.

Copyright www.ine.com
HSRP Object Tracking
HSRP can track objects (typically interfaces)
If tracked object fails, HSRP priority is reduced by
configurable amount (default=10)
Active
Standby

Ser0/0
1.1.1.3
My gateway is
1.1.1.1 Virtual Router
1.1.1.1

1.1.1.2

Copyright www.ine.com Standby


Active
HSRP Object Tracking
First, create a track object globally
Router-1(config)#track 1 ?
application Application
interface Select an interface to track
ip IP protocol
ipv6 IPv6 protocol
list Group objects in a list
stub-object Stub tracking object
(config-if)#standby <group> track <object#> [decrement
value]
Copyright www.ine.com
Verifying HSRP
Verification commands
Switch# show standby
Switch# show standby brief

Copyright www.ine.com

You might also like