A network engineer is configuring HSRP version 2 on interface GigabitEthernet0/1 of a Cisco IOS router. The interface has been assigned an IPv4 address of . The engineer enters the command `standby 10 ip 192.168.50.1` under interface configuration mode. Which statement accurately describes the operational result of executing this command?
- The router rejects the command with an error because HSRP does not permit the virtual IP address to match an interface physical IP address.Answer
- BThe router accepts the command and automatically sets its HSRP priority to 255 to become the permanent IP address owner for the group.
- CThe command is accepted, and HSRP successfully transitions to the Active state using as both physical and virtual addresses.
- DThe command is accepted, but HSRP remains in the Listen state until a secondary standby IP address is configured on the interface.
Answer
The router rejects the command with an error because HSRP does not permit the virtual IP address to match an interface physical IP address.
In HSRP (both version 1 and version 2), the virtual IP address must be an unused IP address within the local subnet and cannot match the physical IP address of any interface participating in the HSRP group. Attempting to assign the physical interface IP address as the HSRP virtual IP results in an immediate Cisco IOS CLI error.
Step-by-Step Solution
Key Concept
HSRP Virtual IP Address Assignment vs. VRRP IP Address Ownership