Ip Dhcp Client Lease - D-Link DXS-1210-12TC Reference Manual

Dxs-1210 series l2 10 gigabit ethernet switch
Hide thumbs Also See for DXS-1210-12TC:
Table of Contents

Advertisement

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)#
12-4
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)#
12-5
This command is used to specify the DHCP retry times. Use the no form of this command to set
DHCP retry times to defualt value.
dhcp retry times <(5-120)>
DXS-1210 Series Smart Managed Switch CLI Reference Guide

ip dhcp client lease

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.
dhcp retry times
101

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-1210-12scDxs-1210-10tsDxs-1210-16tc

Table of Contents