【文章內(nèi)容簡(jiǎn)介】
L102 L116 S100 S200 169。 2022 Cisco Systems, Inc. All rights reserved. Cisco Public Presentation_ID 17 FabricPath的技 術(shù)細(xì)節(jié) 邊 界交 換 機(jī)的 MAC學(xué) 習(xí) 500 MACs 500 MACs 500 MACs 500 MACs 250 MACs 250 MACs 250 MACs 250 MACs ? 每一臺(tái)交換機(jī)學(xué)習(xí)所有的 MACs ? 大型的 L2 domain 網(wǎng)絡(luò) 和大量的虛擬化給 MAC 表的擴(kuò)展性帶來(lái)挑戰(zhàn) STP Domain ? Local MAC: 只有從 CE端口接受到數(shù)據(jù)才學(xué)習(xí)SourceMAC ? Remote MAC: 只有當(dāng) DestinationMAC已經(jīng)作為 Local時(shí), 從 FabricPath Ports接收數(shù)據(jù)時(shí)才學(xué)習(xí) SourceMAC S11 A C B L2 Fabric MAC IF C 3/1 A S11 MAC IF B 2/1 MAC IF 優(yōu) 化 資 源利用 – 只學(xué) 習(xí) 需要的 MAC 地址 169。 2022 Cisco Systems, Inc. All rights reserved. Cisco Public Presentation_ID 18 Host A與 C通 訊 的 過(guò) 程(一) FabricPath對(duì) 廣播的 轉(zhuǎn)發(fā) L1 L2 L3 L4 A B C L8 L5 L6 L7 L9 L10 L11 L12 S1 S2 S3 S4 S11 S12 S42 L2 Fabric 1. Host A 與 Host C 第一次通訊 . 向 C發(fā)送 ARP請(qǐng)求 2. S11 把 A 加入 MAC 表,因?yàn)槭莵?lái)自 CE端口的源地址學(xué)習(xí) 3. 由于目的 MAC是 ?All F?, S11 向所有的 CE端口 Flood該數(shù)據(jù)包 MAC IF Tree IF 1 L1, L2, L3, L4 A 1/1 4. 同時(shí) , S11 選擇 ?Tree 1?, 在 FabricPath header中記錄并 floods this frame 到所有屬于 ”tree 1”的 FabricPath ports (L1 ~ L4) Tree IF 1 L1, L5, L9 5. S1 繼續(xù)基于本地的 ”tree 1”信息 flood this frame (L5, L9) 6. S12 與 S42 移除 FabricPath header 并且向所有 CE端口 flood the frame 1/1 3/1 MAC IF FabricPath Port CE Port No Learning on Remote MAC since DMAC is unknown Decap Decap Encap MAC IF 169。 2022 Cisco Systems, Inc. All rights reserved. Cisco Public Presentation_ID 19 Host A與 C通 訊 的 過(guò) 程(二) FabricPath對(duì) 未知 單 播的 轉(zhuǎn)發(fā) L1 L2 L3 L4 A B C L8 L5 L6 L7 L9 L10 L11 L12 S1 S2 S3 S4 S11 S12 S42 L2 Fabric 1. Host C 向 Host A送回 ARP Reply 2. S42 從 CE端口根據(jù)源地址學(xué)習(xí)原理將 C 加入 MAC Table 3. 由于 A is unknown, S42向所有 CE端口 floods this frame MAC IF Tree IF 1 L1, L2, L3, L4 C 3/1 4. 同時(shí) , S42 根據(jù)選擇的 ?Tree 1?, 在 FabricPath header中記錄并且向所有的FabricPath ports (L9) floods this frame Tree IF 1 L1, L5, L9 5. S1繼續(xù)順著 ”tree 1” floods this frame (L1, L5) 6. S11繼續(xù)順著 ”tree 1” floods this frame (L2~L4). 同理,移除 FabricPath Header, S11 發(fā)現(xiàn)目標(biāo)地址 A 已經(jīng)是本地學(xué)習(xí)的,于是將 C 作為 Remote MAC加入表格并且與 S42相關(guān)聯(lián) . MISS Tree IF 1 L9 MAC IF A 1/1 Encap Decap C S42 1/1 3/1 Decap FabricPath Port CE Port MAC IF HIT! 169。 2022 Cisco Systems, Inc. All rights reserved. Cisco Public Presentation_ID 20 Host A與 C通 訊 的 過(guò) 程(三) FabricPath對(duì) 已知 單 播的 轉(zhuǎn)發(fā) L1 L2 L3 L4 A B C L8 L5 L6 L7 L9 L10 L11 L12 S1 S2 S3 S4 S11 S12 S42 1. Host A 在解決 ARP之后向 Host C發(fā)送數(shù)據(jù)流 2. S11 發(fā)現(xiàn) C已經(jīng)作為 remote學(xué)習(xí)了 , 并且和 S42關(guān)聯(lián) . 對(duì)到 C所有后續(xù)進(jìn)行封裝,在 FabricPath header中將 S42作為目的地址 MAC IF C 3/1 4. S4的“路由表”顯示 L12 as next hop for S42 5. S42 發(fā)現(xiàn)自己是 FabricPath header的目的地,并且 C 是本地已知的 . 于是 , 將A 作為 remote加入表格 , 并且與 S11關(guān)聯(lián) . MAC IF A 1/1 C S42 Decap Encap HIT! Switch IF … … S42 L1, L2, L3, L4 Switch IF … … S42 L12 A S11 3. S11的“路由表”顯示到 S42有多條路徑 . 執(zhí)行 ECMP hash算法,選擇 L4 作為 nexthop 1/1 3/1 L2 Fabric FabricPath Port CE Port HIT! 169。 2022 Cisco Systems, Inc. All rights reserved. Cisco Public Presentation_ID 2