Modifies the maximum number of BootP or DHCP hops.

bootp-relay-max-hops max-hop
no bootp-relay-max-hops max-hop

By default, a RUCKUS Layer 3 switch forwards a BootP or DHCP request if its hop count is four or less, but discards the request if the hop count is greater than four.

max-hop
Specifies the maximum number of hops. The parameter value can be from 1 through 15.

Global configuration mode

Because the hop count value initializes at zero, the hop count value of an ingressing DHCP Request packet is the number of Layer 3 routers that the packet has already traversed.

The following example modifies the maximum number of BootP or DHCP hops to 10. The example allows the Layer 3 switch to forward BootP or DHCP requests that have passed through 10 previous hops before reaching the Layer 3 switch. Requests that have traversed 11 hops before reaching the switch are dropped.

device(config)# bootp-relay-max-hops 10