Foundry Networks Switch and Router Installation And Configuration Manual page 992

Switch and router
Table of Contents

Advertisement

Foundry Switch and Router Installation and Configuration Guide
HEAD parameter, and the slash is not in the configured URL page, then the Layer 3 Switch automatically inserts a
slash before retrieving the URL page.
In addition to specifying another URL, you can change the method to GET. Changing the method does not affect
the health check from the Layer 3 Switch 's standpoint. You can use either method.
The port http status_code command in this example changes the range of HTTP status codes the Layer 3
Switch accepts as normal (healthy) replies to a health check.
CLI Commands for NetIron N2
The following commands configure NetIron N2 for the configuration shown in Figure 26.1. This example includes
the commands for modifying the HTTP health check interval and retry values.
NetIron(config) server port 80
NetIron(config-port-80) tcp keepalive 10 3
NetIron(config-port-80) server real S3 209.157.22.249
NetIron(config-rs-S2) port http keepalive
NetIron(config-rs-S2) port http url "/marketing.html"
NetIron(config-rs-S2) interface ethernet 9
NetIron(config-if-9) ip address 209.157.22.3/24
NetIron(config-if-9) ip dont-advertise 209.157.22.3/24
NetIron(config-if-9) write memory
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.
Displaying Server and Application Port Information
You can use the CLI to display the following types of information:
Server (virtual IP address) information
Application port information
Displaying Server Information
To display information about the server virtual IP addresses (VIPs) you have configured, enter a command such
as the following at any level of the CLI:
BigIron# show server real RS2
Real Servers Info
Server State - 1:enabled, 2:failed, 3:test, 4:suspect, 5:grace_dn, 6:active
Name:RS2
Syntax: show server real <name>
This display shows the following information.
This Field...
Server State
26 - 8
IP:
209.157.23.60:4
Table 26.1: Real Server Information
Displays...
The possible values for the server state. The state of each real server
is shown by the State field. See below.
State:1
December 2000

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents