HTTP Redirect Service Configuration
The configuration hierarchy for the HTTP Redirect service is illustrated in the diagram.

Service Profile Configuration
Syntax:
Attribute | Description |
---|---|
|
Service profile name. |
|
HTTP redirect service configuration. |
|
HTTP redirect target URL. |
|
Subscriber ACL (filter) configuration. |
|
IPv4 upstream ACL (ingress from subscriber). |
|
IPv4 downstream ACL (egress to subscriber). |
|
IPv6 upstream ACL (ingress from subscriber). |
|
IPv6 downstream ACL (egress to subscriber). |
Example:
The following configuration specifies the HTTP redirect URL as: https://www.rtbrick.com. It associates the subscriber ACL with the profile. The ACL named 'redirect-acl-in' will determine which traffic is matched and redirected.
set access service-profile HTTP set access service-profile HTTP http-redirect url https://www.rtbrick.com set access service-profile HTTP acl ipv4-acl-in redirect-acl-in
The following example shows the HTTP redirect URL for the service profile.
supervisor@router: cfg> show config access service-profile HTTP { "rtbrick-config:service-profile": [ { "profile-name": "HTTP", "http-redirect": { "url": "https://www.rtbrick.com" }, "acl": { "ipv4-acl-in": "redirect-acl-in" } } ] }