inS_cngE5mS_rEv–
02/19/13 PagE 87
INSTALLATION AND OPERATION MANUAL
CNGE5MS
Tech SupporT: 1.888.678.9427
Commands Set List—VLAN command set
CNGE5MS 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 aggregator
[TrunkID]
access-link untag
[UntaggedVID]
V
Assign a 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
VLAN 8021q aggregator
[PortNumber]
hybrid-link untag
[UntaggedVID]
tag
[TaggedVID List]
V
Assign a hybrid link for VLAN by
trunk group
switch(VLAN)# VLAN 8021q
aggregator 3 hybrid-link untag 4
tag 3,6,8
or
switch(VLAN)# VLAN 8021q
aggregator 3 hybrid-link untag 5
tag 6-8
show VLAN [VID]
or
show VLAN
V
Show VLAN information
switch(VLAN)#show VLAN 23