Date/time configuration, Domain configuration – American Megatrends MAN-STOR-ITX27-CLI User Manual
Page 16
StorTrends® iTX Software CLI (Command Line Interface) (Version 2.7) User’s Guide
10
Date/Time Configuration
These commands configure the time zone and date.
Command
Argument
Description
set timezone
-z/--zone <zone name>
-x/--xml
For example: set –z America/New_York timezone
Sets the time zone of StorTrends®
iTX to given time zone.
get timezone
For example: get timezone
Shows the configured time zone.
set datetime
-n/--ntp <FQDN of NTP server or ipaddress>
Configures the NTP server to be
used for time synchronization.
get timezone
-c/--count
Gets the number of time zones.
set datetime
-d/--date <date in MM/DD/YYYY>
-t/--time <time in HH:MM:SS>
-x/--xml
For example: set –d 12/01/2006 –t 12:11:55
datetime
Sets the date and time to given
values.
list timezone
For example: list timezone
Lists the time zones supported.
get datetime
For example: get datetime
Shows the date & time.
Domain Configuration
These commands configure the domain server to be used for authentication.
Command
Argument
Description
get domain
-t/--type {nis/ms}
-x/--xml
For example: get –t nis domain
Displays the domain information of
either NIS or Microsoft (MS)
domains.
set domain
-t/--type{ nis }
-b/--broadcast {y/n}
-d/--domain <domainname >
-s/--server <server-1>
-s/--server <server-2>
-x/--xml
For example: set -t nis -b n -d NISSERV -s
10.0.0.215 -s 10.0.0.25 -s 10.0.0.5 domain
Sets the NIS domain to given
domain with broadcast mode OFF
or ON. Servers can be added using
the –s/--server switch.
If broadcast is set to OFF, then no
servers are needed.
set domain
-t/--type {ms}
-m/--mtype {wg}
-d/--domain< domainname>
-x/--xml
For example: set -t ms -m wg -d MYGROUP
domain
Sets the Microsoft domain type to
Workgroup.
set domain
-t/--type {ms}
-m/--mtype {/nt/ads}
-d/--domain< domainname>
-D/--nbname<netbiosname> (optional)
-i/--ip <serverip>
-I/--secip<secondary serverip> (optional)
-o/--orgname <orgName> (optional)
-u/--user <Adminname >
-p/--passwd <Adminpassword>
-x/--xml
For example: set –t ms –m ads –d domain1.com –D
domain1 –I 10.10.220.1 –u Administrator –p
password domain
Sets the Microsoft domain type to
NT / ADS.