Hc Script Expected-String; Hc Script Expected-String-Offset; Hc Script Port - Avaya P330 Reference Manual

Stackable switch
Hide thumbs Also See for P330:
Table of Contents

Advertisement

Chapter 4
Load Balancing CLI Commands

hc script expected-string

User level: privileged, supervisor
Use the expected-string command to set the Script Health Check expected
response string. Use the no form of this command to disable this function.
The syntax for this command is:
[no] expected-string <string>
string
Example:
Router-N(super-hc-http:5)# expected-string <HTML><HEAD>

hc script expected-string-offset

User level: privileged, supervisor
Use the expected-string-offset command to set the Script Health Check
expected string offset from the end of the Layer 4 Header. Use the no form of this
command to set this to the default value.
The syntax for this command is:
[no] expected-string-offset <offset>
offset
Example:
Router-N(super-hc-http:5)# expected-string-offset 7
<HTML><HEAD>

hc script port

User level: privileged, supervisor
Use the hc script port command to set the Script Health Check port. Use the
no form of this command to set this to the default value (the Virtual Service port).
You achieve the same result by entering the hc script port command with no
port number, or with port number = 0.
274
The string containing the expected response for the Health Check
to compare the response from the server - a string up to 255
characters.
The offset of the Health Check's expected string - an integer from 0 to
1000.
Avaya P330 Reference Guide

Advertisement

Table of Contents
loading

Table of Contents