Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-05 Rev B
April 2012
94
Date and Time CLI Commands
Using Tape Drives
syscli --use tapedrive --sernum <tape drive serial number> --usetype
{backupapplicationspecific | remove | ignore}
This CLI command allows the admin user to set the intended use for the
specified tape drive.
•
--sernum
: Must be a valid serial number of the tape drive. Use the
--list tapedrive
command to get all the tape drive serial numbers.
•
--usetype
: Type of intended use for the tape drive.
Date and Time CLI Commands
The following sections describe the supported date and time CLI commands:
•
•
•
•
Getting the Date and
Time
syscli --get datetime
This CLI command returns the system date, time, time zone, time format and
NTP server information.
Setting the Date and
Time
syscli --set datetime [--ntpserver <ntpserver> | { --date <yyyymmdd> --
time <time>}] [--timeformat 12|24] [--timezoneid <time zone id>] [--sure]
This CLI command allows the admin user to set the system date and time using
NTP or manually. The user can specify either (a) the name or IP address of an NTP
server that the system date and time will be synchronized with, or (b) both the
new date and time.
Displaying the NTP
Server
syscli --list ntpserver
This CLI command lists the public NTP server pool.
Displaying the Time
Zone
syscli --list timezone [--matching <pattern>]
This CLI command allows the user to list information for all time zones. If
matching <pattern> is specified, list only time zones that have their time zone
filenames match the specified pattern such as pacific, central, bangkok, etc. The
match is case insensitive.