The leases of some addresses are displayed as - on S series switch

14

When the display ip pool [ { interface interface-pool-name | name ip-pool-name } [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command is executed on an S series switch (except an S1700 switch) to display information about IP addresses in a DHCP address pool, the Lease field in the command output is displayed as hyphens (-) for idle, excluded, statically bound, and conflicting IP addresses.

Other related questions:
Reason why the lease of some addresses in the address pool displays - on S series switches
Run the display ip pool [ { interface interface-pool-name | name ip-pool-name } [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command to check DHCP address pool allocation on S series switches excluding the S1700. You can find that some addresses�?lease display -. This is because these addresses are one of idle, excluded, statically bound, and conflicting addresses.

Check DHCP IP address lease on S series switch
On S series switches except S1700 switches, you can view the lease of IP addresses in an address pool as follows: - If an interface address pool is used, run the display ip pool interface interface-pool-name [ start-ip-address [ end-ip-address ] ] command. - If a global address pool is used, run the display ip pool name ip-pool-name [ start-ip-address [ end-ip-address ] ] command. The Lease field in the command output indicates the lease of IP addresses.

DHCP address lease configuration on S series switch
For S series switches (except S1700 switches), IP addresses that are dynamically allocated by a DHCP server have leases. The lease is configurable and defaults to 1 day. IP address leases can be specified for global and interface address pools. For example, to set the IP address lease of the address pool pl to 10 days, perform the following configuration: - Global address pool [HUAWEI] ip pool p1 [HUAWEI-ip-pool-p1] lease day 10 - Interface address pool [HUAWEI] interface vlanif 10 [HUAWEI-Vlanif10] dhcp select interface [HUAWEI-Vlanif10] dhcp server lease day 10 Different address pools on a DHCP server can be configured with different IP address leases, but IP addresses in the same address pool must have the same lease.

Method to release DHCP address pool and configure the lease on S series switches
S series switches excluding the S1700 allow the DHCP address pool to be manually released and support configurable lease for IP addresses dynamically assigned through DHCP.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top