beautypg.com

Entering script mode, Scripting mode, Creating scripts – HP Secure Key Manager User Manual

Page 266: Manual creation

background image

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