EasyManua.ls Logo

Cisco Sx350

Cisco Sx350
1323 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals