inS_cnge8MS_reV–
09/17/12 Page 81
INSTALLATION AND OPERATION MANUAL
CNGE8MS
Tech SupporT: 1.888.678.9427
Commands Set List—VLAN command set
CNGE8MS
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 an access link for VLAN by port, if the
port belongs to a trunk group, this command
cannot 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 belongs to a trunk group, this command
cannot 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
cannot 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
aggregator
[TrunkID]
access-link untag
[UntaggedVID]
V
Assign an access link for VLAN by trunk group switch(vlan)#vlan 8021q
aggregator 3 access-link
untag 33
vlan 8021q
aggregator
[TrunkID]
trunk-link tag
[TaggedVID List]
V
Assign a trunk link for VLAN by trunk group
switch(vlan)#vlan 8021q
aggregator 3 trunk-link tag
2,3,6,99
or
switch(vlan)#vlan 8021q
aggregator 3 trunk-link tag
3-20