dhcp-relay hop-count-increment

Syntax

dhcp-relay hop-count-increment

no dhcp-relay hop-count-increment

Description

Enables the DHCP relay hop count increment feature, which causes the DHCP relay agent to increment the hop count in all relayed DHCP packets. Hop count is enabled by default.

The no form of this command disables the hop count increment feature.

Command context

config

Authority

Administrators or local user group members with execution rights for this command.

Examples

Enabling the hop count increment feature.

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

Disabling the hop count increment feature.

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