< Home

user-group enable

Function

The user-group enable command enables the user group function.

The undo user-group enable command disables the user group function.

By default, the user group function is disabled.

Format

user-group group-name enable

undo user-group group-name enable

Parameters

Parameter Description Value

group-name

Specifies the name of a user group.

The value is a string of 1 to 64 case-sensitive characters without spaces.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a user group has been created using the user-group command, run the user-group enable command to enable the user group function.

Precautions

After the user group function is enabled, the binding relationship between a user group and an ACL cannot be modified.

If the user group function is not enabled, users going online through Layer 2 interfaces can access the network without restriction, while users going online through VLANIF interfaces are not allowed to access the network.

Example

# Enable the user group huawei.

<HUAWEI> system-view
[HUAWEI] user-group huawei enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >