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.
Parameter |
Description |
Value |
---|---|---|
vlan-id |
Specifies the VLAN ID. |
The value is an integer that ranges from 1 to 4094. |
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.