Configuring the maximum hop count – Allied Telesis AT-8100 Series User Manual
Page 491
AT-8100 Switch Command Line User’s Guide
491
This example of the commands configures the DHCP agent to append its
option 82 information to the BOOTP requests, and sets the maximum
length of the client requests to 1220 bytes.
awplus> enable
awplus# configure terminal
awplus(config) ip dhcp-relay agent-option
awplus(config) ip dhcp-relay information policy append
awplus(config) ip dhcp-relay max-message-length 1220
Configuring the
Maximum Hop
Count
You may set a maximum hop count for DHCP requests. The relay agent
discards DHCP requests that have hop counts that exceed the threshold.
To set the maximum hop count, use the IP DHCP-RELAY MAXHOPS
command in the Global Configuration mode, shown here:
ip dhcp-relay maxhops
maxhops
The MAXHOPS parameter specifies the maximum hop count for DHCP
requests. The range is 1 to 255, and the default is 10. This example sets
the hop count to 25:
awplus> enable
awplus# configure terminal
awplus(config) ip dhcp-relay maxhops 25
Activating or
Deactivating
DHCP Relay on
the Switch
To activate DHCP relay on the switch, enter the SERVICE DHCP-RELAY
command in the Global Configuration mode:
awplus> enable
awplus# configure terminal
awplus(config) service dhcp-relay
To disable it, enter the NO SERVICE DHCP-RELAY command:
awplus> enable
awplus# configure terminal
awplus(config) no service dhcp-relay