beautypg.com

Set dhcp exclude, Set dhcp exclude -6 – Enterasys Networks D-Series User Manual

Page 438

background image

set dhcp exclude

16-6

DHCP Server Configuration

Defaults

None.

Mode

Switch command, read‐write.

Examples

This example disables DHCP conflict logging. 

D2(rw)->clear dhcp conflict logging

This example clears the conflict information for the IP address 192.0.0.2.

D2(rw)->clear dhcp conflict 192.0.0.2

set dhcp exclude

Use this command to configure the IP addresses that the DHCP server should not assign to DHCP 
clients. Multiple address ranges can be configured but the ranges cannot overlap. Up to 128 non‐
overlapping address ranges can be excluded.

Syntax

set dhcp exclude low-ipaddr [high-ipaddr]

Parameters

Defaults

None.

Mode

Switch command, read‐write.

Example

This example first configures the address pool named “auto1” with 255 addresses for the Class C 
network 172,20.28.0, with the set dhcp pool network command. Then, the example limits the 
scope of the addresses that can be assigned by a DHCP server by excluding addresses 172.20.28.80 
– 100, with the set dhcp exclude command.

D2(rw)->set dhcp pool auto1 network 172.20.28.0 24

D2(rw)->set dhcp exclude 172.20.28.80 172.20.28.100

low‐ipaddr

Specifies the first IP address in the address range to be excluded from 
assignment.

high‐ipaddr

(Optional) Specifies the last IP address in the address range to be 
excluded.