Using the HP DTC 16RX Manager
146
Command return values
22
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.
rdtcmodifyconfs -m -fdtcscript mydtc1 l
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 LAN is specified as the dtcobject parameter, only the 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.
Command return values
The rdtcmodifyconfs command returns 0 (zero) for no errors if there are no
problems, otherwise an error code is displayed.