Route Health Injection
December 2000
26 - 7
CLI Commands for NetIron N1
To configure the health check on NetIron N1, enter the following commands:
NetIron(config) server real S1 209.157.22.249
NetIron(config-rs-S1) port http keepalive
NetIron(config-rs-S1) interface ethernet 6
NetIron(config-if-6) ip address 209.157.22.1/24
NetIron(config-if-6) ip dont-advertise 209.157.22.1/24
NetIron(config-if-6) write memory
Syntax:
server real <name> <ip-addr>
Syntax:
port http keepalive
Syntax:
ip dont-advertise <ip-addr> <mask>
Or
Syntax:
ip dont-advertise <ip-addr>/<mask-bits>
The
server real
command in this example configures the NetIron to send an HTTP health check to the HTTP port
on IP address 209.157.22.249. When you press Enter after this command, the CLI changes to the Real Server
level of the CLI. This level allows you to configure health check parameters for the HTTP port on the IP address.
The
port http keepalive
command in this example is entered at the Real Server level and enables the HTTP
health check. The health check is disabled by default, so you must enter this command. You can enter additional
commands at this level to modify the health check parameters. These commands are shown in the examples for
BigIron B1 and NetIron N2.
The
ip address
command adds an IP interface for the connection to the IP address. This interface must be in the
same sub-net as the IP address.
NOTE:
To configure the ServerIron itself for multiple IP sub-nets, add IP addresses using the
source-ip
command. See the
Foundry ServerIron Installation and Configuration Guide
for information.
The
ip dont-advertise
command configures the Foundry Layer 3 Switch to block advertisement of the network
route for this IP sub-net address. This command ensures that the Layer 3 Switch advertises only the host route to
the IP address. If the Layer 3 Switch advertises the network route to the sub-net containing the IP address, then
even if the Layer 3 Switch removes the host route from its routing table, it will still advertise the network route to
the IP address (and thus to the web server), defeating the failover capability of globally-distributed SLB.
CLI Commands for BigIron B1
The following commands configure BigIron B1 for the configuration shown in Figure 2.
BigIron(config) server real S2 209.157.22.249
BigIron(config-rs-S2) port http keepalive
BigIron(config-rs-S2) port http url "/sales.html"
BigIron(config-rs-S2) port http status_code 200 205
BigIron(config-rs-S2) interface ethernet 1/3
BigIron(config-if-1/3) ip address 209.157.22.2/24
BigIron(config-if-1/3) ip dont-advertise 209.157.22.2/24
BigIron(config-if-1/3) write memory
Syntax:
port http url “[GET | HEAD] [/]<URL-page-name>”
Syntax:
port http status_code <range> [<range>[<range>[<range>]]]
The
port http url
command changes the URL that the Layer 3 Switch sends as part of the health check. By
default, the Layer 3 Switch sends an HTTP HEAD request for the default page (“1.0”). If you enter a URL, the
health check instead requests that URL. The slash ( / ) is an optional parameter. If you do not set the GET or
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...