IP address release and update on S series switch

4

If you need to allocate new IP addresses to PCs (DHCP clients), you must release old IP addresses from the PCs. However, you can renew IP address leases without releasing IP addresses.
1. (Optional) Releasing an IP address
The command for releasing an IP address varies according to the operating system:
a. If the PC runs the Windows 7 operating system, run the ipconfig or release command.
b. If the PC runs the Windows 98 MS-DOS operating system, run the winipcfg or release command.
2. Requesting a new IP address or renewing IP address lease
The command for requesting an IP address or renewing IP address lease also varies according to the operating system:
a. If the PC runs the Windows 7 operating system, run the ipconfig or renew command.
b. If the PC runs the Windows 98 MS-DOS operating system, run the winipcfg or renew command.

Other related questions:
Release and update of the IP address on a PC
If a user wants to update its IP address, release the old IP address on the PC (DHCP client). The IP address does not need to be released when the lease is updated. 1. (Optional) Release an IP address. The commands for releasing an IP address vary with the operating system. a. Run the ipconfig/release command on a PC running Windows 7 to release the IP address. b. Run the winipcfg/release command in the Windows 98 MS-DOS environment to release the IP address. 2. Update an IP address. The commands for updating the lease of an IP address vary with the operating system. a. Run the ipconfig/renew command on a PC running Windows 7 to update the IP address lease or request a new IP address. b. Run the winipcfg/renew command in the Windows 98 MS-DOS environment to update the IP address lease or request a new IP address.

How is the PC's IP address released and updated on an AR
If a user wants to update its IP address, release the old IP address on the PC (DHCP client). The IP address does not need to be released when the lease is updated. 1. (Optional) Release an IP address. The commands used to release an IP address in different OSs are different: a. Run the ipconfig/release command in the Windows 7 environment of the user PC to release an IP address. b. Run the winipcfg/release command in the Windows 98 MS-DOS environment to release an IP address. 2. (Optional) Update an IP address. The commands used to update an IP address in different OSs are different: a. Run the ipconfig/renew command in the Windows 7 environment of the user PC to update the IP address lease or request a new IP address. b. Run the winipcfg/renew command in the Windows 98 MS-DOS environment to update the IP address lease or request a new IP address.

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.

How to bind the IP address, MAC address, and interface
The Switch implements binding between an interface and a MAC address through the traffic policy and DHCP snooping. Then the interface allows only the packets with the bound MAC address and packets matching the DHCP snooping binding table to pass through. The Switch does support binding of IP address + MAC address + interface. For example, to configure Ethernet 0/0/1 to allow only the packets with the source MAC address being 0-02-02 apart from of the packets matching the DHCP snooping binding table, and discard other packets, do as follows: # Enable DHCP snooping globally. [HUAWEI] dhcp snooping enable# Create an ACL that permits only the packets with the source MAC address being 0-02-02. [HUAWEI] acl 4000 [HUAWEI-acl-L2-4000] rule permit source-mac 0-02-02 ffff-ffff-ffff [HUAWEI-acl-L2-4000] rule deny# Create a traffic classifier that matches ACL 4000. [HUAWEI] traffic classifier c1 [HUAWEI-classifier-c1] if-match acl 4000# Create a traffic behavior and a traffic policy. [HUAWEI] traffic behavior b1 [HUAWEI-behavior-b1] permit [HUAWEI] traffic policy p1 [HUAWEI-trafficpolicy-p1] classifier c1 behavior b1# Apply the traffic policy to Ethernet 0/0/1 so that the interface allows only the packets with the source MAC address 0-02-02 to pass through apart from of the packets matching the DHCP snooping binding table. In V100R005C00 and later versions, the configuration is as follows: [HUAWEI] interface Ethernet 0/0/1 [HUAWEI-Ethernet0/0/1] port default vlan 4094 [HUAWEI-Ethernet0/0/1] ip source check user-bind enable [HUAWEI-Ethernet0/0/1] traffic-policy p1 inbound

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