beautypg.com

Date/time configuration, Domain configuration – American Megatrends MAN-STOR-ITX27-CLI User Manual

Page 16

background image

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
-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

Configures the NTP server to be
used for time synchronization.

get timezone

-c/--count

Gets the number of time zones.

set datetime

-d/--date
-t/--time

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
-s/--server
-s/--server
-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 (optional)
-i/--ip
-I/--secip (optional)
-o/--orgname (optional)
-u/--user
-p/--passwd
-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.