beautypg.com

AirLive SNMP-GSH2402 User Manual

Page 235

background image

231



set mode

Syntax:
set mode [up-link]
Description:
To switch VLAN mode, including disable, port-based, tag-based, metro and double-
tag modes.
Argument:
: vlan disable
: set tag-based vlan
: set port-based vlan
: set metro mode vlan
: enable Q-in-Q function
: syntax 1,5-7, available from 23 to 24, only for metro mode vlan
Possible value:
: disable,port,tag,metro,double-tag
[up-link]: 23 or 24 or “23,24”
Example:
SNMP-GSH2402(vlan)# set mode port


set port-group

Syntax:
set port-group
Description:
To add or edit a port-based VLAN group.
Argument:
: port-vlan name
: syntax 1,5-7, available from 1 to 24
Possible value:
: 1 to 24
Example:
SNMP-GSH2402(vlan)# set port-group VLAN-1 2-5,6,15-13