ip dhcp-server ha-role

Assigns the role of this switch within a DHCP Server High Availability (HA) pair.

Syntax

Command Parameters

primary
Specifies that this switch is the primary DHCP Server in an HA pair. The primary switch provides DHCP services so long as the DHCP server is active.
standby
Specifies that this switch is the standby DHCP Server in an HA pair. The standby switch provides DHCP services only when the primary DHCP server is inactive.

Default

If you configure an HA pair, but do not specify an HA-role, the switch with the lower IP address is the primary DHCP Server.

Command Mode

Global Configuration