xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
234 
 
23-2  config dhcp_local_relay vlan vlanid 
Description 
This command is used to enable or disable DHCP local relay function for specified VLAN ID. 
 
Format 
config dhcp_local_relay vlan vlanid <vlan_id> state [enable | disable] 
 
Parameters 
vlanid - Specify the VLAN ID that the DHCP local relay function will be enabled. 
<vlan_id> - Enter the VLAN ID used here. 
state - Enable or disable DHCP local relay for specified vlan. 
enable - Specify that the DHCP local relay function will be enabled. 
 - Specify that the DHCP local relay function will be disabled. 
 
Restrictions 
Only Administrator-level users can issue this command. (EI Mode Only) 
 
Example 
To enable DHCP local relay for default VLAN: 
DGS-3120-24TC:admin# config dhcp_local_relay vlan vlanid 1 state enable 
Command: config dhcp_local_relay vlan vlanid 1 state enable 
 
Success. 
 
DGS-3120-24TC:admin# 
 
23-3  enable dhcp_local_relay 
Description 
This command is used to globally enable the DHCP local relay function on the Switch. 
 
Format 
enable dhcp_local_relay 
 
Parameters 
None. 
 
Restrictions 
Only Administrator-level users can issue this command.