Hp Secure Key Manager User Manual Page 266

  • Download
  • Add to my manuals
  • Print
  • Page
    / 352
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 265
To exit configure mode and go to view mode, type exit at the prompt:
hostname (config)# exit
hostname#
Entering script mode
Script mode allows you to create and run scripts containing show and/or configure mode CLI
commands. To enter script mode, you must first enter configure mode, then type script at the command
prompt. The system is in script mode when the following prompt is displayed:
hostname (script)#
To enter script mode, type script at the prompt:
hostname (config)# script
To exit script mode and go to configure mode, type exit at the prompt:
hostname (script)# exit
hostname (config)#
Scripting mode
This section describes how to perform the following actions in scripting mode:
Creating Scripts
Executing Scripts
Displaying and Deleting Scripts
Installing Certificates
Entering Passwords
Creating scripts
There are essentially two different ways to create CLI scripts: manually or via the Script Recorder.
Manual creation
This is done using the command create script <script name>, as shown here:
hostname(script)# create script testscript
Perform the following actions to create the script:
Type OR Paste the script immediately after the question mark.
Press Return twice when you have finished.
After you type the command, you are presented with the above directions. You can then either enter
your script line by line or create it using another editor and just paste it in after the question mark.
Note that when you are manually creating scripts, you must take care to format the script file correctly.
For example, when scripting an interactive command (i.e. one that asks for input), the command often
prompts the user multiple times to enter input. You must ensure that each response to a prompt for
input is entered on a separate line in the script file.
Using the Command Line Interface266
Page view 265
1 2 ... 261 262 263 264 265 266 267 268 269 270 271 ... 351 352

Comments to this Manuals

No comments