You can execute the following to see the date and time on a router (this is a -like date on a Cisco device).
Task: Display the system clock

Use the show clock command in EXEC mode, enter:

show clock


show clock detail

The last example will show the clock source (such as NTP) and the current summer time setting etc.

Task: Set the system clock

To set the time use the following 24 hour time format:

clock set 14:08:50 Jul 22 2017

The syntax is as follows:

clock set hh:mm:ss day month year


clock set hh:mm:ss month day year

Print Friendly, PDF & Email



Bài viết liên quan