2-41
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands clear ip dns server
clear ip dns serverTo 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 se t ip dns se rver
show ip dns
ip_addr IP address of the DNS server you want to remove. An I P alia s o r a h ost na me t h at c a n
be resolved through DNS can also be used.
all Specifies all the IP addresses in the DNS server listing to be removed.