Command Reference Basic Management Commands
Usage Guide
This command sets the MOTD, which is displayed at login. The letters that follow the separator will be
discarded.
Configuration
Examples
The following example shows the configuration of MOTD:
Ruijie(config)# banner motd $ hello,world $
Command Description
Related
Commands
N/A N/A
Platform
Description
None
clock set
To configure system clock manually, run one of the two formats of the clock set command in
privileged user mode:
clock set hh:mm:ss month day year
Parameter Description
hh:mm:ss
Current time: Hour (24-hour): Minute: Second
day
Date (1-31) of month
month
Month (1-12) of year
Parameter
Description
year
Year (1993-2035): No abbreviation is allowed.
Defaults
None
Command
Mode
Privileged EXEC mode
Usage Guide
Use this command to set the system time to facilitate management.
For devices without hardware clock, the time set by the clock set command applies only for the
current setting. Once the device is powered off, the set time becomes invalid.
Configuration
Examples
The following example configures the current time as 10:20:30AM March 17
th
2003.
Ruijie# clock set 10:20:30 Mar 17 2003
Ruijie# show clock
clock: 2003-3-17 10:20:32
Command Description Related
Commands
show clock
Shows current clock.