Delete DNS parameters on S series switch

Created Apr 06, 2017 08:40:34Latest reply Apr 06, 2017 14:06:06 758 2 0 0
Delete DNS parameters on S series switch.
  • x
  • convention:

p00187531  Moderator   Created Apr 06, 2017 09:02:35 Helpful(0) Helpful(0)

undo dns xx under the IP pol configuration
  • x
  • convention:

ms.america     Created Apr 06, 2017 14:06:06 Helpful(0) Helpful(0)

If an S series switch (except an S1700 switch) delivers the DNS server IP address to clients through DHCP, the DNS server IP address can be deleted using commands. For example, if the DNS server IP address 10.1.1.1/24 has been configured on a switch, you can delete it as follows:

- If the original configuration is based on a global address pool:
[Huawei] ip pool pool1
[Huawei-ip-pool-pool1] undo dns-list 10.1.1.1 //Delete the DNS server IP address.

- If the original configuration is based on an interface address pool:
[Huawei] interface vlanif 10 //Enter the view of the DHCP server interface connected to clients.
[Huawei-Vlanif10] undo dhcp server dns-list 10.1.1.1 //Delete the DNS server IP address.

- If the original configuration is based on a 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.

Additionally, clients need to release their original IP addresses and apply for new IP addresses from the DHCP server.
  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, trade marks, copyrights, and patents, and personal privacy. Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top