4 clock set – PLANET XGS3-24040 User Manual
Page 44
![background image](https://www.manualsdir.com/files/865186/content/doc044.png)
XGS3 Command Guide
1-44
Function:
Configure the CGF file used in the next booting of the main control boardcard.
Parameters:
The NULL keyword means to use the factory original configuration as the next booting configuration. Setting the he
CGF file used in the next booting as NULL equals to implementing “set default” and “write”. <file-url> is the full path
of CGF file used in the next booting.
1. The file path comprises of two parts: device prefix used as the root directory (flash:/) and the file name. No space
is allowed in each part or between two parts.
2. The suffix of all file names should be .cfg.
3. The length of the full file path should be no longer than 128 characters, while the file name no longer than 80
characters.
Command Mode:
Admin Mode.
Default Settings:
None.
Example:
1. Set flash:/ startup.cfg as the booting CFG file used in the next booting of the system.
Switch# boot startup-configflash:/ startup.cfg
2. Set flash:/ test-trunk.cfg as the booting CFG file used in the next booting of the system.
Switch#boot startup-config flash:/ test-trunk.cfg
1.1.4 clock set
Command:
clock set <HH:MM:SS>
Function:
Set system date and time.
Parameter:
current year, month and date, and the valid scope for YYYY is 1970~2038, MON meaning month, and DD between 1
to 31.
Command mode:
Admin Mode.
Default:
upon first time start-up, it is defaulted to 2001.1.1 0: 0: 0.
Usage guide:
The switch can not continue timing with power off, hence the current date and time must be first set at environments
where exact time is required.
Example:
To set the switch current date and time to 2002.8.1 23: 0: 0:
Switch#clock set 23:0:0 2002.8.1