2-293
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set ip dns
set ip dnsTo enable or disable DNS, use the set ip dns command.
set ip dns {enable | disable}
Syntax Description
Defaults The default is DNS is disabled.
Command Types Switch command.
Command Modes Privileged.
Examples This example shows how to enable DNS:
Console> (enable) set ip dns enable
DNS is enabled.
Console> (enable)
This example shows how to disable DNS:
Console> (enable) set ip dns disable
DNS is disabled.
Console> (enable)
Related Commands show ip dns
enable Enables DNS.
disable Disables DNS.