Configuring General Properties for the Redirect Server (SRC CLI)
Use the following configuration statements to configure general properties for the redirect server:
To configure properties for the redirect server:
- From configuration mode, access the configuration statement
that configures the redirect server.user@host# edit redirect-server
- Specify the URL to which to send subscriber traffic.[edit redirect-server]user@host# set destination-url destination-url
- (Optional) Specify the TCP port on which the redirect
server runs. If you do not specify a TCP port, the redirect server
runs on the port 8800.[edit redirect-server]user@host# set tcp-port tcp-port
- (Optional) Specify whether the redirect server sends an
HTTP 200 OK response with an HTML document that includes the <HTTP-Equiv="Refresh">
header to a subscriber’s browser in response to a captured request.[edit redirect-server]user@host# set refresh
If you do not use the refresh option, the redirect server sends an HTTP 302 Found response to a subscriber’s browser in response to a captured request.
By setting the refresh option, the load on the Web server is decreased because non-browser (or non-HTML) client applications that use HTTP do not follow this refresh message; however, most client applications do follow HTTP 302 messages.
To configure IPv6 general properties for the redirect server:
- From configuration mode, access the configuration statement
that configures the IPv6 general properties for the redirect server.user@host# edit redirect-server ipv6-redirect
- (Optional) Specify the TCP port on which the redirect
server runs. If you do not specify a TCP port, the redirect server
runs on the port 8900.[edit redirect-server ipv6-redirect]user@host# set tcp-port tcp-port