xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
171
config dhcp pool lease
Purpose
Used to configure the lease time of DCHP clients within a DHCP pool.
Syntax
config dhcp pool lease<pool_name 12> [<day 0-365> <hour 0-23> <minute 0-59> |
infinite]
Description
Using this command, the user can specify the lease time for the DHCP client. This time
represents the amount of time that the allotted address is valid on the local network.
Parameters
<pool_name 12>
−
Enter the previously created pool name for which to set the lease time for
accepted DHCP clients.
day 0-365
– Enter the amount of days for the lease. The default setting is one day.
hour 0-23
– Enter the number of hours for the lease.
minute 0-59
−
Enter the number of minutes for the lease.
infinite
– Enter this parameter to set the allotted IP address to never be timed out of its lease.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the lease time for the DHCP pool:
DGS-3450:admin# config dhcp pool lease accounting infinite
Command: config dhcp pool lease accounting infinite
Success.
DGS-3450:admin#
config dhcp pool netbios_name_server
Purpose
Used to configure the IP address(es) for the Net BIOS name server,
Syntax
config dhcp pool netbios_name_server <pool_name 12> <ipaddr> {<ipaddr>}
{<ipaddr>}
Description
This command is used to enter the IP address of a Net BIOS Name Server that will be
available to a Microsoft DHCP Client. This Net BIOS Name Server is actually a WINS
(Windows Internet Naming Service) Server that allows Microsoft DHCP clients to correlate
host names to IP addresses within a general grouping of networks. The user may establish up
to three Net BIOS Name Servers.
Parameters
<pool_name 12>
−
Enter the previously created pool name for which to set the Net BIOS
name server for DHCP clients.
<ipaddr>
−
Enter the IP address for the Net BIOS name server for this pool. Users may
specify up to three Net BIOS name servers.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the Net BIOS name server for the DHCP pool: