Cli Syntax - Foundry Networks Switch and Router Installation And Configuration Manual

Switch and router
Table of Contents

Advertisement

Foundry Layer 3 Switch leaves the static host route to the IP address in the Layer 3 Switch's route table or adds
the route if it is not present.
By default, the HTTP health check is disabled. Once you enable the health check, the Layer 3 Switch sends the
health check every five seconds by default. The default health check consists of a HEAD request for the default
home page "1.0". If the web site does not respond to a health check, the Layer 3 Switch resends the health check
up to two more times by default before determining that the web site is no longer available and removing the static
host route for the web site.
All the health check parameters are configurable. See "CLI Syntax" on page 26-5.
Configuration Considerations
The Foundry Layer 3 Switch and the ServerIron, third-party SLB, or real server must be in the same IP sub-
net.
Place the management station for the ServerIron on a different sub-net than the one that contains the web
site (HTTP application) whose health you are checking. If the web site and the management station are on
the same sub-net, the ip dont-advertise command (see "CLI Syntax" on page 26-5) will prevent you from
reaching the ServerIron through the management station.
You cannot use the same Layer 3 Switch port for OSPF and for the globally-distributed SLB. If the port
already contains configuration information for one of these features, you cannot configure the other feature
unless you first remove the configuration information for the first feature.

CLI Syntax

Use the following commands to configure the health check parameters on the Layer 3 Switch.
Global CONFIG Level
Use the following command at the global CONFIG level to identify the VIP that has the HTTP port the Layer 3
Switch is checking.
Syntax: server real <name> <vip>
The <name> parameter identifies the ServerIron, third-party SLB, or real server. This value does not need to
match a value on the ServerIron, third-party SLB, or real server. The value simply identifies the ServerIron, third-
party SLB, or real server uniquely on the Layer 3 Switch.
The <vip> parameter is the IP address of the web site. If the web server is directly attached to the Layer 3 Switch,
this is the IP address of the web server. If the web server is attached to a ServerIron or third-party SLB, the VIP is
the virtual IP address configured on the ServerIron or third-party or SLB for the web site.
Use the following commands to change the interval and retry values for the HTTP health check. When you press
Enter after the first command, the CLI changes to the TPC/UDP port configuration level for port 80.
Syntax: server port 80
Syntax: tcp keepalive <interval> <retries>
The <interval> parameter specifies the number of seconds between health checks sent by the Layer 3 Switch.
You can specify a number from 2 – 60 seconds. The default is 5 seconds.
The <retries> parameter specifies how many times the Layer 3 Switch will resend a health check if the web site
does not respond. You can specify from 1 – 5 retries. The default is 2.
Real Server Level
After you enter the server real... command shown above, the CLI changes to the Real Server level.
The following command enables the HTTP health check for the web site. The health check is disabled by default.
Syntax: port http keepalive
December 2000
Route Health Injection
26 - 5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents