cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
592
Views
0
Helpful
4
Replies

Synchronize time with NTP

sundayviet
Level 1
Level 1

I configured my switch synchronize time from NTP server, I do "show clock" command and got everything seem ok, the switch got correct time(UTC:+7), but when I do "show logg" command, entry log display in incorrect time-zone. (UTC:0), which wrong here ?

1 Accepted Solution

Accepted Solutions

Marvin Rhoads
Hall of Fame
Hall of Fame

Like Leo said, with a bit more explanation of the abbreviated command arguments:

service timestamps log datetime show-timezone localtime year
service timestamps debug datetime show-timezone localtime year

View solution in original post

4 Replies 4

Leo Laohoo
Hall of Fame
Hall of Fame

conf t

serv time d d s l y

serv time l d s l y

end

Marvin Rhoads
Hall of Fame
Hall of Fame

Like Leo said, with a bit more explanation of the abbreviated command arguments:

service timestamps log datetime show-timezone localtime year
service timestamps debug datetime show-timezone localtime year

Thank all for your help. 

I did command "service timestamps log datetime localtime" and it worked well with my case. 

Thanks again!

You're welcome. Please mark your question as answered.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco