ip dhcp-relay include-secondary

Enables Dynamic Host Configuration Protocol (DHCP) Smart Relay, which can use secondary addresses configured on a VLAN or VRRP interface.

Syntax

Command Parameters

parallel
Specifies smart functionality of the DHCP relay. In parallel mode, the relay agent makes multiple copies of DHCP requests and inserts each IP address of the client- facing interface (VLAN or VRRP) as the gateway address in each copy of the request. The switch simultaneously relays multiple packets to the DHCP server, assigning each packet the correct IP address in the correct subnet
sequential
Specifies smart functionality of the DHCP relay. In sequential mode, the relay agent forwards received DHCP packets from all IP addresses on the VLAN or VRRP interface one at a time, starting with the primary address and continuing with each secondary address. Each time a packet is received, the agent selects an address on the VLAN or VRRP interface. The relay agent forwards three client requests to the DHCP Server before repeating the process and cycling through all of the primary and secondary IP addresses.

Default

The default is disabled.

Command Mode

VLAN Interface Configuration