Exec - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Related Commands
disable, exit
Examples
v Exits User Mode and enters Privileged Mode.

exec

Calls and runs a target configuration script.
Syntax
exec URL
Parameters
URL
Guidelines
The exec command enables the modularity of configuration scripts. For example,
you can include all service configuration commands in a script called services.cfg
and all Multi-Protocol Gateway configuration commands in the gateway.cfg script.
A main configuration script can consist entirely of a series of exec commands.
Examples
v Executes the specified configuration scripts.
8
Command Reference
> enable
Username: admin
Password: ********
#
Identifies the location of the configuration file.
v If the file resides on the appliance, this parameter takes the form
directory:///filename, where:
directory
Identifies a local directory. Generally, the directory is one of the
following keywords:
– config
– local
filename
Identifies the file in the directory.
v If the file is remote and the transport protocol is HTTP, HTTPS, SCP, or
SFTP, this parameter takes one of the following forms:
– http://user:password@host/file
– https://user:password@host/file
– scp://user:password@host/file
– sftp://user:password@host/file
The host name can be specified as an IP address or as a qualified host
name when DNS services were previously enabled.
# configure terminal
# exec config:///housekeeping.cfg
# exec config:///interfaces.cfg
# exec config:///crypto.cfg
# exec config:///services.cfg
#

Advertisement

Table of Contents
loading

Table of Contents