< Home

user-vlan (user group view)

Function

The user-vlan command configures a user group VLAN.

The undo user-vlan restores the default setting.

By default, no user group VLAN is configured.

Format

user-vlan vlan-id

undo user-vlan

Parameters

Parameter

Description

Value

vlan-id

Specifies the ID of a user group VLAN.

The value is an integer that ranges from 1 to 4094.

Views

User group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After a user group is created using the user-group command, you can run the user-vlan command to configure a user group VLAN, so that users in different user groups have different network access permissions. When a user in a user group goes online, the user is added to the user group VLAN to obtain the network access permission of this user group.

Prerequisites

The user group VLAN has been created using the vlan command.

Precautions

  • An authorized VLAN cannot be delivered to online Portal users.

  • The user-vlan command does not take effect for the users who are already online.

  • Access switches will send untagged frames to users in the user VLAN even when interfaces connected users are added to this user VLAN in tagged mode.

Example

# Set the VLAN of the user group abc to 10.

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