Test Tcp-Connection; Test Urlrefresh - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

test tcp-connection

Tests the TCP connection to a remote appliance.
Syntax
test tcp-connection host port [timeout]
Parameters
host
port
timeout
Related Commands
ip host, ip name-server, ping, traceroute
Examples
v Confirms an available TCP connection to the specified host on port number 80
v Confirms an available TCP connection to the specified IP address on port 21 (the

test urlrefresh

Tests a given URL against a specific Stylesheet Refresh Policy.
Syntax
test urlrefresh name URL
Parameters
name
URL
Guidelines
Use the test urlrefresh command to verify or troubleshoot a Stylesheet Refresh
Policy. The command returns "match" if the candidate URL matches a pattern in
any URL map that is used by the policy or returns "no match" if the URL does not
match a pattern.
# test urlmap URLmap-1 https://www.company.com/XML/stylesheets/style1.xsl match
# test urlmap URLmap-1 https://www.distributer.com/Renditions/XML2HTML.xsl match
#
Specifies the target host. Use either the IP address or host name.
Specifies the target port.
Specifies an optional timeout value, the number of seconds that the CLI
waits for a response from the target host. The default is 10.
(the well-known HTTP port), using the default timeout value (10 seconds).
# test tcp-connection ragnarok 80
TCP connection successful
#
well-known FTP control port). The timeout value is 5 seconds.
# test tcp-connection 192.168.77.27 21 5
TCP connection successful
#
Specifies the name of a Stylesheet Refresh Policy.
Specifies the candidate URL.
Chapter 2. Global configuration mode
119

Advertisement

Table of Contents
loading

Table of Contents