url-template (Portal server template view)

Function

The url-template command binds a URL template to a Portal server template.

The undo url-template command unbinds a URL template from a Portal server template.

By default, no URL template is bound to a Portal server template.

Format

url-template url-template

undo url-template

Parameters

Parameter

Description

Value

url-template

Specifies the name of a URL template.

The value is a string of 1 to 31 case-sensitive characters. It cannot contain spaces or the following symbols: / \ : * ? " < > | @ ' %. The value cannot be - or --.

Views

Portal server template view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the parameters of a URL template are configured, the URL template must be bound to a Portal authentication server template so that users can be authenticated on the Portal authentication server corresponding to the redirection URL.

Precautions

If a URL template is bound to the Portal authentication server template and the url (Portal server template view) command is executed to configure the redirection URL corresponding to the Portal authentication server, only the parameters in the URL template take effect.

Example

# Bind the URL template abc to the Portal authentication server template.

<HUAWEI> system-view
[HUAWEI] web-auth-server huawei
[HUAWEI-web-auth-server-huawei] url-template abc
Related Topics
url

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.