
Dynamic Host Configuration Protocol (DHCP) Commands
©2008 Allied Telesis Inc. All rights reserved.
53.20
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
range
This command adds an address range to the DHCP address pool you are configuring. The
DHCP server responds to client requests received from the pool’s network. It assigns an IP
addresses within the specified range. The IP address range must lie within the network. You can
add multiple address ranges and individual IP addresses for a DHCP pool by using this
command multiple times.
The
no
parameter removes an address range from the DHCP pool. Use the
no range all
command to remove all address ranges from the DHCP pool.
Syntax
range <
ip-address
> [<
ip-address
>]
no range <
ip-address
> [<
ip-address
>]
no range all
Mode
DHCP mode
Examples
To add an address range of 10.10.0.5 to 10.10.1.16 to the pool “Nerv_Office”, use the
command:
awplus(config)#
ip dhcp pool Nerv_Office
awplus(dhcp-config)#
range 10.10.0.5 10.10.1.16
To add the individual IP address 192.168.1.2 to a pool, use the command:
awplus(dhcp-config)#
range 192.168.1.2
To remove all address ranges from a pool, use the command:
awplus(dhcp-config)#
no range all
Related Commands
ip dhcp pool
service dhcp-server
show ip dhcp pool
Parameter
Description
<
ip-address
>
IPv4 address range for DHCP clients, in dotted decimal notation.
The first IP address is the low end of the range, the second IP
address is the high end. Specify only one IP address to add an
individual IP address to the address pool.