SOURCECODEBD.NET

Live Experience

HSRP Configuration with Primary and Backup

Router1
 
interface FastEthernet0/0
 description interface to LAN
 ip address 192.168.1.2 255.255.255.0
 standby 1 ip 192.168.1.1               <- Virtual IP
 standby 1 priority 105                 <- Higher Priority = Primary Router 
 standby 1 preempt                      <- Enables the router with the highest priority to immediately become the active router
 
!
 
Router2
 
interface FastEthernet0/0
 description interface to LAN
 ip address 192.168.1.3 255.255.255.0
 standby 1 ip 192.168.1.1               <- Virtual IP
 standby 1 priority 100                 <- Lower Priority = Backup Router
 standby 1 preempt                      <- Enables the router with the highest priority to immediately become the active router
 
!
 
Verification:
 
Router1# show standby
Router2# show standby
You are here: Home / Switching / HOW TO HSRP Primary and Backup