redirection-url

Use the redirection-url command to configure a redirection URL from the command line. The redirection-url command is accessible from within the role: <named-role> context.

redirection-url id | redirection url

Parameters

id An index number that identifies the redirection URL in the database.
redirection url Identifies the redirection URL

Usage

Before configuring the redirection URL:
  • Enable policy rule-based redirection. See rule-redirect.
  • Create the redirection URL. See redirection-url-list.
  • Enable AC Filtering
  • Create a filter with the protocol = TCP and Access Control = Redirect.

Examples

You can specify a redirection URL by its sequence ID or by the actual URL. To display the list of possible redirection URLs associated with the role, type redirection-url.

Available Redirection URL:
0        Own WLAN
1        http://2.2.2.2
2        http://3.3.3.138
3        http://3.3.3.140
4        (ffecp) http://192.168.11.22:/logincode_m-f.php?hwc=10.12.0.1

When External Captive Portal URLs exist, they are automatically added to the list.

The following example specifies the redirection-url by sequence ID.

EWC.extremenetworks.com:role:role1#: redirection-url 1