User Manual
Publication date: May, 2005
Revision A1
177
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 11 to 12, only for metro mode vlan
Possible value:
<disable|port|tag|metro|double-tag>: disable,port,tag,metro,double-tag
[up-link]: 11 or 12 or “11,12”
Example:
GSW-1291(vlan)# set mode metro 11-12
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 12
# :0,1
Example:
GSW-1291(vlan)# set tag-group 2 VLAN-2 2-5,6,15-13 0