Ip dhcp-relay max-message-length – Allied Telesis AT-8100 Series User Manual
Page 500
Chapter 30: DHCP Relay Commands
500
IP DHCP-RELAY MAX-MESSAGE-LENGTH
Syntax
ip dhcp-relay max-message-length
length
Parameters
length
Specifies the maximum length in bytes of DHCP client requests.
The range is 548 to 1472 bytes. The default is 1400 bytes.
Mode
Global Configuration
Description
Use this command to set the maximum length in bytes of DHCP client
requests.
This command is used to specify the maximum length of the client
requests when the policy of the DHCP relay agent is set to the append
policy. The append policy adds the switch’s option 82 information to the
option 82 information the clients requests already contain. If adding the
option 82 information creates a request with a length greater than that
specified with this command, the switch deletes the packet.
To return the parameter to its default setting of 1400 bytes, use the NO
form of this command.
Confirmation Command
“SHOW IP DHCP-RELAY” on page 509
Examples
This example sets the maximum DHCP request length to 578 bytes:
awplus> enable
awplus# configure terminal
awplus(config)# ip dhcp-relay max-message-length 578
This example returns the maximum message length to the default 1400
bytes:
awplus> enable
awplus# configure terminal
awplus(config)# no ip dhcp-relay max-message-length