RES-P3242GCL SERIES User’s Manual
79
5.5 Commands Set List—VLAN command set
Commands
Level
Description
Example
vlan database
P
Enter VLAN configure
mode
switch#vlan database
vlan
[8021q | gvrp]
V
To set switch VLAN
mode.
switch(vlan)# vlanmode 8021q
or
switch(vlan)# vlanmode gvrp
no vlan
[VID]
V
Disable vlan group(by
VID)
switch(vlan)#no vlan 2
no gvrp
V
Disable GVRP
switch(vlan)#no gvrp
IEEE 802.1Q VLAN
vlan 8021q port
[PortNumber]
access-link untag
[UntaggedVID]
V
Assign a access link
for VLAN by port, if the
port belong to a trunk
group, this command
can’t be applied.
switch(vlan)#vlan 8021q port 3
access-link untag 33
vlan 8021q port
[PortNumber]
trunk-link tag
[TaggedVID List]
V
Assign a trunk link for
VLAN by port, if the
port belong to a trunk
group, this command
can’t be applied.
switch(vlan)#vlan 8021q port 3
trunk-link tag 2,3,6,99
or
switch(vlan)#vlan 8021q port 3
trunk-link tag 3-20
vlan 8021q port
[PortNumber]
hybrid-link untag
[UntaggedVID]
tag
[TaggedVID List]
V
Assign a hybrid link for
VLAN by port, if the
port belong to a trunk
group, this command
can’t be applied.
switch(vlan)# vlan 8021q port 3
hybrid-link untag 4 tag 3,6,8
or
switch(vlan)# vlan 8021q port 3
hybrid-link untag 5 tag 6-8
vlan 8021q aggreator
[TrunkID]
access-link untag
[UntaggedVID]
V
Assign a access link
for VLAN by trunk
group
switch(vlan)#vlan 8021q aggreator 3
access-link untag 33
vlan 8021q aggreator
[TrunkID]
trunk-link tag
[TaggedVID List]
V
Assign a trunk link for
VLAN by trunk group
switch(vlan)#vlan 8021q aggreator 3
trunk-link tag 2,3,6,99
or
switch(vlan)#vlan 8021q aggreator 3
trunk-link tag 3-20
vlan 8021q aggreator
V
Assign a hybrid link for switch(vlan)# vlan 8021q aggreator 3