Question : Change IP Name-Servers on Cisco 3750 Switch

I have a couple of Cisco 3750 switches that I just need to change the IP Name-server from 192.168.1.7 to 192.168.1.3 and I don't know what the commands are.  This isn't that complicated but I am not a command line guy and don't want to bring in a Cisco guy for something so simple.  Can someone please tell me the commands to change the IP Name-Servers?  
Thanks!

Answer : Change IP Name-Servers on Cisco 3750 Switch

First log on to the 3750 either via telnet, ssh or through the console port.
It should prompt you for a login.
Once you are logged in you will need to be in enable mode.
If you see the prompt like this:

hostname>    

Note that is a greater than sign - then you are not in enable mode so if that is the case type
"enable" and hit enter

If you are at enable mode it will look like this:

hostname#

With a # sign after the name

Now you type "config t" and hit enter

Your prompt will change to hostname(config)#

ip name-server x.x.x.x y.y.y.y

where x.x.x.x and y.y.y.y are you primary and secondary name servers.

Hit enter after you type that in, then type exit and enter

Then type "wr mem" and enter to save the config.
Random Solutions  
 
programming4us programming4us