Configure the System Time and Time Zone
Configuration Condition
None
Configure the System Time and Time Zone
The system time and time zone is the time displayed in the timestamp of system information. The time is determined by the configured time and time zone. You can run the show clock command to view the time information of the system. To make the device work normally with other devices, the system time and time zone must be accurate.
Table 7-3 Configuring the System Time and Time Zone
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Configure the system time.
|
clock timezone timezone-name-string hour-offset-number [ minute -offset-number ]
|
Mandatory.
The default is Universal Time Coordinated (UTC).
|
Enter the privileged user mode.
|
exit
|
-
|
Configure the system time.
|
clock year-number [ month-number [ day-number [ hour-number [ minute-number [ second-number ] ] ] ] ]
|
Mandatory
|