Dynamic Host Configuration Protocol (DHCP) Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
53.11
ip dhcp-relay agent-option
This command enables the DHCP relay agent to append the agent options (option 82) field in
client requests sent to a DHCP server. This allows the relay agent to pass on information to the
server about the network location of the client device. When a server responds to a client, the
relay agent strips the option 82 field out of the response, so that the client does not receive this
field. Use this command to alter the relay agent’s option 82 setting when your device is the first
hop for the DHCP client.
The
no
parameter stops the relay agent from appending the option 82 field of DHCP requests
before forwarding it to the server.
This feature is disabled by default.
Syntax
ip dhcp-relay agent-option
no ip dhcp-relay agent-option
Mode
Interface mode
Examples
To make the relay agent listening on vlan15 append the option 82 field, use the commands:
awplus(config)#
interface vlan15
awplus(config-if)#
ip dhcp-relay agent-option
To stop the relay agent from appending the option 82 field, use the command:
awplus(config-if)#
no ip dhcp-relay agent-option
Related Commands
ip dhcp-relay information policy
service dhcp-relay