EasyManua.ls Logo

HPE FlexFabric 5950 Series

HPE FlexFabric 5950 Series
363 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
62
Usage guidelines
The DHCP server assigns an IP address together with the lease duration to the DHCP client. Before
the lease expires, the DHCP client must extend the lease duration.
• If the lease extension operation succeeds, the DHCP client can continue to use the IP address.
• If the lease extension operation does not succeed, both of the following events occur:
{ The DHCP client cannot use the IP address after the lease duration expires.
{ The DHCP server will label the IP address as an expired address.
Examples
# Set the lease duration to 1 day, 2 hours, 3 minutes, and 4 seconds in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] expired day 1 hour 2 minute 3 second 4
Related commands
display dhcp server expired
display dhcp server pool
reset dhcp server expired
forbidden-ip
Use forbidden-ip to exclude IP addresses from dynamic allocation in an address pool.
Use undo forbidden-ip to remove the configuration.
Syntax
forbidden-ip ip-address&<1-8>
undo forbidden-ip [ ip-address&<1-8> ]
Default
No IP addresses are excluded from dynamic allocation in an address pool.
Views
DHCP address pool view
Predefined user roles
network-admin
Parameters
ip-address&<1-8>: Specifies a space-separated list of up to eight excluded IP addresses.
Usage guidelines
The excluded IP addresses in an address pool are still assignable in other address pools.
You can exclude a maximum of 4096 IP addresses in an address pool by executing this command
multiple times.
If you do not specify any parameters, the undo forbidden-ip command removes all excluded IP
addresses.
Examples
# Exclude IP addresses 192.168.1.3 and 192.168.1.10 from dynamic allocation in DHCP address
pool 0.
<Sysname> system-view

Table of Contents

Other manuals for HPE FlexFabric 5950 Series

Related product manuals