Cisco Data Center Core Technologies: Implementing HSRP on Nexus 7000 Switch for VLAN 100

Implementing HSRP on Nexus 7000 Switch for VLAN 100

Question

An engineer must configure a Nexus 7000 series switch for HSRP on VLAN 100

When fully functional, the router must be the active master.

Which set of commands must be used to implement the scenario?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.

https://www.google.com/search?q=hsrp+priority&oq=hsrp+priority&aqs=chrome..69i57j0l2j0i20i263i395j0i395l6.5307j1j4&sourceid=chrome&ie=UTF-8

Sure, I'd be happy to explain!

HSRP (Hot Standby Router Protocol) is a Cisco proprietary protocol that allows two or more routers to work together to represent a virtual IP address. HSRP provides redundancy and failover capabilities in case of a router or link failure, allowing for continuous network connectivity.

In this scenario, the engineer needs to configure a Nexus 7000 series switch for HSRP on VLAN 100, with the router being the active master when fully functional. To accomplish this, the engineer needs to configure the HSRP parameters on the switch using the appropriate set of commands.

Let's go through each of the answer options and see which one is the correct set of commands:

Option A:

kotlin
feature hsrp interface vlan100 ip address 10.1.1.2 255.255.255.0 priority 255 preempt hsrp version 2 hsrp 1000 ip 10.1.1.1

This set of commands enables HSRP on the switch, configures the VLAN interface with an IP address of 10.1.1.2/24, sets the HSRP priority to the maximum value of 255, enables HSRP preemption, sets the HSRP version to 2, and configures the virtual IP address of 10.1.1.1 with an HSRP group ID of 1000.

The priority of 255 means that this switch will always be the active master, as it has the highest priority. Therefore, this is the correct set of commands for this scenario.

Option B:

kotlin
feature-set hsrp interface vlan100 ip address 10.1.1.2 255.255.255.0 priority 20 preempt hsrp version 2 hsrp 1000 ip 10.1.1.1

This set of commands is similar to option A, but the HSRP priority is set to a lower value of 20. This means that if there is another switch with a higher priority in the network, it will become the active master instead of this switch. Therefore, this is not the correct set of commands for this scenario.

Option C:

kotlin
feature-set hsrp interface vlan100 ip address 10.1.1.2 255.255.255.0 priority 80 preempt hsrp version 2 hsrp 1000 ip 10.1.1.1

This set of commands is also similar to option A, but the HSRP priority is set to a lower value of 80. This means that if there is another switch with a higher priority in the network, it will become the active master instead of this switch. Therefore, this is not the correct set of commands for this scenario.

Option D:

kotlin
feature hsrp interface vlan100 ip address 10.1.1.2 255.255.255.0 priority 240 preempt hsrp version 2 hsrp 1000 ip 10.1.1.1

This set of commands is also similar to option A, but the HSRP priority is set to the maximum value of 240. This value is not valid for HSRP, as the priority range is from 0 to 255. Therefore, this is not the correct set of commands for this scenario.

In conclusion, the correct set of commands for this scenario is Option A:

kotlin
feature hsrp interface vlan100 ip address 10.1.1.