
DHCP Server Commands
301
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
12
Command Mode
Global Configuration mode
Example
The following example enables the DHCP server on the device:
switchxxxxxx(config)#
ip dhcp server
12.14 lease
To configure the time duration of the lease for an IP address that is assigned from a
DHCP server to a DHCP client, use the lease command in DHCP Pool Network
Configuration mode. To restore the default value, use the no form of this command.
Syntax
lease
days
[
hours
[
minutes
]] |
infinite
no lease
Parameters
•
days
—Specifies the number of days in the lease.
•
hours
—(Optional) Specifies the number of hours in the lease. A
days
value
must be supplied before configuring an
hours
value.
•
minutes
—(Optional) Specifies the number of minutes in the lease. A
days
value and an
hours
value must be supplied before configuring a
minutes
value.
•
infinite—Specifies that the duration of the lease is unlimited.
Default Configuration
The default lease duration is 1 day.
Command Mode
DHCP Pool Network Configuration mode
Summary of Contents for Sx350
Page 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Page 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Page 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Page 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...