Test the commands explained in this module, working on a scenario that includes two routers directly connected (i.e., Fa0/0 is connected to Fa0/0). Those routers should connect to a switch using, for example, ports Fa0/1. Connect a workstation on the switch.
- Configure a consistent IP addressing scheme on the two routers, for example, 192.168.0.1/24 and 192.168.0.2/24
- Configure HSRP 10 on the LAN-facing interfaces, using the 192.168.0.10 address
- Name the HSPR group as CCNA
- Control the election of the primary HSRP gateway using the standby 10 priority 110 command
- Verify HSRP configuration using the show standby [brief] command
- Configure HSRP preemption on both routers
- Shut down Router 1 and see how Router 2 becomes primary
- Restart Router 1 and see how it becomes primary again due to preemption being enabled
- Configure the workstation with the ip address 192.168.0.100/24 and the gateway address 192.168.0.10; ping the gateway from the workstation
- Configure interface tracking: track an unused interface on the router using the standby 10 track [int number] command; cycle that interface through different states and see how the corresponding router priority changes based on the interface state
- Configure HSRP version 2 with the standby version 2 command
- Adjust HSRP timers on both routers with the standby 10 timers x y command
- Configure MD5 HSRP authentication between the routers
- Debug HSRP using the debug standby command during a priority change on one of the routers and see how the second one is elected as the primary gateway