HPE FlexNetwork HSR6800 Configuration Manual page 48

Comware 7 layer 3, ip services
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

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.
You can use class range to modify an existing address range, and the new address range can
include IP addresses that are being used by clients. Upon receiving a lease extension request
for such an IP address, the DHCP server allocates a new IP address to the requesting client.
But the original lease continues aging in the address pool, and will be released when the lease
duration is reached. To release such lease without waiting for its timeout, execute the reset
dhcp server ip-in-use command.
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.
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 }
35
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.

Advertisement

Table of Contents
loading

Table of Contents