C613-50170-01 Rev B
Command Reference for x510 Series
2455
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
D
YNAMIC
H
OST
C
ONFIGURATION
P
ROTOCOL
(DHCP) C
OMMANDS
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
DHCP Feature Overview and Configuration Guide
.
Syntax
ip dhcp-relay maxhops <
1-255
>
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#
configure terminal
awplus(config)#
interface vlan15
awplus(config-if)#
ip dhcp-relay maxhops 5
Related
Commands
Parameter
Description
<
1-255
>
The maximum hop count value.