2. GENERAL INFOS AND APPLICATION
ENVIRONMENT
VLAN7
Department A
VLAN5
Department B
VLAN10
VLANIF:100.1.1.1/24
VLAN7 VLAN5
Vlan aggregation is a feature that prevents the
waste of IP addresses and implements inter-vlan
communication in enterprise network environment.
Using vlan aggregation, you need to configure IP
address only in super-vlan interface, without having
to assign IP addresses for each of the sub-vlans: all
sub-vlans share the same IP network-segment.
In our example we will assume a simple
configuration scenario: on an enterprise network, we
have different departments belonging to different
vlans; employees in different departments need to
communicate with ech other. As shown in the picture,
the super-vlan will be VLAN 10 and the sub-vlans
will be VLAN 5 and VLAN 7. The PC’s IP addresses
are in the same IP network segment and are shown
in the table.
PC1 PC2 PC3 PC4
PC1 IP address: 100.1.1.2/24
PC2 IP address: 100.1.1.3/24
PC3 IP address: 100.1.1.4/24
PC4 IP address: 100.1.1.5/24
3. ADDING INTERFACES OF THE SWITCH TO
SUB-VLANS (1)
1. Set the interface type
Enter the configuration view
Enter the port view
Configure the port type
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] port link-type access
[Huawei-GigabitEthernet0/0/1] quit
[Huawei] interface gigabitethernet 0/0/2
[Huawei-GigabitEthernet0/0/2] port link-type access
[Huawei-GigabitEthernet0/0/2] quit
[Huawei] interface gigabitethernet 0/0/3
[Huawei-GigabitEthernet0/0/3] port link-type access
[Huawei-GigabitEthernet0/0/3] quit
[Huawei] interface gigabitethernet 0/0/4
[Huawei-GigabitEthernet0/0/4] port link-type access
[Huawei-GigabitEthernet0/0/4] quit
[Huawei]
Exit the port view
4. ADDING INTERFACES OF THE SWITCH TO
SUB-VLANS (2)
[Huawei] vlan 7
[Huawei-vlan7] port GigabitEthernet 0/0/1 0/0/2
[Huawei-vlan7] quit
[Huawei] vlan 5
[Huawei-vlan5] port GigabitEthernet 0/0/3 0/0/4
[Huawei-vlan5] quit
[Huawei]
2. Configure vlan 7 and vlan 5
Create and enter the vlan view
Add physical ports to vlan
Exit the vlan view
5. ADDING THE SUB-VLANS TO A SUPER-
VLAN
3. Configure the super-vlan
[Huawei] vlan 10
[Huawei-vlan10] aggregate-vlan
[Huawei-vlan10] access-vlan 5 7
[Huawei-vlan10] quit
Enter the vlan view
Configure the vlan as a super-vlan
Add the sub-vlans to the super-vlan
Exit the vlan view
6. CONFIGURING THE IP-ADDRESS FOR THE
SUPER-VLAN
4. Configure the vlanif interface for the super-vlan
Enter the vlanif view
Configure the ip address for the vlanif
Exit the vlanif view
[Huawei] interface vlanif 10
[Huawei-Vlanif10] ip address 100.1.1.1 24
[Huawei-Vlanif10] quit
[Huawei]
7. CONFIGURING PROXY ARP FOR THE
SUPER-VLAN
[Huawei] interface vlanif 10
[Huawei-Vlanif10] arp-proxy inter-sub-vlan-proxy enable
[Huawei-Vlanif10] quit
5. Configure proxy arp
6. Verify the configuration (vlan 5 is reachable from vlan 7)
PC1> ping 100.1.1.4
Ping 100.1.1.4: 32 data bytes, Press Ctrl_C to break
From 100.1.1.4: bytes=32 seq=1 ttl=127 time=16 ms
From 100.1.1.4: bytes=32 seq=2 ttl=127 time<1 ms
From 100.1.1.4: bytes=32 seq=3 ttl=127 time<1 ms
From 100.1.1.4: bytes=32 seq=4 ttl=127 time<1 ms
From 100.1.1.4: bytes=32 seq=5 ttl=127 time=31 ms
--- 100.1.1.4 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 0/9/31 ms
Enter the vlanif view
Enable the proxy arp
Exit the vlanif view
8. MORE NEEDS?
See hints on www.ipmax.it
Or email us your questions to info_ipmax@ipmax.it
9. IPMAX
IPMAX is a Huawei Partner in Italy.
IPMAX is the ideal partner for companies seeking quality in products and services. IPMAX
guarantees method and professionalism to support its customers in selecting technologies with
the best quality / price ratio, in the design, installation, commissioning and operation.
IPMAX srl
Via Ponchielli, 4
20063 Cernusco sul Naviglio (MI) – Italy
+39 02 9290 9171