Cisco Router HSRP Configuration

#Cisco #Routers
#CCNA R&S, CCNP and CCIE Students
#Cisco Systems Engineer
#Specially Routing Students
# Network Engineers
#Cisco TAC Engineers
#Cisco CCIE Students

HSRP (Hot Standby Router Protocol) is the Cisco proprietary protocol for providing redundancy in router networks for different VLANs. The standard router redundancy protocol which is used by other vendors is VRRP (Virtual Router Redundancy Protocol), however Cisco has created its own proprietary protocol (HSRP) which works very well on Cisco routers.

Short and Simple:GLBP: Cisco proprietary protocol
Port number : UDP 1985
Multicast Address: V2) and ( V1)
Working Methods : Load balance for different VLANs
MAC address Format: MAC address 0000.0c07.ACxx

In a local region community (LAN), all hosts (computer, Servers etc.) have a unmarried default gateway cope with configured that is used to course packets out of doors the LAN. If that single default gateway fails, then conversation out of doors the LAN is not viable. With HSRP we are able to have two gateway routers, one lively and one standby, with a purpose to offer resiliency concerning the default gateway deal with. using HSRP, the 2 routers can have a physical IP cope with configured on their LAN-going through interface, but they may have also a digital (HSRP deal with) if you want to be used because the default gateway deal with for hosts at the LAN. irrespective of which router gateway is up and strolling (both the number one or the secondary), the virtual HSRP deal with will live the equal.

Fig 1.1 HSRP ( Networks-Baseline)
Fig 1.1 HSRP ( Networks-Baseline)

First of all, HSRP must be configured between interfaces that have Layer2 connectivity between them. From the diagram above, HSRP will be running between interfaces FE0/1 on the two LAN routers. Interface FE0/1 on RTR-A will have a physical IP address and interface FE0/1 on RTR-B will have a physical IP address An HSRP address will be also configured on both routers. This address will serve as the default gateway address for all hosts on the LAN. RTR-A will be configured as the Active HSRP router by setting a higher hsrp priority.
With HSRP, we can also track a specific interface. This means that if the tracked interface of the active router fails, then HSRP will trigger a failover to the standby router.
Below is the basic configuration for HSRP
Router RTR-A
RTR-A(config)# int fa0/1
RTR-A(config-if)# ip address
! enable HSRP group 1 and set the virtual address to
RTR-A(config-if)# standby 1 ip
! preempt allows the router to become the active router when its priority is higher
RTR-A(config-if)# standby 1 preempt
! increase its priority to 110 to make it active (default priority  is 100)
RTR-A(config-if)# standby 1 priority 110
! track the WAN interface FE0/0
RTR-A(config-if)# standby 1 track fa0/0

Router RTR-B
RTR-B(config)# int fa0/1
RTR-B(config-if)# ip address
! enable HSRP group 1 and set the virtual address to
RTR-B(config-if)# standby 1 ip
! preempt allows the router to become the active router when its priority is higher
RTR-B(config-if)# standby 1 preempt
! set priority to 100 to make it the standby router (this is the default value)
RTR-B(config-if)# standby 1 priority 100
! track the WAN interface FE0/0
RTR-B(config-if)# standby 1 track fa0/0
That’s it. Now configure a default gateway address of for your LAN hosts.
Share on Google Plus

About ılılılı Inderdeep Singh ılılılı

Networks Baseline is a group of Network Engineers, which helps you to have the "Technical information" in the field of Networking and guide you with all their expertise.

Popular Posts