D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
188
25
DHCP SERVER COMMANDS
For this release of the xStack DGS-3600, the Switch now has the capability to act as a DHCP server to devices within its locally
attached network. DHCP, or Dynamic Host Configuration Protocol, allows the switch to delegate IP addresses, subnet masks, default
gateways and other IP parameters to devices that request this information. This occurs when a DHCP enabled device is booted on or
attached to the locally attached network. This device is known as the DHCP client and when enabled, it will emit query messages on
the network before any IP parameters are set. When the DHCP server receives this request, it returns a response to the client,
containing the previously mentioned IP information that the DHCP client then utilizes and sets on its local configurations.
The user can configure many DHCP related parameters that it will utilize on its locally attached network, to control and limit the IP
settings of clients desiring an automatic IP configuration, such as the lease time of the allotted IP address, the range of IP addresses
that will be allowed in its DHCP pool, the ability to exclude various IP addresses within the pool as not to make identical entries on
its network, or to assign the IP address of an important device (such as a DNS server or the IP address of the default route) to another
device on the network.
Users also have the ability to bind IP addresses within the DHCP pool to specific MAC addresses in order to keep consistent the IP
addresses of devices that may be important to the upkeep of the network that require a static IP address.
The Limited IP Multicast Commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
create dhcp pool <pool_name 12>
delete dhcp pool {<pool_name 12> | all}
create dhcp pool manual_binding <pool_name 12> <ipaddr> hardware_address <macaddr> {type
[Ethernet | IEE802]}
delete dhcp pool manual_binding <pool_name 12> [<ipaddr> | all]
show dhcp pool manual_binding {<pool_name 12>}
show dhcp_binding {<pool_name 12>}
clear dhcp_binding {<pool_name 12>}
config dhcp ping_packets <number 2-10>
config dhcp ping_timeout <millisecond 500-2000>
config dhcp pool boot_file <pool_name 12> <file_name 64>
config dhcp pool default_router <pool_name 12> <ipaddr> {<ipaddr>} {<ipaddr>}
config dhcp pool dns_server_address <pool_name 12> <ipaddr> {<ipaddr>} {<ipaddr>}
config dhcp pool domain_name <pool_name 12> <domain_name 64>
config dhcp pool lease <pool_name 12> [<day 0-365> <hour 0-23> <minute 0-59> |
infinite]
config dhcp pool netbios_name_server <pool_name 12> <ipaddr> {<ipaddr>} {<ipaddr>}
config dhcp pool netbios_node_type <pool_name 12> {broadcast | peer_to_peer | mixed | hybrid]
config dhcp pool network_addr <pool_name 12> <network_address>
config dhcp pool next_server <pool_name 12> <ipaddr>
enable dhcp_server
disable dhcp_server
show dhcp_server
create dhcp excluded_address begin_address <ipaddr> end_address <ipaddr>