beautypg.com

Range – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1718

background image

Dynamic Host Configuration Protocol (DHCP) Commands

Software Reference for x310 Series Switches

64.20

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

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 variant of this command 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 Configuration

Examples

To add an address range of 192.0.2.5 to 192.0.2.16 to the pool Nerv_Office,
use the command:

To add the individual IP address 192.0.2.2 to a pool, use the command:

To remove all address ranges from a pool, use the command:

Related Commands

ip dhcp pool
service dhcp-server
show ip dhcp pool

Parameter

Description

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.

awplus#

configure terminal

awplus(config)#

ip dhcp pool Nerv_Office

awplus(dhcp-config)#

range 192.0.2.5 192.0.2.16

awplus(dhcp-config)#

range 192.0.2.2

awplus(dhcp-config)#

no range all