2-30
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear ip dns server
clear ip dns server
To remove a DNS server from the DNS server listing, use the clear ip dns server command.
clear ip dns server {ip_addr | all}
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Examples This example shows how to remove the DNS server at IP address 198.92.30.32 from the DN S se rver
listing:
Console> (enable) clear ip dns server 198.92.30.32
198.92.30.32 cleared from DNS table.
Console> (enable)
This example shows how to remove all DNS servers from the DNS server listing:
Console> (enable) clear ip dns server all
All DNS servers cleared
Console> (enable)
Related Commands set ip dns server
show ip dns
ip_addr IP address of the DNS server you want to remove. An IP alias or a
host name that can be resolved through DNS can also be used.
all Specifies all the IP addresses in the DNS server listing to be
removed.