set dhcp exclude

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

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.

 

 

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.

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

C3(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 cleared.

high‐ipaddr

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

 

 

Defaults

None.

Mode

Switch command, read‐write.

SecureStack C3 Configuration Guide 16-7

Page 487
Image 487
Enterasys Networks 9034313-07 manual Set dhcp exclude, Clear dhcp exclude, 100, with the set dhcp exclude command