D-Link DGS-1510 Series Reference Manual page 153

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
Example
This example shows how to set the host name option value to Site-A-Switch.
Switch# configure terminal
Switch(config)# interface vlan 100
Switch(config-if)# ip dhcp client hostname Site-A-Switch
Switch(config-if)#
16-4 ip dhcp client lease
This command is used to specify the preferred lease time for the IP address to request from the
DHCP server. Use the no form of this command to disable sending of the lease option.
ip dhcp client lease DAYS [HOURS [MINUTES]]
no ip dhcp client lease
Parameters
DAYS
HOURS
MINUTES
Default
The lease option is not sent.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The setting only takes effect when the DHCP client is enabled to request the IP address for the
interface.
Example
This example shows how to get a 5 days release of the IP address.
Switch# configure terminal
Switch(config)# interface vlan 100
Switch(config-if)# ip address dhcp
Switch(config-if)# ip dhcp client lease 5
Switch(config-if)#
Specifies the day duration of the lease. The range is from 0 to
10000 days.
(Optional) Specifies the hour duration of the lease. The range is
from 0 to 23 hours.
(Optional) Specifies the minute duration of the lease. The range is
from 0 to 59 minutes.
150

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents