< Home

web-proxy link-resource

Function

The web-proxy link-resource command adds the Web proxy resource.

The undo web-proxy link-resource command deletes the Web proxy resource.

Format

web-proxy link-resource resource-alias resource-url { show-link | hide-link }

undo web-proxy link-resource resource-alias

Parameters

Parameter Description Value

resource-alias

Specifies the resource alias.

The value is a string of 1 to 63 case-sensitive characters.

NOTE:

In dual-system hot backup networking, "%" cannot be included.

resource-url

Specifies the URL of the resource, and supports http:// and https://.

The value is a string of 1 to 127 case-insensitive characters. For example, http://www.example.com and https://www.example.com.

The domain name is a text string drawn from the alphabet (A-Z), digits (0-9), minus sign (-), period (.) and underscores (_).

show-link

Displays the website link. If the Web resource to be added is a portal website, it is recommended that you run the show-link command to display the website link.

-

hide-link

Hides the website link. If the Web resource to be added needs to hide the page link, it is recommended that you run the hide-link command to hide the Website link.

-

Views

Function service view

Default Level

2: Configuration level

Usage Guidelines

When the Web proxy function is enabled, you can access the corresponding Web proxy resource after the related control is installed on the virtual gateway client.

Example

# Add the Web proxy resource.

<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] service
[sysname-gateway-service] web-proxy link-resource example http://www.example.com show-link
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >