> - Downloads
> - Configuring a Redundant Redirect Server (SRC CLI)
> - Related Topics
> - Configuring the Redirect Server (SRC CLI)
> - Configuring the Virtual IP Address (SRC CLI)
> - Configuring a Redundant Redirect Server (C-Web Interface)
> - Overview of Traffic Redirection
> - Redirect Server Redundancy

> # Configuring a Redundant Redirect Server (SRC CLI)

> Although configuration of a redundant redirect server is optional, we recommend that you configure redundancy to maintain high availability for the server.

> Before you configure the redirect server, review configuration prerequisites. See Before You Configure Redundancy for a Redirect Server.

> Use the following configuration statements to configure redundancy for the redirect server:

> `
> redirect-server {
>   redundancy;
> }
> redirect-server monitor {
>   redundant-host-ip-address redundant-host-ip-address;
>   virtual-ip-address virtual-ip-address;
>   real-ip-address real-ip-address;
>   primary-server;
>   check-interval check-interval;
>   virtual-routers virtual-routers;
> }
> `

> To configure redundancy for the redirect server:

> 1. From configuration mode, access the configuration statement that configures the redirect server.
>    `
>    user@host# edit redirect-server
>    `
> 2. Enable redundancy for the redirect server.
>    `
>    [edit redirect-server]
>    user@host# set redundancy
>    `
> 3. Configure redundancy properties for the redirect server.
>    `
>    [edit redirect-server]
>    user@host# edit redirect-server monitor
>    `
> 4. Configure the IP address or hostname of the redundant redirect server.
>    `
>    [edit redirect-server]
>    user@host# set redundant-host-ip-address redundant-host-ip-address
>    `
> 5. Configure the virtual IP address of the redirect server.
>    `
>    [edit redirect-server]
>    user@host# set virtual-ip-address virtual-ip-address
>    `
> 6. Configure the real IP address of the redirect server.
>    `
>    [edit redirect-server]
>    user@host# set real-ip-address real-ip-address
>    `

>    When a primary redirect server is started, it dynamically establishes and maintains a static route on the client router to which it connects. The static route directs traffic destined for the virtual IP address of the server to the real IP address of the active redirect server.

> 7. (Optional) Set the system on which you enter the command as the primary redirect server.
>    `
>    [edit redirect-server]
>    user@host# set primary-server
>    `
> 8. (Optional) Set the interval at which the redirect server polls the redundant redirect server.
>    `
>    [edit redirect-server]
>    user@host# set check-interval check-interval
>    `

>    A shorter time in the range leads to faster detection of problems and results in higher consumption of CPU resources.

> 9. List of virtual routers to which the redirect server connects.
>    `
>    [edit redirect-server]
>    user@host# set virtual-routers vrName@routerName, vrName@routerName ...
>    `

> #### Published: 2009-09-13

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.