Você está na página 1de 9

HUAWEI QUIDWAY S5700 HOW-TO www.ipmax.

it
CONFIGURING VLAN AGGREGATION
GENERAL INFOS AND APPLICATION
ENVIRONMENT
Vlan aggregation is a feature that prevents the
waste of IP addresses and implements inter-vlan
VLAN7 VLAN5
communication in enterprise network environment.
Using vlan aggregation, you need to configure IP VLAN10
address only in super-vlan interface, without having VLANIF:100.1.1.1/24
to assign IP addresses for each of the sub-vlans: all
sub-vlans share the same IP network-segment. PC1 PC2 PC3 PC4
In our example we will assume a simple
configuration scenario: on an enterprise network, we
have different departments belonging to different VLAN7 VLAN5
vlans; employees in different departments need to Department A Department B
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 PCs IP addresses
are in the same IP network segment and are shown PC1 IP address: 100.1.1.2/24
in the table. PC2 IP address: 100.1.1.3/24
PC3 IP address: 100.1.1.4/24
PC4 IP address: 100.1.1.5/24
ADDING INTERFACES OF THE SWITCH TO
SUB-VLANS (1) Enter the configuration view
1. Set the interface type
<Huawei> system-view Enter the port view
[Huawei] interface gigabitethernet 0/0/1
Configure the port type
[Huawei-GigabitEthernet0/0/1] port link-type access

[Huawei-GigabitEthernet0/0/1] quit
Exit the port view
[Huawei] interface gigabitethernet 0/0/2

[Huawei-GigabitEthernet0/0/2] port link-type access [Huawei] interface gigabitethernet 0/0/3

[Huawei-GigabitEthernet0/0/2] quit [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]
ADDING INTERFACES OF THE SWITCH TO
SUB-VLANS (2)
2. Configure vlan 7 and vlan 5

Create and enter the vlan view


[Huawei] vlan 7
Add physical ports to vlan
[Huawei-vlan7] port GigabitEthernet 0/0/1 0/0/2
[Huawei-vlan7] quit
Exit the vlan view
[Huawei] vlan 5
[Huawei-vlan5] port GigabitEthernet 0/0/3 0/0/4
[Huawei-vlan5] quit
[Huawei]
ADDING THE SUB-VLANS TO A SUPER-
VLAN
3. Configure the super-vlan

Enter the vlan view

[Huawei] vlan 10 Configure the vlan as a super-vlan

[Huawei-vlan10] aggregate-vlan
Add the sub-vlans to the super-vlan
[Huawei-vlan10] access-vlan 5 7
[Huawei-vlan10] quit Exit the vlan view
CONFIGURING THE IP-ADDRESS FOR THE
SUPER-VLAN
4. Configure the vlanif interface for the super-vlan

Enter the vlanif view


[Huawei] interface vlanif 10
[Huawei-Vlanif10] ip address 100.1.1.1 24 Configure the ip address for the vlanif

[Huawei-Vlanif10] quit Exit the vlanif view


[Huawei]
CONFIGURING PROXY ARP FOR THE
SUPER-VLAN
5. Configure proxy arp
Enter the vlanif view
[Huawei] interface vlanif 10
[Huawei-Vlanif10] arp-proxy inter-sub-vlan-proxy enable Enable the proxy arp

[Huawei-Vlanif10] quit Exit the vlanif view


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
MORE NEEDS?
See hints on www.ipmax.it
Or email us your questions to info_ipmax@ipmax.it
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

Você também pode gostar