set mode
Syntax:
set mode <disableporttagmetrodouble-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:
<disableporttagmetrodouble-tag>: disable,port,tag,metro,double-tag
[up-link]: 23 or 24 or “23,24”
Example:
GSW-2496(vlan)# set mode port
set port-group
Syntax:
set port-group <name> <range>
Description:
To add or edit a port-based VLAN group.
Argument:
<name>: port-vlan name
<range>: syntax 1,5-7, available from 1 to 24
Possible value:
<range>: 1 to 24
Example:
GSW-2496(vlan)# set port-group VLAN-1 2-5,6,15-13
226