xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
270
22-31 enable dhcp_server
Description
This command is used to enable the DHCP server function.
If DHCP relay is enabled, DHCP server cannot be enabled. The opposite is also true. For Layer 2
switches, if DHCP client is enabled on the only interface, then DHCP server cannot be enabled.
For layer 3 switches, when the System interface is the only interface then can DHCP client be
enabled. If the DHCP client is enabled, then the DHCP server cannot be enabled.
Format
enable dhcp_server
Parameters
None.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To enable DHCP server:
DGS-3420-28SC:admin#enable dhcp_server
Command: enable dhcp_server
Success.
DGS-3420-28SC:admin#
22-32 disable dhcp_server
Description
This command is used to disable the DHCP server function on the switch.
Format
disable dhcp_server
Parameters
None.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.