beautypg.com

Ip dhcp pool, Service dhcp – LevelOne GTL-2691 User Manual

Page 1370

background image

C

HAPTER

46

| DHCP Commands

DHCP Server

– 1370 –

ip dhcp pool

This command configures a DHCP address pool and enter DHCP Pool

Configuration mode. Use the no form to remove the address pool.

S

YNTAX

[no] ip dhcp pool name

name - A string or integer. (Range: 1-8 characters)

D

EFAULT

S

ETTING

DHCP address pools are not configured.

C

OMMAND

M

ODE

Global Configuration

U

SAGE

G

UIDELINES

After executing this command, the switch changes to DHCP Pool

Configuration mode, identified by the (config-dhcp)# prompt.

From this mode, first configure address pools for the network interfaces

(using the

network

command). You can also manually bind an address

to a specific client (with the

host

command) if required. You can

configure up to 8 network address pools, and up to 32 manually bound

host address pools (i.e., listing one host address per pool). However,

note that any address specified in a

host

command must fall within the

range of a configured network address pool.

E

XAMPLE

Console(config)#ip dhcp pool R&D

Console(config-dhcp)#

R

ELATED

C

OMMANDS

network (1377)

host (1374)

service dhcp

This command enables the DHCP server on this switch. Use the no form to

disable the DHCP server.

S

YNTAX

[no] service dhcp

D

EFAULT

S

ETTING

Enabled

C

OMMAND

M

ODE

Global Configuration