/
set protocols dhcp relay interface dhcp-server-address

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 VLAN interface enabled with DHCP relay.


Command Syntax

set protocols dhcp relay interface <vlan-interface-name> dhcp-server-address <server-ipv4-address>


Parameters

Parameter

Description

interface <vlan-interface-name>

Specifies an L3 VLAN interface name. The value is a string.

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 VLAN 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

Copyright © 2025 Pica8 Inc. All Rights Reserved.