How to delete static IP addresses in the global address pool on S series address

2

For S series switches, use the following method to delete static IP addresses in the global address pool:
In the global address pool, run the undo static-bind [ ip-address ip-address | mac-address mac-address ] command to delete static IP addresses.
- Delete static IP addresses based on the IP address.
[HUAWEI] ip pool global1
[HUAWEI-ip-pool-global1] undo static-bind ip-address 10.10.10.10
- Delete static IP addresses based on the MAC address.
[HUAWEI] ip pool global1
[HUAWEI-ip-pool-global1] undo static-bind mac-address dcd2-fc96-e4c0

Other related questions:
Delete static IP addresses from the global address pool on S series switch
On an S series switch, you run the undo static-bind [ ip-address ip-address | mac-address mac-address ] command to delete a static IP address from a global address pool. For example: - Delete a static IP address based on a specified IP address: [HUAWEI] ip pool global1 [HUAWEI-ip-pool-global1] undo static-bind ip-address 10.10.10.10 - Delete a static IP address based on a specified MAC address: [HUAWEI] ip pool global1 [HUAWEI-ip-pool-global1] undo static-bind mac-address dcd2-fc96-e4c0

DHCP address pool modes on S series switches
When an S series switch excluding the S1700 functions as the DHCP server, the switch supports the interface-based and global address pools. - Interface-based address pool The interface address pool is on the network segment where the primary IP address of an interface is located. The DHCP server can only select and assign IP addresses on the network segment to clients. - Global address pool 1. If the DHCP server is on the same network segment as clients (no relay agent is deployed), the DHCP server selects IP addresses in the address pool on the network segment where the primary IP address of the interface connected to clients is located. If the interface is not configured with the primary IP address or no address pool is on the same network segment as the primary IP address, clients cannot request IP addresses. 2. If the DHCP server and clients are on different network segments (a relay agent is deployed), the DHCP server parses the received IP address (the primary IP address of the first interface configured with the relay function) specified by the giaddr field in the DHCP Request message, and selects the address pool on the same network segment as the IP address to assign addresses. If the IP address does not match the corresponding address pool, clients cannot request IP addresses. Follow the preceding rules to ensure that a client can obtain an IP address.

Delete entries in binding tables for IPSG (user-bind binding tables) on S series switches
Delete entries in a binding table for IPSG (user-bind binding table) on an S series switch (except the S1700) as follows: Binding entries include static entries and dynamic entries. Dynamic entries are automatically generated when DHCP snooping is enabled. To delete dynamic entries, disable DHCP snooping. Static entries are configured manually. To delete static entries, perform the following operations: 1. Run the display dhcp static user-bind all command to view all static binding entries on the switch. [HUAWEI] display dhcp static user-bind all 2. Delete binding entries as required. a. Delete the static binding entry of IP address 192.168.1.1. [HUAWEI] undo user-bind static ip-address 192.168.1.1 mac-address 0001-0001-0001 b. Delete the static binding entry of MAC address 0002-0002-0002. [HUAWEI]undo user-bind static mac-address 0002-0002-0002 c. Delete all static binding entries of GE0/0/1. [HUAWEI] undo user-bind static interface gigabitethernet 0/0/1 d. Delete all static binding entries in VLAN 10. [HUAWEI] undo user-bind static vlan 10 e. Delete all entries in the static binding table. [HUAWEI]undo user-bind static

How is IP address range increased on an AR
When addresses in the address pool are insufficient, use the following methods:
- Increase the mask.
[Huawei] ip pool global1
[Huawei-ip-pool-global1] undo network
[Huawei-ip-pool-global1] network 192.168.0.0 mask 16 //Change the mask from 24-bit mask 255.255.255.0 to 16-bit mask 255.255.0.0.
There are great changed. The mask on the DHCP client needs to be changed to 16-bit.
- Create an address pool and configure the primary address of the interface as the address on the network segment.
[Huawei] ip-pool new_p //Create an address pool.
[Huawei-ip-pool-new_p] network 192.168.2.0 mask 255.255.255.0
[Huawei-ip-pool-new_p] quit
[Huawei] interface gigabitethernet1/0/0
[Huawei-GigabitEthernet1/0/0] ip address 192.168.2.1 255.255.255.0 //Configure the same network segment of new addresses as that of the primary IP address.
[Huawei-GigabitEthernet1/0/0] ip address 192.168.1.1 255.255.255.0 sub //Configure the same network segment of new addresses as that of the secondary IP address.
Automatically allocated addresses are addresses on the new network segment.

Check address allocation on S series switch
On S series switches except S1700 switches, you can view information about 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 ] | all | conflict | expired | used ] ] command. - If a global address pool is used, run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. You can configure fields in the command as required: - To view information about all IP addresses in an address pool, specify all. - To view information about conflicting IP addresses in an address pool, specify conflict. - To view information about expired and idle IP addresses in an address pool, specify expired. - To view information about used IP addresses in an address pool, specify used. - To view information about a specific IP address or an IP address range in an address pool, specify start-ip-address [ end-ip-address ].

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