< Home

radius-attribute cut hw-portal-url

Function

The radius-attribute cut hw-portal-url command deletes the specified content from the URL contained in the Huawei RADIUS attribute 26-156 (HW-Portal-URL).

The undo radius-attribute cut hw-portal-url command configures the device not to process the URL contained in the Huawei RADIUS attribute 26-156 (HW-Portal-URL).

By default, the device does not process the URL contained in the Huawei RADIUS attribute 26-156 (HW-Portal-URL).

Format

radius-attribute cut hw-portal-url key-words [ end mark ]

undo radius-attribute cut hw-portal-url

Parameters

Parameter Description Value

key-words

Specifies the start keyword of the content to be deleted.

The value is a string of 3 to 64 characters. It must start with an ampersand (&) and end with an equal sign (=). Spaces are not allowed.

end mark

Specifies the end character of the content to be deleted.

If no end character is configured, all the characters following key-words in the URL will be deleted.

Currently, the end character can only be an ampersand (&).

Views

RADIUS server template view

Default Level

3: Configuration level

Usage Guidelines

This command is used to perform special processing on the URL delivered by the RADIUS server using the Huawei RADIUS attribute 26-156 (HW-Portal-URL) to meet interconnection requirements. Generally, this command does not need to be configured.

Example

# Delete the character string &portal= and the content following &portal= from the URL contained in the Huawei RADIUS attribute 26-156 (HW-Portal-URL).

<HUAWEI> system-view
[HUAWEI] radius-server template test1
[HUAWEI-radius-test1] radius-attribute cut hw-portal-url &portal=

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >