< Home

url (URL template view) (upgrade-compatible command)

Function

The url command configures the redirect URL or pushed URL.

The undo url command cancels the redirect URL or pushed URL.

By default, no redirect URL or pushed URL is configured.

Format

url [ ssid ssid ] [ push-only | redirect-only ] url-string

Parameters

Parameter

Description

Value

url-string

Specifies the redirect URL of the Portal server or pushed URL.

It is a string of 1 to 200 case-sensitive characters that do not contain spaces and question marks (?).

ssid ssid

Specifies the SSID that users associate with.

The SSID must already exist.

push-only

Specifies the URL as a pushed URL.

-

redirect-only

Specifies the URL as a redirect URL.

-

Views

URL template view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

Example

# Set the redirect URL to http://10.1.1.1.

<HUAWEI> system-view
[HUAWEI] url-template name huawei
[HUAWEI-url-template-huawei] url http://10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >