HPE FlexNetwork 10500 Series Configuration Manual page 49

Layer 3-ip services
Table of Contents

Advertisement

If there is no need to classify clients, you do not need to configure DHCP user classes or their
address ranges.
Follow these guidelines when you specify a primary subnet and multiple address ranges for a DHCP
address pool:
If you use the network or address range command multiple times for the same address pool,
the most recent configuration takes effect.
IP addresses specified by the forbidden-ip command are not assignable in the current address
pool, but are assignable in other address pools. IP addresses specified by the dhcp server
forbidden-ip command are not assignable in any address pool.
To specify a primary subnet and multiple address ranges for a DHCP address pool:
Step
1.
Enter system view.
2.
Create a DHCP user class and
enter DHCP user class view.
3.
Configure a match rule for the
DHCP user class.
4.
Return to system view.
5.
Create a DHCP address pool
and enter its view.
6.
Specify the primary subnet for
the address pool.
7.
(Optional.) Specify the
common address range.
8.
(Optional.) Specify an IP
address range for a DHCP user
class.
9.
(Optional.) Set the address
lease duration.
10. (Optional.) Exclude the
specified IP addresses in the
address pool from dynamic
allocation.
11. Return to system view.
Command
system-view
dhcp class class-name
if-match rule rule-number
{ hardware-address
hardware-address mask
hardware-address-mask | option
option-code [ ascii ascii-string
[ offset offset | partial ] | hex
hex-string [ mask mask | offset
offset length length | partial ] ] |
relay-agent gateway-address }
quit
dhcp server ip-pool pool-name
network network-address
[ mask-length | mask mask ]
address range start-ip-address
[ end-ip-address ] [ vpn-instance
vpn-instance-name ]
class class-name range
start-ip-address end-ip-address
expired { day day [ hour hour
[ minute minute [ second
second ] ] ] | unlimited }
forbidden-ip ip-address&<1-8>
quit
38
Remarks
N/A
Required for client
classification.
By default, no DHCP user
class exists.
Required for client
classification.
By default, no match rule is
configured for a DHCP user
class.
N/A
By default, no DHCP address
pool exists.
By default, no primary subnet
is specified.
By default, no IP address
range is specified.
By default, no IP address
range is specified for a user
class.
The DHCP user class must
already exist.
To specify address ranges for
multiple DHCP user classes,
repeat this step.
The default setting is 1 day.
By default, all the IP
addresses in the DHCP
address pool are assignable.
To exclude multiple address
ranges from dynamic
allocation, repeat this step.
N/A

Advertisement

Table of Contents
loading

Table of Contents