Set date time – Allied Telesis AT-S62 User Manual
Page 70
Chapter 5: Simple Network Time Protocol (SNTP) Commands
70
SET DATE TIME
Syntax
set date=dd-mm-yyyy time=hh:mm:ss
Parameter
date
Specifies the date for the switch in day-month-year
format.
time
Specifies the hour, minute, and second for the switch’s
time in 24-hour format.
Description
This command sets the date and time on the switch. You can use this
command to set the switch’s date and time if you are not using an SNTP
server. To view the current time, refer to SHOW TIME on page 73.
Note
The system’s date and time, when set with this command, are lost
whenever you power cycle or reset the switch. To avoid having to
reenter the date and time, you can configure the SNTP client
software so that the switch automatically obtains this information
from an SNTP server.
Example
The following command sets the switch’s date to March 11, 2004 and the
time to 4:34 pm and 52 seconds:
set date=11-03-2004 time=16:34:52
The following command sets just the date to April 2, 2004:
set date=02-04-2004
- AT-GS908M (54 pages)
- AT-x230-10GP (80 pages)
- AT-GS950/10PS (386 pages)
- AT-GS950/48PS (64 pages)
- AT-GS950/16PS (386 pages)
- AT-GS950/48PS (386 pages)
- AT-9000 Series (1480 pages)
- AT-9000 Series (258 pages)
- IE200 Series (70 pages)
- AT-GS950/48 (410 pages)
- AT-GS950/8 (52 pages)
- AT-GS950/48 (378 pages)
- AT-GS950/48 (60 pages)
- SwitchBlade x8106 (322 pages)
- SwitchBlade x8112 (322 pages)
- SwitchBlade x8106 (240 pages)
- SwitchBlade x8112 (240 pages)
- AT-TQ Series (172 pages)
- AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) (2220 pages)
- FS970M Series (106 pages)
- 8100L Series (116 pages)
- 8100S Series (140 pages)
- x310 Series (120 pages)
- x310 Series (116 pages)
- AT-GS950/24 (404 pages)
- AT-GS950/24 (366 pages)
- AT-GS950/16 (44 pages)
- AT-GS950/16 (364 pages)
- AT-GS950/16 (404 pages)
- AT-GS950/8 (404 pages)
- AT-GS950/8 (364 pages)
- AT-GS950/8 (52 pages)
- AT-8100 Series (330 pages)
- AT-8100 Series (1962 pages)
- AT-FS970M Series (330 pages)
- AT-FS970M Series (1938 pages)
- SwitchBlade x3106 (288 pages)
- SwitchBlade x3112 (294 pages)
- SwitchBlade x3106 (260 pages)
- SwitchBlade x3112 (222 pages)
- AT-S95 CLI (AT-8000GS Series) (397 pages)
- AT-S94 CLI (AT-8000S Series) (402 pages)
- AT-IMC1000T/SFP (23 pages)
- AT-IMC1000TP/SFP (24 pages)
- AT-SBx3106WMB (44 pages)