user-group(user-group-list view)

Function

The user-group command adds a user group to a user group load balancing group.

The undo user-group command deletes a user group from a user group load balancing group.

By default, no user groups exist in a user group load balancing group.

This command is supported only on the NetEngine 8000 F1A.

Format

user-group group-name [ weight weight ]

undo user-group group-name [ weight weight ]

Parameters

Parameter Description Value
weight weight

Specifies a weight value.

The value is an integer ranging from 1 to 100. The default value is 1.

user-group group-name

Specifies the name of a user group.

The value is a string of 1 to 32 case-insensitive characters, spaces not supported.

Views

user-group-list view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
aaa-access write

Usage Guidelines

Usage Scenario

To distribute the traffic of users that go online through the same domain to different devices based on the user group weight, you need to configure a user group load balancing group, run the user-group command to add user groups (each with a weight) to the user group load balancing group, and run the access user-group-list (AAA domain view) command to bind the user group load balancing group to the domain.

Prerequisites

A user group load balancing group has been created and its view has been displayed using the access user-group-list (system view) command.

Precautions

A maximum of eight user groups can be added to a user group load balancing group.

A user group can be added to different user group load balancing groups.

Example

# Add the user group named test with a weight of 2 to the user group load balancing group named huawei.
<HUAWEI> system-view
[~HUAWEI] user-group test
[*HUAWEI] commit
[~HUAWEI] access user-group-list huawei
[*HUAWEI-user-group-list-huawei] commit
[~HUAWEI-user-group-list-huawei] user-group test weight 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >