12.1.4 Configuring time synchronization with NTP servers
Using NTP functionality, synchronize the system clock of the Switch with the NTP server, adjusting both time settings.
|
- Points to note
-
To synchronize the Switch with multiple NTP servers, you must configure multiple settings using the ntp peer command.
When multiple NTP servers are configured in the network, the prefer parameter of the ntp peer command selects the NTP server to be used for synchronizing the Switch's system clock. If you omit the prefer parameter, the selected NTP server will be the one with the least stratum value, or a randomly selected NTP server if they all have the same stratum value.
Command examples
-
(config)# ntp peer 192.168.1.2
Establishes a peer relationship with the NTP server whose IP address is 192.168.1.2.