Users Guide

Layer 3 Routing Commands 1487
bootpdhcprelay maxhopcount
Use the bootpdhcprelay maxhopcount command in Global Configuration
mode to configure the maximum allowable relay agent hops for BootP/DHCP
Relay on the system. Use the no form of the command to set the maximum
hop count to the default value.
Syntax
bootpdhcprelay maxhopcount integer
no bootpdhcprelay maxhopcount
integer — Maximum allowable relay agent hops for BootP/DHCP Relay on
the system. (Range: 1-16)
Default Configuration
The default integer configuration is 4.
Command Mode
Global Configuration mode, Virtual Router Configuration mode.
User Guidelines
Enable DHCP Relay using the
ip helper enable
command.
When in Virtual Router Configuration mode, this command operates within
the context of the virtual router instance. When in Global Configuration
mode, the command operates on the global router instance.
Virtual Router Configuration mode is only available on the
N3000/N3100/N4000 switches.
Example
The following example defines a maximum hopcount of 6.
console(config)#bootpdhcprelay maxhopcount 6