
Responder Commands
Responders are global objects in the sense that a single responder can be assigned to multiple clusters. They are
used when no servers in the associated server pool are available:
l A responder can be added in the cluster context, in which case it is used when no servers in the server pool
defined for the cluster are available.
l A responder can also be assigned to a cluster in a match rule context, in which case the responder is used
when no servers in the server pool defined for the match rule are available.
Using Responder Commands in the Global Context
eqcli > resp rname req_cmds : Create rname (req_cmds = * commands below)
eqcli > resp rname cmd ... : Modify rname (cmds = any commands below)
eqcli > no resp rname : Delete rname
eqcli > show resp [rname] : Display all responders or rname
eqcli > resp rname : Change to the “rsp-rname" context (see below)
Using Reponder Comoands in a Responder Specific Context
eqcli rsp-rname> stats : Display responder statistics
eqcli rsp-rname> *type {sorry|redirect} : (R) MUST SET type FIRST
type = redirect:
eqcli rsp-rname> regex “expr” : Set redirect regular
expression
eqcli rsp-rname> *statcode {301|302|303|307} : Set redirect status code
eqcli rsp-rname> *statdesc “desc” : Set redirect status
description
eqcli rsp-rname> *url “url” : Set redirect URL
type = sorry:
eqcli rsp-rname> *html {edit|url} : Set HTML for “sorry”
responder
When creating a responder, you must specify the type parameter first on the command line, and then the
parameters required for that type. The supported responder types are:
l
redirect - A standard “HTTP Redirect" response that specifies a return code (statcode), description
(statdesc), and redirect URL (url). When the client receives this page, it is automatically redirected to the
redirect URL. Redirect pages can be configured to use parts of the request URL in the HTTP Redirect
response (using an optional regular expression).
166
Copyright © 2013 Coyote Point Systems. A subsidiary of Fortinet, Inc.
Kommentare zu diesen Handbüchern