Import static binding entries to S series switches in batches

23

You can import static binding entries to an S series switch (except the S1700) in batches using either of the following methods:
Method 1:
1. Create a .txt file and paste copied binding entries to the .txt file.
2. Modify the binding entries (such as IP addresses or MAC addresses) as needed.
3. Log in to the switch, enter the system view, and copy and paste the modified binding entries.

Method 2:
1. Configure a binding entry on the switch and save the configuration.
2. Export the configuration file through FTP or TFTP.
3. Open the configuration file, locate the pre-configured user-bind static command, and configure more binding entries in the same format in the command.
4. Save the file.
5. Import the modified configuration file to the switch through FTP or TFTP. If the file name is changed, specify the new configuration file for next startup.

Other related questions:
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

Static DHCP binding entries supported by S series switches
S series switches excluding the S1700 support static DHCP binding. Ensure that IP addresses exist in the address pool during static binding. In addition, to learn the maximum number of entries, you can contact Huawei technical support personnel.

Number of supported static DHCP binding entries on S series switch
S series switches (except S1700 switches) support the static DHCP binding configuration. When configuring static DHCP binding, ensure that IP addresses to be bound exist in a DHCP address pool. If you want to know the maximum number of static DHCP binding entries that can be configured, send an email to e_online@huawei.com.

Options in binding tables configured for IPSG on S series switches
Options in binding tables configured for IPSG on S series switches (except S1700 switches) include the following: With IPSG enabled, an S series switch (except the S1700) checks IP packets against options in a binding table, which can be combinations of source IP addresses, source MAC addresses, VLANs, and interfaces. The following bindings can be configured in an interface view: Interface and IP address Interface and MAC address Interface, IP address, and MAC address Interface, IP address, and VLAN Interface, MAC address, and VLAN Interface, IP address, MAC address, and VLAN The following bindings can be configured in a VLAN view: VLAN and IP address VLAN and MAC address VLAN, IP address, and MAC address VLAN, IP address, and interface VLAN, MAC address, and interface VLAN, IP address, MAC address, and interface

Static DHCP binding error on S series switch
For S series switches (except S1700 switches), if the message "Error: The static-MAC is exist in this IP-pool" or "Error: The IP address's status is error" is displayed when you configure a static DHCP binding entry, the configuration will fail. The failure occurs because the IP address to bind has been assigned to a client, and an internal mapping entry has already been created on the switch. In this case, you can 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 the IP address in the address pool, and configure a new static binding entry.

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