F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Getting Started Command Reference-6PW100
40
Device management commands
The following matrix shows the storage media on different firewalls and UTM devices:
Hardware Stora
g
e medium
F1000-A-EI/F1000-S-EI flash0
F1000-E cfa0
F5000 cfa0
Firewall module cfa0
U200-A cfa0
U200-S cfa0
For description convenience, all examples in this chapter use the storage medium cfa0.
clock datetime
Use clock datetime to set the system time and date.
Syntax
clock datetime time date
Views
User view
Default command level
3: Manage level
Parameters
time: Specifies a time, in the hh:mm:ss format. The hh value ranges from 00 to 23, the mm value ranges
from 00 to 59, and the ss value ranges from 00 to 59. Zeros can be omitted, unless you specify
00:00:00.
date: Specifies a date, in the MM/DD/YYYY or YYYY/MM/DD format. The YYYY value ranges from
2000 to 2035, the MM value ranges from 1 to 12, and the DD value ranges from 1 to 31.
Usage guidelines
You can leave the ss field blank when you specify the time parameters.
Examples
# Set the current system time to 14:10:20 08/01/2005.
<Sysname> clock datetime 14:10:20 8/1/2005
# Set the current system time to 00:06:00 01/01/2007.
<Sysname> clock datetime 0:6 2007/1/1
Related commands
• clock summer-time one-off