Page 211 / 757 Scroll up to view Page 206 - 210
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
207
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-3627:admin# create dhcp pool Floor2
Command:create dhcp pool Floor2
Success.
DGS-3627: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.
Parameters
<pool_name 12>
Enter an name of up to 12 alphanumeric characters to identify the pool to
be deleted with this command.
all
– Enter this command to delete all created DHCP pool.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete the DHCP pool Floor2:
DGS-3627:admin#
delete dhcp pool Floor2
Command:delete dhcp pool Floor2
Success.
DGS-3627:admin#
Page 212 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
208
create dhcp pool manual_binding
Purpose
Used to create a DHCP pool manual binding entry.
Syntax
create dhcp pool manual_binding <pool_name 12> <ipaddr> hardware_address
<macaddr> {type [Ethernet | IEEE802]}
Description
This command will create a DHCP manual pool binding entry for a previously created pool.
When a MAC address is entered in this command, it will be bound to a IP address from the
given pool either by the user, or automatically by the Switch.
Parameters
<pool_name 12>
Enter the name of the previously created pool that will contain the manual
binding entry.
<ipaddr>
Enter the IP address to be statically bound to a device within the local network that
will be specified by entering the Hardware Address in the following field.
hardware_address <macaddr>
Enter the MAC address of the device to be statically bound
to the IP address entered in the previous field.
type
[Ethernet | IEEE802]
This field is used to specify the type of connection for which this
manually bound entry will be set.
Ethernet
will denote that the manually bound device is
connected directly to the Switch, while the
IEEE802
denotes that the manually bound device
is outside the local network of the Switch.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create a manual binding DHCP entry:
DGS-3627:admin#
create dhcp pool manual_binding engineering 10.10.10.1 hardware_address
02.02.02.02.02.02 type Ethernet
Command: create dhcp pool manual_binding engineering 10.10.10.1 hardware_address
02.02.02.02.02.02 type Ethernet
Success.
DGS-3627:admin#
delete dhcp pool manual_binding
Purpose
Used to delete a previously created DHCP manual binding entry.
Syntax
delete dhcp pool manual_binding <pool_name 12> [<ipaddr> | all]
Description
This command will delete a DHCP manual binding entry created with the
create dhcp pool
manual_binding
command.
Parameters
<pool_name 12>
Enter the previously created pool name from which to delete a manual
binding DHCP entry.
<ipaddr>
Enter the IP address of the manual binding entry to be deleted.
all
– Enter this command to delete all manual binding entries for the given pool.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete a manual binding DHCP entry:
Page 213 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
209
DGS-3627:admin# delete dhcp pool manual_binding Floor2 10.10.10.1
Command: delete dhcp pool manual_binding Floor2 10.10.10.1
Success.
DGS-3627:admin#
show dhcp pool manual_binding
Purpose
Used to display the manual binding settings for a DHCP pool.
Syntax
show dhcp pool manual_binding {<pool_name 12>}
Description
This command will display the manual binding entries for the selected DHCP pool.
Parameters
<pool_name 12>
Enter the name of the DHCP pool for which to view manual binding
entries.
Entering this command without the pool name will display all manual binding entries of the
DHCP server.
Restrictions
None.
Example usage:
To display the manual binding entries of the DHCP pool accounting:
DGS-3627:admin#
show dhcp pool manual_binding accounting
Command: show dhcp pool manual_binding accounting
Pool Name
IP Address
Identifier(Hardware_Address)
Type
------------
-------------
--------------------------------
-----------
accounting
192.168.0.1
01-22-b7-35-ce-99
Ethernet
accounting
192.168.0.2
0a-52-f7-34-ce-88
Ethernet
Total Entries : 2
DGS-3627:admin#
show dhcp_binding
Purpose
Used to show the DHCP binding information.
Syntax
show dhcp_binding
{<pool_name 12>}
Description
This command is used to display the DHCP binding information by created pool. Entering the
command without the pool name will display all information regarding DHCP binding on the
switch.
Parameters
<pool_name 12>
Enter the name of the DHCP pool for which to view binding information.
Restrictions
None.
Example usage:
To display the DHCP binding information on the Switch:
Page 214 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
210
DGS-3627:admin# show dhcp_binding
Command:show dhcp_binding
Pool Name
IP Address
Hardware Address
Type
Status
Life Time (secs)
-----------
-----------
--------------------
---------
--------- ----------------
engineering
192.168.0.1
01-22-b7-35-ce-99
Ethernet
Manual
864000
Total Entries : 1
DGS-3627:admin#
clear dhcp_binding
Purpose
Used to clear the DHCP binding information.
Syntax
clear dhcp_binding
{<pool_name 12>}
Description
This command is used to clear the DHCP binding settings for a particular created DHCP pool.
Parameters
<pool_name 12>
Enter the name of the DHCP pool for which to clear the binding
information.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To display the DHCP binding information on the Switch:
DGS-3627:admin# clear dhcp_binding
Command:clear dhcp_binding
Success.
DGS-3627:admin#
config dhcp ping_packets
Purpose
Used to set the number of ping packets that will be sent out to find if an IP address is
available.
Syntax
config dhcp ping_packets <number 2-10>
Description
This command will set the number of ping packets that will be sent out to find if an IP address
is available to be allocated as a valid DHCP IP address.
Parameters
<number 2-10>
Enter a number between
2
and
10
to denote the number of ping packets
that the Switch will send out on the network containing the IP address to be allotted. If the
ping request is not returned, the IP address is considered unique to the local network and
then allotted to the requesting client. The default setting is
2
packets.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the number of ping packets to be used for DHCP:
Page 215 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
211
DGS-3627:admin# config dhcp ping_packets 2
Command: config dhcp ping_packets 2
Success.
DGS-3627:admin#
config dhcp ping_timeout
Purpose
Used to set the time the Switch will wait before timing out a ping packet.
Syntax
config dhcp ping_timeout <millisecond 500-2000>
Description
This command is used set the time the Switch will wait before timing out a ping packet. If no
answer is received, the IP address is considered unused and may be allocated to a
requesting client.
Parameters
<millisecond 500-2000>
The user may set a time between
500
and
2000
milliseconds that
the Switch will wait before timing out a ping packet. The default setting is
500
milliseconds.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the Ping timeout:
DGS-3627:admin# config dhcp ping_timeout 500
Command: config dhcp ping_timeout 500
Success.
DGS-3627:admin#
config dhcp pool boot_file
Purpose
Used to specify the Boot File that will be used as the boot image of the DHCP client
Syntax
config dhcp pool boot_file <pool_name 12> <file_name 64>
Description
This command is used to specify the Boot File that will be used as the boot image of the
DHCP client. This image is usually the operating system that the client uses to load its IP
parameters.
Parameters
<pool_name 12>
Enter the previously created pool name from which the boot file will be set.
<file_name 64>
Enter the name of the boot file that will be used for DHCP clients.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To set the boot file:
DGS-3627:admin# config dhcp pool boot_file accounting boot.had
Command: config dhcp pool boot_file accounting boot.had
Success.
DGS-3627:admin#

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top