xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
256
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure the default router:
DGS-3420-28SC:admin#config dhcp pool default_router nyknicks 10.10.10.1
Command: config dhcp pool default_router nyknicks 10.10.10.1
Success.
DGS-3420-28SC:admin#
22-12 config dhcp pool lease
Description
This command is used to specify the duration of the DHCP pool lease.
By default, each IP address assigned by a DHCP server comes with a one-day lease, which is the
amount of time that the address is valid.
Format
config dhcp pool lease <pool_name 12> [<day 0-365> <hour 0-23> <minute 0-59> | infinite]
Parameters
<pool_name 12> - Specify the DHCP pool’s name.
<day 0-365> - Specify the number of days of the lease.
<hour 0-23> - Specify the number of hours of the lease.
<minute 0-59> - Specify the number of minutes of the lease.
infinite - Specify a lease of unlimited duration.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure the lease of a pool:
DGS-3420-28SC:admin#config dhcp pool lease nyknicks infinite
Command: config dhcp pool lease nyknicks infinite
Success.
DGS-3420-28SC:admin#