Ip Dhcp Client Lease - D-Link DXS-3600 Series Reference Manual

Dxs-3600 series layer 2/3 managed 10gigabit ethernet switch
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
Level: 12.
Usage Guideline
Use this command to specify the host name string (Option 12) to be sent with the DHCP discover
message. The specification only applies to the subsequent sending of the DHCP discover messages. The
setting only takes effect when the DHCP client is enabled on the interface to acquire the IP address from
the DHCP server. If this option is not configured, the switch will be sent messages with no Option 12
configured.
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)#

19-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
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.
315

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-3600-32s

Table of Contents