The url command configures the redirection URL or pushed URL.
The undo url command cancels the redirection URL or pushed URL.
By default, no redirection URL or pushed URL is configured.
url [ ssid ssid ] [ push-only | redirect-only ] url-string
undo [ ssid ssid ] [ push-only | redirect-only ] url
Parameter |
Description |
Value |
|---|---|---|
| url-string | Specifies the redirection URL of the Portal server or pushed URL. |
It is a string of 1 to 200 case-sensitive characters without spaces. |
| ssid ssid | Specifies the SSID that users associate with. |
It is a string of 1 to 32 case-sensitive characters without spaces. |
| push-only | Specifies the URL as a pushed URL. |
- |
| redirect-only | Specifies the URL as a redirection URL. |
- |
Usage Scenario
After a URL template is created using the url-template name command, you can run this command to configure the redirection URL or pushed URL. The difference between redirection URL and pushed URL is as follows:
Precautions
If the push-only and redirect-only parameters are not specified, the configured URL is used as both redirection URL and pushed URL. You can configure pushed URL using the force-push command, or use the url-template (Portal server template view) command to bind a URL template to the Portal server template to configure redirection URL.