Set dhcp exclude, Clear dhcp exclude, Set dhcp exclude -6 clear dhcp exclude -6 – Enterasys Networks Enterasys D2 D2G124-12P User Manual

Page 400

Advertising
background image

set dhcp exclude

14-6 DHCP Server Configuration

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

clear dhcp exclude

Use this command to clear the configured IP addresses that the DHCP server should not assign to 
DHCP clients.

Syntax

clear dhcp exclude low-ipaddr [high-ipaddr]

Parameters

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.

low‐ipaddr

Specifies the first IP address in the address range to be cleared.

Advertising
This manual is related to the following products: