D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
189
23
DHCP LOCAL RELAY COMMANDS
The DHCP Local Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameters
config dhcp_local_relay vlan <vlan_name 32> state [enable | disable]
enable dhcp_local_relay
disable dhcp_local_relay
show dhcp_local_relay
Each command is listed, in detail, in the following sections.
config dhcp_local_relay
Purpose Used to enable or disable DHCP local relay function to vlan.
Syntax
config dhcp_local _relay vlan <vlan_name 32> state [enable | disable]
Description The config dhcp_local_relay vlan command is used to enable /disable DHCP local relay
function for specified vlan.
When DHCP local relay is enabled for the VLAN, the DHCP packet will be relayed in
broadcast way without change of the source MAC address and gateway address. DHCP
option 82 will be automatically added.
Parameters
vlan_name - The name of the VLAN to be enabled DHCP local relay.
state - Enable or disable DHCP local relay for specified vlan.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To enable DHCP local relay for default vlan:
DGS-3627:admin# config dhcp_local_relay vlan default state enable
Command: config dhcp_local_relay vlan default state enable
Success.
DGS-3627:admin#
enable dhcp_local_relay
Purpose Used to enable the DHCP local relay function on the switch.
Syntax
enable dhcp_local_relay
Description The enable dhcp_local _relay command globally enables the DHCP local relay function on
the switch.
Parameters None.
Restrictions Only Administrator and Operator-level users can issue this command.