< Home

role home-page

Function

The role home-page command sets the redirect page for a role.

The undo role home-page command cancels the redirect page for a role.

Format

role role-name home-page terminal-type pc home-page

undo role role-name home-page terminal-type pc

Parameters

Parameter Description Value
role-name Specifies the role name. The value must be an existing role name.
home-page Specifies the URL of the redirect page. The value is a string of 1 to 127 case-insensitive characters.

Views

Role view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Associate role role1 with home-page www.example.com.

<sysname> system-view
[sysname] v-gateway abc
[sysname-abc] role
[sysname-abc-role] role role1 home-page terminal-type pc www.example.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >