I have two cisco switches (WS-C3850-12XS-E) stacked by stack cable. I want to configure ntp on them. How to configure ntp on those about time synchronization?

  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide and accept your own answer.
    – Ron Maupin
    Dec 15, 2019 at 2:33

1 Answer 1


You configure a stack as a single switch, not two separate switches. Simply log into the stack and configure NTP:

ntp server ip-address [version number] [key key-id] [source interface-type interface-number] [prefer]

There are other options and configurations for NTP, but the above command will configure the switch stack to use a particular NTP server.

You can refer to Basic System Management Configuration Guide, Cisco IOS XE Release 2, Setting Time and Calendar Services for more information.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.