Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
vlan
vlan-id
A VLAN is created, and the VLAN view is displayed.
The VLAN ID of a super-VLAN must be different from every sub-VLAN ID.
Step 3
Run:
aggregate-vlan
A super-VLAN is created.
A super-VLAN cannot contain any physical interfaces.
VLAN 1 cannot be configured as a super-VLAN.
Step 4
Run:
access-vlan
{
vlan-id1
[
to
vlan-id2
] } &<1-10>
A sub-VLAN is added to a super-VLAN.
Before adding sub-VLANs to a super-VLAN, ensure that these sub-VLANs are not configured
with VLANIF interfaces.
----End
3.6.3.3 Assigning an IP Address to the VLANIF Interface of a Super-VLAN
Context
The IP address of the VLANIF interface of a super-VLAN must contain the subnet segments
where users in sub-VLANs reside. All the sub-VLANs use the IP address of the VLANIF
interface of the super-VLAN, saving IP addresses.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface vlanif
vlan-id
A VLANIF interface is created for a super-VLAN, and the view of the VLANIF interface is
displayed.
Step 3
Run:
ip address
ip-address
{
mask
|
mask-length
} [
sub
]
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
3 VLAN Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
100