R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference

126
Related commands
subvlan
supervlan
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
[Sysname-vlan10] subvlan 3 to 5 9
Related commands
display supervlan
supervlan
Use supervlan to configure the VLAN as a super VLAN.
Use undo supervlan to remove the super VLAN configuration for the VLAN.
Syntax
supervlan