Basic Cisco Switch Question 2960X Core Switch

I have a voice vlan that is using DHCP configured on my core 2960X

My voice vlan has a few statics

192.168.50.5  ccm pub
192.168.50.6  ccm sub
192.168.50.7  unity pub
192.168.50.8  unity sub
192.168.50.9  ccx pub
192.168.50.10 ccx sub
192.168.50.11 presence pub
192.168.50. 12 presence sub

 I just retired a dns server and I have to
change it on the core switch that is handing out DHCP address on the 50  VLAN

How can I change the following? And where else do I have to change this setting?




ip dhcp excluded-address 192.168.50.1 192.168.50.50
!
ip dhcp pool Voice
 network 192.168.50.0 255.255.255.0
 default-router 192.168.50.1
 option 150 ip 192.168.50.5 192.168.50.6
 dns-server 192.168.0.6 192.168.1.19
 domain-name XXXXXXXXXXXXX

I want to change 192.168.1.19  to 192.168.1.27

I need the correct syntax and also my fear is that I'm running a call center
that does a lot of business so should I wait until after hours do to do this change?


the ip helper on the switch is correct but I need to get the dns server in on this scope
FeenkerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JustInCaseCommented:
To change dns-server

en
config t
ip dhcp pool Voice
no dns-server 192.168.0.6 192.168.1.19
dns-server 192.168.0.6 192.168.1.27


You can prepare bold commands as copy - paste, so it can be done in no time. There should be no downtime at all.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mal OsborneAlpha GeekCommented:
No downtime, but be aware that the new DNS setting will not propagate to client machines for a while.  Worse case scenario would be 50% of the lease time.

The default on Cisco devices is one day, so if you change it one evening, the next morning  devices should pick up a new lease with the new DNS servers. Of course, the lease time may not have been left at the default.   Below is how the syntax works:

Router1#configure terminal
Router1(config)#ip dhcp pool 192.168.5.0 255.255.255.0
Router1(dhcp-config)#lease 5 12 30            
Router1(dhcp-config)#end
Router1#

With The lease command, you are left three options: lease days, hours, minutes with hours and minutes being optional. You can specify a maximum period of 365 days, 23 hours and 59 minutes, and a minimum of 1 second. The default is 1 day.
FeenkerAuthor Commented:
Thanks for the solution it worked.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.