12 host, 13 lease – PLANET GS-5220-48T4X User Manual

Page 197

Advertising
background image

Command Guide

4.2.73.12 host

Command:

host <IP: A.B.C.D> <Subnet: A.B.C.D>

host Client IP address and mask

<IP: A.B.C.D> Network number

<Subnet: A.B.C.D> Network mask in dotted-decimal notation, excluding 255.255.255.255

Default:

None

Usage Guide:

To configure Host IP address of DHCP Server.

Example:

To configure Host IP address (192.168.1.10/24) of DHCP Server for pool “planetbestswitch.

Switch# configure terminal

Switch (config)# ip dhcp pool planetbestswitch

Switch (config-dhcp-pool)# host 192.168.1.10 255.255.255.0

4.2.73.13 lease

Command:

lease <0-365> <0-23> <0-59> | infinite

lease Address lease time

<0-365> Days

<0-23> Hours

<0-59> Minutes

infinite Infinite lease

Default:

1 day

Usage Guide:

To configure Lease Time of DHCP Server.

Example:

To configure Lease Time (119 minutes) of DHCP Server for pool “planetbestswitch”.

-197-

Advertising