DGS-6604
ip dhcp relay hops
CLI Reference Guide
255
ip dhcp relay hops
Use this command to configure the maximum number of relay hops that the
DHCP packets can traverse.
ip dhcp relay hops
HOP
-
COUNT
Default
4
Command Mode
Global configuration
Usage Guideline
Use this command to specify the maximum number of relay hops that the DHCP
packets can traverse.
Example
This example shows how to set maximum number of router relay hops 5:
Verify the settings by entering the
show ip dhcp relay
command.
Syntax Description
HOP-COUNT
The number of relay hops that the DHCP packets can traverse. The valid setting
is 1-16. Every time that a DHCP packet is relayed, the relay hop-count will be
increment by 1. If the relay hop count in the received packet is equal to or greater
then the specified value, the packet will be discarded.
Switch# configure terminal
Switch(config)#ip dhcp relay hops 5