Command Manual - VLAN
Quidway S6500 Series Ethernet Switches
Chapter 3 Super VLAN Configuration Commands
Huawei Technologies Proprietary
3-3
3.1.2 subvlan
Syntax
subvlan vlan-list
undo subvlan
[
vlan-list
]
View
VLAN view
Parameter
vlan-list: vlan-list
= {
vlan-id1
[
to
vlan-id2
] } &<1-10> is the VLAN range joined by the
trunk port. It can be discrete. The vlan-id ranges from 1 to 4094. &<1-10> indicates that
the former parameter can be input 10 times repeatedly at most.
Description
Using
subvlan
commmand, you can establish the mapping relationship between sub
VLAN and super VLAN. Using
undo
subvlan
commmand, you can cancel the mapping
relationship between sub VLAN and super VLAN.
Note that:
z
The sub VLAN must exist before you creat mapping between the sub VLAN and
the super VLAN.
z
After creating mapping between the sub VLAN and the super VLAN, you can still
add (or delete) Ethernet ports to (from) the sub VLAN.
z
When using the undo subvlan command without parameter, you can remove the
mapping between the specific super VLAN and all sub VLANs associated to it. If
choosing the parameter, you can remove the mapping between the specific super
VLAN and the specific sub VLAN.
For the related commands, see
display supervlan
.
Example
# Establish the mapping relationship between sub VLAN 3, 4, 5, 9 and super VLAN 10.
[Quidway] vlan 10
[Quidway-vlan10] supervlan
[Quidway-vlan10] subvlan 3 to 5 9
3.1.3 supervlan
Syntax
supervlan
undo supervlan