vlan-list

Syntax

vlan-list vlan-list

undo vlan-list vlan-list

View

VLAN group view

Default level

2: System level

Parameters

vlan-list: Specifies a space-separated list of up to 10 VLAN ID items. Each item specifies a VLAN ID or a VLAN ID range in the form of vlan-id1 to vlan-id2.

Description

Use vlan-list to specify a list of VLANs.

Use undo vlan-list to remove the specified VLANs.

Repeat this command to add VLANs to a VLAN group.

You can specify a VLAN that has not been created. This VLAN is automatically created when it is selected for 802.1X users.

You can specify a VLAN to different VLAN groups.

Examples

# Specify VLANs 6, 7, and 8 for VLAN group test.

<Sysname> system-view
[Sysname] vlan-group test
[Sysname-vlan-group-test] vlan-list 6 7 8