set protocols dhcp relay interface dhcp-server-address
The set protocols dhcp relay interface dhcp-server-address command configures a DHCP server address on the L3 interface enabled with DHCP relay.
Command Syntax
set protocols dhcp relay interface <l3-interface-name> dhcp-server-address <server-ipv4-address>
Parameters
Parameter | Description |
interface <l3-interface-name> | Specifies an L3 interface name. The value could be the VLAN interface name, the loopback interface name, the routed interface or the sub-interface name. |
dhcp-server-address <server-ipv4-address> | Specifies the IPv4 address of a DHCP server. The value is in dotted decimal notation. |
Usage Guidelines
You can repeat this command to configure multiple DHCP servers.
NOTE: The DHCP server IP address should not be in the same subnet with the L3 interface enabled with the DHCP relay.
Example
Configure DHCP relay and DHCP server address on L3 VLAN interface vlan100.
admin@Xorplus# set protocols dhcp relay interface vlan100 dhcp-server-address 10.10.1.1