xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
164
enable dhcp_server
disable dhcp_server
show dhcp_server
create dhcp excluded_address
begin_address
<ipaddr> end_address <ipaddr>
delete dhcp excluded_address
[begin_address <ipaddr> end_address <ipaddr> | all]
show dhcp excluded_address
show dhcp pool
{ <pool_name 12>}
config dhcp pool option_43
<pool_name 12> [add string <mutiword 255> | delete]
config dhcp pool option_profile
<pool_name 12> [add | delete] <profile_name 12>
create dhcp option_profile
<profile_name 12>
delete dhcp option_profile
<profile_name 12>
config dhcp option_profile
<profile_name 12> [add option <value 1-254> [string <mutiword 255> | hex
<string 254>]|delete option <value 1-254>]
show dhcp option_profile
{<profile_name 12>}
Each command is listed in detail in the following sections.
create dhcp pool
Purpose
Used to create a DHCP pool.
Syntax
create dhcp pool <pool_name 12>
Description
This command will create a DCHP pool for the DHCP server. Once created, this pool may be
modified for accepting DHCP clients into this pool.
Parameters
<pool_name 12>
−
Enter an name of up to 12 alphanumeric characters to identify the pool to
be created with this command.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create the DHCP pool Floor2:
DGS-3450:admin# create dhcp pool Floor2
Command:create dhcp pool Floor2
Success.
DGS-3450:admin#
delete dhcp pool
Purpose
Used to delete a DHCP pool.
Syntax
delete dhcp pool [<pool_name 12> | all]
Description
This command will delete a DHCP pool that was created with the
create dhcp pool
command.