Field
Route Interface
IP Address
Subnet Mask
Description
Name
Tagged Ports
Untagged Ports
Related commands
•
supervlan
•
subvlan
subvlan
Use subvlan to associate the super VLAN with sub-VLANs specified by vlan-list.
Use undo subvlan to remove the association.
Syntax
subvlan vlan-list
undo subvlan [ vlan-list ]
Views
VLAN view
Default command level
2: System level
Parameters
vlan-list: Specifies a sub-VLAN list, in the format of vlan-list = { vlan-id1 [ to vlan-id2 ] }&<1-10>,
where vlan-id represents the sub-VLAN ID in the range of 1 to 4094 and &<1-10> indicates that you
can specify up to 10 sub-VLAN IDs or sub-VLAN ID ranges.
Usage guidelines
Verify that the sub-VLANs already exist before associating them with a super VLAN.
You can add/remove a port to/from a sub-VLAN already associated with a super VLAN.
If you use the undo subvlan command without vlan-list specified, you will remove the association
between the specified super VLAN and all its sub-VLANs.
If you use the undo subvlan command with vlan-list specified, you will remove only the association
between the super VLAN and the sub-VLANs specified by vlan-list.
Examples
# Associate VLAN 10 (the super VLAN) with VLAN 3, VLAN 4, VLAN 5, and VLAN 9 (the
sub-VLANs).
<Sysname> system-view
[Sysname] vlan 10
Description
Indicates whether a VLAN-interface is configured or not for the sub-VLAN or
super VLAN.
IP address of the VLAN-interface configured for the sub-VLAN or super
VLAN.
Subnet mask of the VLAN-interface configured for the sub-VLAN or super
VLAN.
VLAN description.
VLAN name.
Ports through which VLAN packets are sent tagged.
Ports through which VLAN packets are sent untagged.
38