本論文主要考慮多層大型的雲端資料中心(Cloud Data Center),為了使得我們的跨區域雲端資料中心具有多租戶 (Multi-Tenant)與多個Layer 2島嶼(Multi-Layer 2 Island)的能力,除了藉由多個COTS(Commercial Off-The-Shelf)乙太網路交換機形成單一個Layer 2的島嶼之外,也透過P4 language所自行定義的Switch,將各個島嶼之間互相連接,另外也在各島嶼的邊緣(Edge)運用結合P4 language與OpenFlow能力的 軟體交換器(P4-OpenFlow switch),使得整體的跨區域雲端資料中心具有軟體定義網路(SDN)的能力。 在P4-OpenFlow switchs與Layer 2 Island之間本論文運用IEEE 802.1ad QinQ的訊框標頭格式,將VLAN ID區分為Path VLAN ID與Tenant VLAN ID,並且分別定義兩個VLAN ID為Backbone VLAN ID與Customer VLAN ID,再透過P4-OpenFlow switch判斷流量的壅塞程度,選擇當下狀況該使用的是集中式管理的方式,或是分散式管理的方式,去分配多條鏈結不相交的路徑(Link-Disjoint Paths),藉此提升傳輸效率並且分散流量,另外也設計出一套訊框(Frame)標頭(Header)欄位(Field)格式的轉換方式,不只突破地域及VLAN個數的限制,也能夠實現目前電信業者所需要的多租戶的能力,並且降低環境中控制器的負載,最後使得具有多租戶 (Multi-Tenant)、多個Layer 2島嶼(Multi-Layer 2-Island)與SDN能力的大型雲端資料中心能夠達到負載平衡,並增加路徑的高存活性與傳輸能力。 This paper focuses on the multiple layers cloud data center, which allows cross-regional cloud data center to have multi-tenant capabilities and multiple Layer 2 islands. We not only use COTS (Commercial Off-The-Shelf) Ethernet switches to form a single Layer 2 island but also make the P4 language self-defined Switch let island are conneted to each other.The edge of the island uses the P4 language and the OpenFlow switch (P4-OpenFlow switch), so that the overall cross-regional cloud data center has the ability to a software define network (SDN). This paper uses the header format of IEEE 802.1ad QinQ between P4-OpenFlow switchs and Layer 2 Island to classify the VLAN ID into the Path VLAN ID and the Tenant VLAN ID, and define two VLAN IDs as the Backbone VLAN ID and Customer VLAN ID, and then through the P4-OpenFlow switch to determine the degree of congestion to select the centralized management or decentralized management to approach Link-Disjoint Paths and to improve transmission efficiency and decentralized traffic. In addition, a set of frame format conversion methods are designed. It can achieve the multi-tenant, and reduce the overhead of the controller in the environment, and finally make multi-tenant (Multi-Tenant), multiple Layer 2 islands (Multi-Layer 2-Island) and SDN capabilities Large cloud data center to achieve load balancing, and increase the path of high survival and transmission capacity.