< Home

url-template name

Function

The url-template name command creates a URL template or displays an existing URL template view.

The undo url-template name command deletes a URL template.

By default, no URL template exists on the device.

Format

url-template name template-name

undo url-template name template-name

Parameters

Parameter

Description

Value

template-name

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

System view

Default Level

2: Configuration level

Usage Guidelines

After a Portal authentication server template is created using the web-auth-server command, you can bind a URL template to the Portal authentication server template. The URL template contains the redirect URL and redirect URL parameters.

The url-template name command creates a URL template or displays an existing URL template view.

Example

# Create a URL template named huawei and enter the template view.

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