GS-2124C User Manual
Publication date: June, 2005
Revision A1
170
vlan
set mode
Syntax:
set mode <disable|port|tag|metro|double-tag> [up-link]
Description:
To switch VLAN mode, including disable, port-based, tag-based, metro and double-
tag modes.
Argument:
disable: vlan disable
tag: set tag-based vlan
port: set port-based vlan
metro: set metro mode vlan
double-tag: enable Q-in-Q function
up-link syntax: 1,5-7, available from 23 to 24, only for metro mode vlan
Possible value:
<disable|port|tag|metro|double-tag>: disable,port,tag,metro,double-tag
[up-link]: 23 or 24 or “23,24”
Example:
GS-2124C(vlan)# set mode metro 23-24
set tag-group
Syntax:
set tag-group <vid> <name> <range> <#>
Description:
To add or edit the tag-based vlan group.
Argument:
vid: vlan ID
name: vlan name
range: vlan group members, syntax: 1,5-7
#: sym/asym vlan setting. 1: symmetric vlan, 0: asymmetric vlan
Possible value:
vid: range from 1 to 4094
name: tag-vlan name
range: from 1 to 24
# :0,1
Example:
GS-2124C(vlan)# set tag-group 2 VLAN-2 2-5,6,15-13 0