web-server url (HTTP redirection profile view)

Function

The web-server url command configures the URL for redirecting in the HTTP-redirect-profile.

The undo web-server url command cancels the current configuration.

By default, no URL for redirecting in the HTTP-redirect-profile is configured.

This command is supported only on the NetEngine 8000 F1A.

Format

web-server url redirect-url

undo web-server url [ redirect-url ]

Parameters

Parameter Description Value
redirect-url

Specifies the URL address.

The value is a string ranging from 1 to 200.

Views

HTTP redirection profile view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vas write

Usage Guidelines

Usage Scenario

The HTTP-redirection function is often used when the quotas of user or service is exhausted. The user's HTTP application will be redirected to a certain page, usually for adding funds.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Create a HTTP-redirect-profile template named test and configure the redirection URL as http://www.huawei.com.
<HUAWEI> system-view
[~HUAWEI] http-redirect-profile test
[*HUAWEI-redirect-profile-test] web-server url http://www.huawei.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >