High Availability with HSRP Configuration

Configure HSRP for Local Interface Activation

Question

Which configuration command can you apply to a HSRP router so that its local interface becomes active if all other routers in the group fail?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.

Simply because that will be the default behavior routers would follow in the event all other routers in the HSRP group fail, then it would not keep attributes such as priority or preemption.

What preemption does in summary is to make sure that the configured Priority on all routers within the same HSRP group is always respected.

That is, if R1 is configured on the HSRP group with a priority of 150 but he stands as active since all other routers currently subscribed to that group have a priority 150, then will router will preempt the current active router and will take over hence becoming the new active router.

With preemption disabled, the new router does not preempt the current active router, unless routers in the group have to renegotiate their roles based on each router's priority at the time of negotiation.

The correct answer is C. standby 1 preempt.

HSRP (Hot Standby Router Protocol) is a protocol used for providing redundancy in a local area network (LAN) by allowing two or more routers to work together to present the appearance of a single virtual router or gateway. HSRP routers work in active and standby modes, with the active router being responsible for forwarding packets sent to the virtual IP address of the group.

In HSRP, the active router is responsible for forwarding packets sent to the virtual IP address of the group. The other routers in the group are in standby mode and do not forward packets unless the active router fails. When the active router fails, the standby router with the highest priority becomes the new active router.

However, sometimes it is desirable for a specific HSRP router to become active even if it has a lower priority than the other routers in the group. This can be achieved using the preempt option in the HSRP configuration.

The preempt command is used to enable preemption of the active router by a standby router that has a higher priority. This means that if a standby router with a higher priority becomes available, it will preempt the active router and take over as the new active router.

In this case, Option C standby 1 preempt is the correct answer, as it will allow the HSRP router to preempt other routers in the group if it becomes the highest priority router, even if it has a lower priority than the others initially.

Option A, no additional config is required, is incorrect because it does not specify any specific configuration command that can be used to achieve the desired result.

Option B, standby 1 track ethernet, is incorrect because it is used to track the status of an interface and adjust the HSRP priority accordingly. It does not ensure that the local interface becomes active if all other routers in the group fail.

Option D, standby 1 priority 250, is incorrect because it sets the priority of the router in the HSRP group. However, setting the priority alone does not ensure that the local interface becomes active if all other routers in the group fail. The preempt command is needed to enable preemption and ensure that the local interface becomes active if all other routers in the group fail.