D
H
C
YNAMIC
OST
ONFIGURATION
-
IP DHCP
RELAY MAXHOPS
ip dhcp-relay maxhops
Overview
This command sets the hop count threshold for discarding BOOTP messages.
When the hops field in a BOOTP message exceeds the threshold, the DHCP Relay
Agent discards the BOOTP message. The hop count threshold is set to 10 hops by
default.
Use the no variant of this command to reset the hop count to the default.
For DHCP Relay Agent and DHCP Relay Agent Option 82 introductory information,
see the
ip dhcp-relay maxhops <1-255>
Syntax
no ip dhcp-relay maxhops
Default
The default hop count threshold is 10 hops.
Mode
Interface Configuration for a VLAN interface.
Example
To set the maximum number of hops to 5 for packets received on interface
vlan15, use the commands:
awplus#
awplus(config)#
awplus(config-if)#
Related
service dhcp-relay
Commands
C613-50170-01 Rev B
P
(DHCP) C
ROTOCOL
OMMANDS
DHCP Feature Overview and Configuration
Parameter
<1-255>
configure terminal
interface vlan15
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
Description
The maximum hop count value.
ip dhcp-relay maxhops 5
Guide.
2455