< Home

user-vlan (service scheme view)

Function

The user-vlan command configures a user VLAN in a service scheme.

The undo user-vlan command deletes the user VLAN configured in the service scheme.

By default, no user VLAN is configured in the service scheme.

Format

user-vlan vlan-id

undo user-vlan

Parameters

Parameter

Description

Value

vlan-id

Specifies the VLAN ID.

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

Views

Service scheme view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

After creating a service scheme using the service-scheme command, you can run the vlan command to configure a user VLAN in the service scheme. The user assigned with the service scheme will be added to the user VLAN and obtain network resources in the VLAN.

Precautions

An authorized VLAN cannot be delivered to online Portal users.

This command does not take effect for users who are already online.

If the user access mode is not multi-share, to make the user-vlan command take effect, you must configure the link type of access switches' interfaces connected to users to hybrid. 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

# Configure user VLAN 100 in the service scheme huawei.

<HUAWEI> system-view
[HUAWEI] aaa
[HUAWEI-aaa] service-scheme huawei
[HUAWEI-aaa-service-huawei] user-vlan 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >