http-redirect-profile

Function

The http-redirect-profile command run in the system view creates an HTTP redirection template or displays the HTTP redirection template view.

The undo http-redirect-profile command deletes an HTTP redirection template.

By default, no HTTP redirection template is configured.

This command is supported only on the NetEngine 8000 F1A.

Format

http-redirect-profile redirect-profile-name

undo http-redirect-profile redirect-profile-name

Parameters

Parameter Description Value
redirect-profile-name

Specifies the name of an HTTP redirection template.

The value is a string of 1 to 31 characters.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vas write

Usage Guidelines

Usage Scenario

After a device uses up service quotas, it references an HTTP redirection template containing HTTP redirection parameters to redirect services using HTTP. To configure an HTTP redirection template, run the http-redirect-profile command.

Configuration Impact

If no HTTP redirection template is configured, running the http-redirect-profile command creates one. If an HTTP redirection template is configured, running the http-redirect-profile command displays the HTTP redirection template view.

Precautions

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

Example

# Create an HTTP redirection template named test.
<HUAWEI> system-view
[~HUAWEI] http-redirect-profile test
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >