l IP address 10.10.10.1 and mask 255.255.255.0 of the VLANIF interface corresponding to
the super-VLAN
Procedure
Step 1 Create and configure the super-VLAN and sub-VLANs.
# Create sub-VLAN 2.
<Huawei> system-view
[Huawei] sysname Router
[Router] vlan 2
[Router-vlan2] quit
# Add Ethernet0/0/0 and Ethernet0/0/1 to sub-VLAN 2.
[Router] interface ethernet 0/0/0
[Router-Ethernet0/0/0] port link-type access
[Router-Ethernet0/0/0] port default vlan 2
[Router-Ethernet0/0/0] quit
[Router] interface ethernet 0/0/1
[Router-Ethernet0/0/1] port link-type access
[Router-Ethernet0/0/1] port default vlan 2
[Router-Ethernet0/0/1] quit
# Create sub-VLAN 3.
[Router] vlan 3
[Router-vlan3] quit
# Add Ethernet0/0/2 and Ethernet0/0/3 to sub-VLAN 3.
[Router] interface ethernet 0/0/2
[Router-Ethernet0/0/2] port link-type access
[Router-Ethernet0/0/2] port default vlan 3
[Router-Ethernet0/0/2] quit
[Router] interface ethernet 0/0/3
[Router-Ethernet0/0/3] port link-type access
[Router-Ethernet0/0/3] port default vlan 3
[Router-Ethernet0/0/3] quit
# Create super-VLAN 4 and add sub-VLAN 2 and sub-VLAN 3 to super-VLAN 4.
[Router] vlan 4
[Router-vlan4] aggregate-vlan
[Router-vlan4] access-vlan 2
[Router-vlan4] access-vlan 3
[Router-vlan4] quit
Step 2 Create and configure VLANIF 4.
# Create VLANIF 4.
[Router] interface vlanif 4
# Configure an IP address for VLANIF 4.
[Router-Vlanif4] ip address 10.10.10.1 24
Step 3 Enable inter-VLAN proxy ARP on VLANIF 4.
[Router-Vlanif4] arp-proxy inter-sub-vlan-proxy enable
[Router-Vlanif4] quit
Step 4 Verify the configuration.
# Run the display current-configuration command, and you can view the configuration of the
super-VLAN, sub-VLANs, and VLANIF interface.
# Run the display arp command, and you can view all the ARP entries.
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service 1 ARP Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
33