User Manual

Table Of Contents
The "Subnet Mask" DHCP option (option code 1) notified to the client uses the value for this command.
[Example]
Set the 192.168.100.0/24 network part in the applicable "pool_vlan1" DHCP pool.
SWX3220(config)#dhcp pool pool_vlan1
SWX3220(config-dhcp)#network 192.168.100.0/24
10.1.6 Set range of IP addresses to be assigned
[Syntax]
range start_ip_address [end_ip_address]
no range [start_ip_address [end_ip_address]]
[Parameter]
start_ip_address : A.B.C.D
The first IP address amongst all assigned IP addresses
end_ip_address : A.B.C.D
The last IP address amongst all assigned IP addresses
If only one address was assigned, this can be omitted
[Initial value]
none
[Input mode]
DHCP mode
[Description]
Sets the IP address range to assign for the applicable DHCP pool.
The addresses to assign must be within the network specified by the network command.
Up to eight address ranges can be set.
You cannot include the same IP address in multiple DHCP pools.
You cannot include the same IP address in multiple ranges.
You cannot include a network address or a broadcast address within an IP address range.
If this command is executed with the "no" syntax by specifying a parameter, the setting value with the specified parameter will
be deleted.
If this command is executed with the "no" syntax without specifying a parameter, all setting values that are set in the applicable
DHCP pool will be deleted.
[Note]
If the total number of ranges for the range command set for all pools exceeds 8,192, this command will result in an error.
[Example]
Set the IP address range of 192.168.100.2 to 192.168.100.191/24 for a DHCP pool called "pool_vlan1".
SWX3220(config)#dhcp pool pool_vlan1
SWX3220(config-dhcp)#range 192.168.100.2 192.168.100.191
10.1.7 Setting the IP address to assign to a specific client
[Syntax]
bind host ip_address mac_address
no bind host [ip_address]
[Parameter]
ip_address : A.B.C.D
IP address to assign to a specific client
mac_address : HHHH.HHHH.HHHH
Command Reference | Application | 447