How to delete DNS parameters on DHCP-enabled S series switches

For S series switches excluding the S1700, you can delete the delivered DNS server IP address using a command. Assume that the DNS server IP address is set to 10.1.1.1/24. Perform the following steps:
- Based on the global address pool
[Huawei] ip pool pool1
[Huawei-ip-pool-pool1] undo dns-list 10.1.1.1 //Delete the DNS server IP address.
- Based on the interface address pool
[Huawei] interface vlanif 10 //Interface of the DHCP server connected to clients
[Huawei-Vlanif10] undo dhcp server dns-list 10.1.1.1 //Delete the DNS server IP address.
- Based on DHCP Option template
[Huawei] dhcp option template temp1
[Huawei-dhcp-option-template-temp1] undo dns-list 10.1.1.1 //Delete the DNS server IP address.
The client needs to release the original IP address and apply for an IP address.

Scroll to top