Commands used to release the IP lease of DHCP on USG firewalls

65

You can run the following commands to release the IP lease of DHCP on USG firewalls:
The specific lease duration is configurable. To release the lease, you can configure the lease period to limitless.
The configuration is as follows:
[sysname] interface GigabitEthernet0/0/1
[sysname-GigabitEthernet0/0/1] ip address 10.1.1.1 255.255.255.0
[sysname-GigabitEthernet0/0/1] dhcp server expired unlimited

Other related questions:
DHCP lease period configuration on USG firewalls
You can configure (or modify) the DHCP lease period on the USG2000, USG5000, and USG6000 as follows: 1. Configuration on the web UI: a. Choose Network > DHCP Server > Service. b. Complete basic DHCP configurations. c. Click Advanced. Configure the domain name, address lease period, and WINS server. d. Click Apply. 2. Configuring on the CLI: a. Configure the lease period in address pool mode. [USG] dhcp server ip-pool 2 [USG-dhcp-2] network 10.1.1.128 mask 255.255.255.128 [USG-dhcp-2] gateway-list 10.1.1.129 [USG-dhcp-2] expired day 5 [USG-dhcp-2] quit b. Configure the lease period in interface mode. [USG]interface Vlanif10 [USG-interface-VLANif10] ip address 10.1.1.1 255.255.255.0 [USG-interface-VLANif10] dhcp server expired day 10 hour 12

Method used to configure the USG firewall to release an IP address allocated by DHCP to the PC
On the USG2000, USG5000, and USG6000, you can release the IP address allocated by DHCP to the PC using the following commands: Clear address 10.110.1.1 reset dhcp server ip-in-use ip 10.110.1.1 The commands can clear both expired and valid address binding information.

Use the USG firewall ping command.
The USG2000 & 5000 & 6000 ping command is interpreted and used as follows: The ping (Packet Internet Groper) command is the most common debugging tool for detecting network device accessibility. It uses the echo information of ICMP (ICMP6 for IPv6) to determine: 1. Whether the remote device is available. 2. The round-trip delay of communication with the remote host. Packet (packet) of the loss of the situation. The ping command is mainly used to check whether the network connection and the host are reachable. E.g: Check whether the host with IP address 10.1.1.2 is reachable. E.g: ping 10.1.1.2 Ping 10.1.1.2: 56 data bytes, press CTRL_C to break Reply from 10.1.1.2: bytes = 56 sequence = 1 ttl = 255 time = 1ms Reply from 10.1.1.2: bytes = 56 sequence = 2 ttl = 255 time = 2ms Reply from 10.1.1.2: bytes = 56 sequence = 3 ttl = 255 time = 1ms Reply from 10.1.1.2: bytes = 56 sequence = 4 ttl = 255 time = 3ms Reply from 10.1.1.2: bytes = 56 sequence = 5 ttl = 255 time = 2ms - 10.1.1.2 ping statistics-- 5 passengers transmitted 5 packets received 0% packet loss Round-trip min / avg / max = 1/2/3 ms

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.

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