Route Health Injection
Interface Level
The following commands configure an IP
The ip dont_advertise command configures the routing switch to block advertisement of the host route for the interface. If you do not block the network route, the routing switch will still advertise a network 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 routing switch advertises only a host route to the IP address. Thus, if the web site fails the HTTP health check, the routing 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
Or
Syntax: ip address
Syntax: ip dont_advertise
Or
Syntax: ip dont_advertise
Configuring the HTTP Health Check on the Routing Switch
To configure a routing switch 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 routing switch.
•Enable the HTTP keepalive (health check).
•Optionally modify the
•Optionally modify
•Configure the port that connects the routing switch to the HTTP application (SLB or real server) to not advertise the network route for the IP
For example, to configure routing switches for the configuration shown in Figure 17.1, enter the following CLI commands.
CLI Commands for
To configure the health check on
Syntax: server real <name>
Syntax: port http keepalive
Syntax: ip dont_advertise
Or
Syntax: ip dont_advertise
17 - 5