redirect-acl
Function
The redirect-acl command configures the ACL used for redirection in a service scheme.
The undo redirect-acl command deletes the ACL used for redirection in a service scheme.
By default, no ACL for redirection is configured in the service scheme.
Parameters
Parameter | Description | Value |
---|---|---|
acl-number | Specifies the number of the ACL used for redirection. |
The value ranges from 3000 to 3031, and it must exist. |
name acl-name | Specifies the name of the ACL used for redirection. |
The ACL name must exist. The length ranges from 1 to 32. |
Usage Guidelines
Usage Scenario
In some authentication scenarios, after users succeed in authentication, the administrator needs to redirect HTTP/HTTPS traffic matching ACL permit rules to the Portal authentication page where users are authenticated again.
Precautions
Before running this command, you are advised to run the acl (system view) or acl name command to create an ACL.
If the ACL is not created before and after this command is run, the redirection ACL will fail to be delivered.
To redirect HTTPS traffic, run the portal https-redirect enable command to configure the HTTPS redirection function.