Interface Level - Foundry Networks Switch and Router Installation And Configuration Manual

Switch and router
Table of Contents

Advertisement

Foundry Switch and Router Installation and Configuration Guide
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.
26 - 6
December 2000

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents