Ip dhcp excluded-address, Ip dhcp pool – LevelOne GTL-2690 User Manual

Page 657

Advertising
background image

DHCP Commands

39-6

39

Command Usage

If the DHCP server is running, you must restart it to implement any
configuration changes.

Example

ip dhcp excluded-address

This command specifies IP addresses that the DHCP server should not assign to
DHCP clients. Use the no form to remove the excluded IP addresses.

Syntax

[no] ip dhcp excluded-address low-address [high-address]

low-address - An excluded IP address, or the first IP address in an excluded

address range.

high-address - The last IP address in an excluded address range.

Default Setting

All IP pool addresses may be assigned.

Command Mode

Global Configuration

Example

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.

Syntax

[no] ip dhcp pool name

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

Default Setting

DHCP address pools are not configured.

Command Mode

Global Configuration

Usage Guidelines

• 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

Console(config)#service dhcp
Console(config)#

Console(config)#ip dhcp excluded-address 10.1.0.19
Console(config)#

Advertising