beautypg.com

12 host, 13 lease – PLANET SGS-5220-24T2X User Manual

Page 163

background image

Command Guide of SGS-5220-24T2X

Switch# configure terminal

Switch (config)# ip dhcp pool planetbestswitch

Switch (config-dhcp-pool)# hardware-address 00:11:22:33:44:55

4.2.53.12 host

Command:

host

host Client IP address and mask

Network number

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.53.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:

-163-