User Manual

4.6 Time management
4.6.1 Set clock manually
[Syntax]
clock set time month day year
[Parameter]
time : hh:mm:ss
Time
month : <1-12> or Jan, Feb, Mar, ... , Dec
Month or name of month
day : <1-31>
Day
year : Year (four digits)
[Input mode]
priviledged EXEC mode
[Description]
Set the system time.
[Example]
Set the time to 0 hours 0 minutes 0 seconds on January 1, 2015.
SWR2311P#clock set 00:00:00 Jan 1 2015
4.6.2 Set time zone
[Syntax]
clock timezone zone
clock timezone offset
no clock timezone
[Parameter]
zone : UTC, JST
Name of the time zone shown when standard time is in effect
offset : -12:00, -11:00, ... , -1:00, +1:00, ... , +13:00
Enter the difference from UTC
[Initial value]
clock timezone UTC
[Input mode]
global configuration mode
[Description]
Sets the time zone.
If this command is executed with the "no" syntax, UTC is specified.
[Example]
Set the time zone to JST.
SWR2311P(config)#clock timezone JST
Set the time zone to UTC+9 hours.
SWR2311P(config)#clock timezone +9:00
42 | Command Reference |
Maintenance and operation functions