Method used to check static DHCP binding on the AR

0

On the AR, run the display ip pool { interface interface-pool-name | name ip-pool-name } used command to check the static DHCP binding that is configured on a device.
For example, check the binding between IP addresses and MAC addresses in the global address pool test 1.
[Huawei] display ip pool name test1 used
Pool-name : test1
Pool-No : 0
Lease : 1 Days 0 Hours 0 Minutes
Domain-name : -
DNS-server0 : -
NBNS-server0 : -
IMPORT-DNS0 : -
IMPORT-NBNS0 : -
IMPORT-domain : -
Netbios-type : -
Position : Local Status : Unlocked
Gateway-0 : 10.1.1.1
Mask : 255.255.255.0
VPN instance : --
----- ----- ----- ----- ----- ----- ----- ----- -----
Start End Total Used Idle(Expired) Conflict Disable
----- ----- ----- ----- ----- ----- ----- ----- -----
10.1.1.1 10.1.1.254 253 1 252 0 0 0
----- ----- ----- ----- ----- ----- ----- ----- -----

Network section :
----- ----- ----- ----- ----- ----- ----- ----- ----- Index IP MAC Lease Status ----- ----- ----- ----- ----- ----- ----- ----- ----- 1 10.1.1.2 dcd2-fc96-e4c0-Static-bind ----- ----- ----- ----- ----- ----- ----- ----- -----In the preceding information, the value of Status is Static-bind. That is, IP addresses are bound to MAC addresses, and then DHCP allocates IP addresses to clients.

Other related questions:
Static DHCP binding supported by the AR
All AR models of all versions can allocate fixed IP addresses to clients.

Method used to check the DHCP lease on the AR
On the AR, you can run the following command to check the IP address lease. -If IP addresses are assigned based on the interface address pool, run the display ip pool interface interface-pool-name [ start-ip-address [ end-ip-address ] ] command. -If IP addresses are assigned based on the global address pool, run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] ] ] command. The value of the Lease field is the lease of the address.

Method to configure static DHCP binding on S series switches
Static DHCP binding allows the switch to allocate fixed IP addresses to user terminals with fixed MAC addresses. Assume that an S series switch excluding the S1700 needs to allocate the fixed IP address of 10.10.10.10 to the client with the MAC address of dcd2-fc96-e4c0. The configuration method is as follows: - Based on the global address pool: [HUAWEI] ip pool 1 //Address segments have been configured in the address pool. [HUAWEI-ip-pool-1] static-bind ip-address 10.10.10.10 mac-address dcd2-fc96-e4c0 - Based on the interface address pool: [HUAWEI] interface vlanif 10 //An IP address has been assigned to the interface. [HUAWEI-Vlanif10] dhcp server static-bind ip-address 10.10.10.10 mac-address dcd2-fc96-e4c0 Note: The configured IP address cannot be the IP address that has been assigned. If the system displays a message indicating that the IP address has been assigned, run the reset ip pool { interface pool-name | name ip-pool-name } { start-ip-address [ end-ip-address ] | all | conflict | expired | used } command in the user view to manually reclaim IP addresses in the address pool.

Method used to configure static ARP binding on USG firewalls
The command used to configure static ARP binding on the USG2000, USG5000, and USG6000 is as follows: In a static ARP entry, the IP address is 10.10.10.1/24, and the corresponding MAC address is 0025-1185-8C21. system-view [USG] arp static 10.10.10.1 0025-1185-8C21

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