
Foundry Switch and Router Installation and Configuration Guide
26 - 6
December 2000
The following command is optional and changes the default method and URL for the health check. By default, the
Layer 3 Switch sends a HEAD request for the default homepage, “1.0”. The slash in the URL is optional; the
Layer 3 Switch inserts the slash for you if you leave it out.
Syntax:
port http url “[GET | HEAD] [/]<URL-page-name>”
The following command changes the HTTP status codes that the Layer 3 Switch accepts as valid responses to a
health check. The default status code range for HTTP health checks in SLB configurations is 200 – 299. You can
specify up to four discrete ranges. To specify a single message code for a range, enter the code twice. For
example to specify 200 only, enter the following command:
port http status_code 200 200
.
Syntax:
port http status_code <range> [<range>[<range>[<range>]]]
Interface Level
The following commands configure an IP sub-net address that is in the same sub-net as the web site’s IP address.
Enter these commands on the interface that connects the Layer 3 Switch to the real server or to the ServerIron or
third-party SLB that is load balancing for the IP address.
The
ip dont-advertise
command configures the Layer 3 Switch to block advertisement of the network on the
interface. If you do not block advertisement of the network, the Layer 3 Switch will advertise a route to the network
containing the web site even if the web site itself is unavailable. After you enter the
ip dont-advertise
command,
the Layer 3 Switch advertises only a host route to the IP address. Thus, if the web site fails the HTTP health
check, the Layer 3 Switch removes the static host route for the web site’s IP address and also does not advertise
a network route for the network containing the IP address.
Syntax:
ip address <ip-addr> <ip-mask> [secondary]
Or
Syntax:
ip address <ip-addr>/<mask-bits>
Syntax:
ip dont-advertise <ip-addr> <mask>
Or
Syntax:
ip dont-advertise <ip-addr>/<mask-bits>
NOTE:
An IP address in the sub-net you want to block must already be configured on the interface.
Configuring the HTTP Health Check on the Layer 3 Switch
To configure Foundry Layer 3 Switches to perform the HTTP health check for a web site and to manage a static
host route for the IP address, do the following:
•
Identify the web site’s IP address on the Layer 3 Switch.
•
Enable the HTTP keepalive (health check).
•
Optionally modify the health-check keepalive interval and retries.
•
Optionally modify site-specific health check parameters (the URL requested by the health check and the
HTTP status codes that the Layer 3 Switch will accept as a normal response).
•
Configure the port that connects the Layer 3 Switch to the HTTP application (ServerIron, third-party SLB, or
real server) to not advertise the network route for the IP sub-net the ServerIron, third-party SLB, or real server
and the port are on.
For example, to configure Foundry Layer 3 Switches for the configuration shown in Figure 26.1, enter the following
CLI commands.
Содержание Switch and Router
Страница 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Страница 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Страница 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Страница 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Страница 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Страница 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Страница 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Страница 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Страница 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Страница 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Страница 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Страница 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Страница 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Страница 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Страница 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Страница 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Страница 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Страница 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Страница 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Страница 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...