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 VLAN list, in the format of { vlan-id1 [ to vlan-id2 ] }&<1-10>, where the vlan-id and vlan-id2 arguments represent the VLAN IDs, in the range of 1 to 4094. The value for vlan-id2 must be greater than that for vlan-id. &<1-10> indicates that you can specify up to 10 VLAN or VLAN ranges.

Usage guidelines

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 is not 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