Huawei quidway s7700 Configuration Manual page 262

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - SPU
l For an HTTP probe, do as follows:
Step 11 (Optional) Run:
destination port port-number
The destination port number of a probe is configured.
By default, the destination port number of a probe is the port number of a load balancing member
instance through the member port port-number command. If the port number of a load balancing
member instance is not configured, the destination port number of a probe is the default port
number. For example, TCP and HTTP probes use destination port 80 and UDP probes use
destination port 53. ICMP probes have no destination port number.
If a TCP probe, a UDP probe, or an HTTP probe is bound to a load balancing group, the
destination port number of the probe cannot be changed.
----End
Issue 01 (2011-07-15)
– Run:
expect-data data
The expected response data of a TCP probe or a UDP probe is set.
A TCP probe or a UDP probe determines whether a server member works normally by
comparing the sent data and the expected response data. If the response data from the server
member is the same as the expected response data, it indicates that the server member works
normally. If the server member does not respond or the response data is different from the
expected response data, it indicates that the server member works abnormally.
By default, the sent data or the expected response data of a TCP probe or a UDP probe is not
set.
– Run:
request method { get | head } url url
The HTTP request method and the URL used by the HTTP probe are configured.
The difference between the GET method and Head method is as follows: the entire page
corresponding to the URL is obtained by using the GET method, whereas the header of
the corresponding to the URL is obtained by using the Head method.
By default, the HTTP request method is GET and no URL is used.
– Run:
user user-name [ password
The user name and password of an HTTP request are set.
By default, the user name and password of an HTTP request are not set.
– Run:
header { accept | accept-charset } header-value value
The Accept field or the Accept-Charset field in an HTTP request packet header is set.
By default, the SPU does not set the Accept field or the Accept-Charset field in an HTTP
request packet header.
– Run:
expect status-code min min-number max max-number
The range of the expected return status code is set.
By default, the expected return status code is 200.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
password ]
6 Load Balancing Configuration
251

Advertisement

Table of Contents
loading

Table of Contents