Tasks
Users are assigned to VLAN 30 under Sw1 & Sw2. Sw1 was chosen as the primary HSRP gateway while Sw2 was selected as a backup one. Suppose Sw2 has been configured completely with the default settings. This task requires you to implement
HSRP group 1
on Sw1 with given information on the right:
Please type configuration commands here:
1. First define a track object for group, which checks the reachability of external network 8.8.8.0/24
Sw1(config)#
(1)
2. The IP 192.168.30.1/24 should be assigned to Sw1 (the primary HSRP gateway)
Sw1(config)# interface vlan 30
Sw1(config-if)#
(2)
3. Define user gateway for VLAN 30 as 192.168.30.254
Sw1(config-if)#
(3)
4. Configure the active gateway priority value of 120
Sw1(config-if)#
(4)
5. Authentication between two switches should use md5 with password "digitaltut"
Sw1(config-if)#
(5)
6. The primary gateway should have the ability to resume the Primary role when it recovers from failure
Sw1(config-if)#
(6)
7. Standby will take up active role in a second after 5 hello packets are not received. Do not change the default hello timer. Note: HSRP Timers must be the same on all HSRP members
Sw1,2(config-if)#
(7)
8. Apply the configured tracking object (in statement 1) to this HSRP group so that Sw2 can take Active role once the tracked object is unreachable and Sw1 can retake the Active role when Sw2 also fails
Sw1(config-if)#
(8)
9. Ensure that all four switches are able to read unidirectional link failure for any switch to switch ports. The affected ports should be disabled in the event of failure
Sw1,2,3,4(config)# interface range fa0/19 - 24
Sw1,2,3,4(config-if-range)#
(9)
10. Configure IP SLA on SW2 to monitor SW1 Loopback0 (1.1.1.1) using ICMP by SW2 source IP of 2.2.2.2. The operation should repeat every five minutes.
Sw2(config)#
(10)
Sw2(config-ip-sla)#
(11)
Sw2(config-ip-sla-echo)#
(12)
Sw2(config-ip-sla-echo)# exit
11. The IP SLA configured above should start immediately and repeat every day
Sw2(config)#
(13)
Submit
Result: