C613-50631-01 Rev A Command Reference for IE340 Series 3067
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
DYNAMIC HOST CONFIGURATION PROTOCOL (DHCP) COMMANDS
IP
DHCP-RELAY SERVER-ADDRESS
ip dhcp-relay server-address
Overview This command adds a DHCP server for the DHCP Relay Agent to forward client
DHCP packets to on a particular interface. You can add up to five DHCP servers on
each device interface that the DHCP Relay Agent is listening on.
The no variant of this command deletes the specified DHCP server from the list of
servers available to the DHCP relay agent.
The no ip dhcp-relay command removes all DHCP relay settings from the
interface.
For DHCP Relay Agent and DHCP Relay Agent Option 82 introductory information,
see the DHCP Feature Overview and Configuration Guide.
Syntax
ip dhcp-relay server-address {<ipv4-address>|<ipv6-address>
<server-interface>}
no ip dhcp-relay server-address {<ipv4-address>|<ipv6-address>
<server-interface>}
no ip dhcp-relay
Mode Interface Configuration for VLAN interfaces.
Usage notes For a DHCP server with an IPv6 address you must specify the interface for the DHCP
server. See examples below for configuration differences between IPv4 and IPv6
DHCP relay servers.
See also the service dhcp-relay command to enable the DHCP Relay Agent on your
device. The ip dhcp-relay server-address command defines a relay destination on
an interface on the device, needed by the DHCP Relay Agent to relay DHCP client
packets to a DHCP server.
Parameter Description
<ipv4-address> Specify the IPv4 address of the DHCP server for the DHCP
Relay Agent to forward client DHCP packets to, in dotted
decimal notation. The IPv4 address uses the format
A.B.C.D.
<ipv6-address> Specify the IPv6 address of the DHCPv6 server for the
DHCPv6 Relay Agent to forward client DHCP packets to, in
hexadecimal notation.
<server-interface> Specify the interface name of the DHCPv6 server. It is only
required for a DHCPv6 server with an IPv6 address.