2.6.6. ip pool

Syntax

ip pool WORD gateway A.B.C.D/M lease DD:HH:MM section <1-8A.B.C.D A.B.C.D no ip pool WORD no gateway no lease no section

Parameter


WORD Address pool name of the DHCP server

A.B.C.D/M Gateway IP address and mask

DD:HH:MM Lease term assigned to client address

<1-8> IP address segment for dynamic allocation

A.B.C.D Start IP and end IP for dynamic allocation


Default

Mode

Global Configuration

Usage

Use the command ip pool to configure the DHCP server address pool, including the assigned IP address segment, gateway, and lease term.

Example

Configure DHCP address pool ABC

Switch(config)# ip pool abc
switch(config-ip-pool-abc)# gateway 172.168.1.1/24
switch(config-ip-pool-abc)# lease 0:12:0
switch(config-ip-pool-abc)# section 1 172.168.1.2 172.168.1.200