Template - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Guidelines
The TCP Proxy service terminates the inbound TCP connection, and initiates an
outbound TCP connection to the destination address.
Use the no tcpproxy command to delete a TCP proxy.
Examples
v Creates a ForwardHTTP TCP proxy that redirects incoming traffic received on
v Creates the TCPRelay TCP proxy that redirects incoming traffic received on
v Deletes the ForwardHTTP TCP proxy.

template

Runs an interactive command line script.
Syntax
template URL
Parameters
URL
Guidelines
The template command specifies the URL of the interactive command line script.
The script is an XML file that can be local or remote to the DataPower appliance.
The script must conform to the store:///schemas/dp-cli-template.xsd schema.
To verify whether the script is conformant with the schema, use the test schema
command.
Related Commands
test schema
Examples
v Verify that local:///shell-script.xml conforms to the store:///schemas/dp-
v Runs the interactive script as defined in the local:///shell-script.xml file.
high
Receives above normal priority.
appliance interface 192.68.14.12:80 to host 10.10.20.100:80.
# tcpproxy ForwardHTTP 192.168.14.12 80 10.10.20.100 80
#
appliance interface 192.168.14.12: 6130 to port 49000 on host ragnarok.
# tcpproxy TCPRelay 192.168.14.12 6130 ragnarok 49000
#
# no tcpproxy ForwardHTTP
#
Specifies the fully-qualified location of the interactive command line script.
cli-template.xsd schema.
# test local:///shell-script.xml store:///schemas/dp-cli-template.xsd
#
# template local:///shell-script.xml
#
Chapter 2. Global configuration mode
115

Advertisement

Table of Contents
loading

Table of Contents