Implementing and Operating Cisco Data Center Core Technologies (DCCOR) — Question 117
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?
Answer options
- A. 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
- B. 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
- C. 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
- D. 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
Correct answer: A
Explanation
The correct answer is A because it sets the priority to 255, which ensures that this router will become the active master in HSRP. Options B and C have lower priority values, which would prevent them from becoming the active router. Option D also has a high priority but not as high as 255, making it less favorable than option A for becoming the active master.