132
Script examples
10
Script examples
To enable port 3 of
mydtc1
(a DTC 16TN):
dtcmodifyconfs -m -e 'enable port = "x";' mydtc1 b 3
To change the DTC user interface timeout to 30 seconds on
mydtc1
:
dtcmodifyconfs -m -e 'DTC User Interface Timeout = "30";'
mydtc1
An example script file called
dtcscript
contains the following parameters:
User Interface Timeout = "9";
User Prompt = "New_DTC>";
Welcome Message = "Welcome! Type ? to get help on using the
DTC Terminal User Commands”;
This command will make all the changes listed in the script file.
dtcmodifyconfs -m -fdtcscript mydtc1
The parameters in the example are explained as follows:
-m
uses the modify option.
-f
uses a file containing a script. The file name is
dtcscript
.
mydtc1
is the name of the DTC to modify.
Key points about scripts
•
A script can only contain global or port parameters. You cannot mix global and
port parameters in the same script.
•
When the CPU/LAN or LAN is specified as the
dtcobject
parameter, only the
CPU/LAN or LAN parameters can be modified. Therefore, you cannot specify
DTC port parameters in the
script
or
scriptfile
parameter. Likewise, the
reverse is also true. If you specified a port in the
dtcobject
parameter, then only
port parameters can be modified.
•
The
parameter_name
is case sensitive and must be specified exactly as shown
above.
Содержание 9000 Series 700
Страница 1: ...Using the HP DTC Manager UX HP 9000 Series 700 and 800 Computers ...
Страница 2: ......
Страница 10: ...10 Contents ...
Страница 14: ...xiv Related HP Documentation ...
Страница 22: ...1 22 Special DTC terminology ...
Страница 84: ...84 Configuring DTC management protocol parameters 7 ...
Страница 122: ...122 Copying and pasting configurations 9 ...
Страница 136: ...136 Other dtcmodifyconfs parameter definitions 10 ...
Страница 140: ...140 Downloading the configuration 11 ...
Страница 164: ...164 About dtccheckip 13 ...
Страница 174: ...14 174 Event log examples ...
Страница 186: ...186 DTC user interface commands A ...
Страница 200: ...200 HP UX 9 x file system B ...
Страница 202: ...202 C ...
Страница 216: ...D 216 ...
Страница 221: ......