Disabling the hop count in DHCP requests

For more information, see Hop count in DHCP requests.

To disable the default behavior of a DHCP relay agent so that the hop count in a DHCP client request is not increased by one at each hop when it is forwarded to a DHCP server, enter the no dhcp-relay hop-count-increment command at the global configuration level:

switch(config)# no dhcp-relay hop-count-increment

To reset the default function, which increases the hop count in each DHCP request forwarded to a DHCP server, enter the following command:

switch(config)# dhcp-relay hop-count-increment