溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

劃分OSPF多區(qū)域配置

發(fā)布時間:2020-07-15 09:28:21 來源:網(wǎng)絡 閱讀:2770 作者:俊鳳 欄目:系統(tǒng)運維

|1,實驗名稱:OSPF多區(qū)域配置

|2,實驗目的:OSPF多區(qū)域配置實現(xiàn)全網(wǎng)互通

|3,實驗拓撲:

劃分OSPF多區(qū)域配置


|4,實驗步驟:

|R1

|[Huawei]sysname R1  

|[R1]interface gi0/0/0

|[R1-GigabitEthernet0/0/0]ip add 192.168.12.1 255.255.255.0

|[R1-GigabitEthernet0/0/0]undo shutdown

|[R1-GigabitEthernet0/0/0]interface gi0/0/1

|[R1-GigabitEthernet0/0/1]ip add 192.168.14.1 255.255.255.0

|[R1-GigabitEthernet0/0/1]undo shutdown

 

|[R1]interface LoopBack 0

|[R1-LoopBack0]ip add 10.10.1.1 255.255.255.0

|[R1-LoopBack0]q

|[R1]ospf

|[R1-ospf-1]area 0

|[R1-ospf-1-area-0.0.0.0]net

|[R1-ospf-1-area-0.0.0.0]network 192.168.12.1 0.0.0.0

|[R1-ospf-1-area-0.0.0.0]network 10.10.1.1 0.0.0.0

|[R1-ospf-1-area-0.0.0.0]q

|[R1-ospf-1]area 1

|[R1-ospf-1-area-0.0.0.1]network 192.168.14.1 0.0.0.0

|R2

|[Huawei]sy

|[Huawei]sysname R2

|[R2]interface gi0/0/1

|[R2-GigabitEthernet0/0/1]ip add 192.168.12.2 255.255.255.0

|[R2-GigabitEthernet0/0/1]undo shutdown

|[R2-GigabitEthernet0/0/1]interface gi0/0/0

|[R2-GigabitEthernet0/0/0]ip add 192.168.23.1 255.255.255.0

|[R2-GigabitEthernet0/0/0]undo shutdown

|[R2-GigabitEthernet0/0/0]interface gi0/0/2

|[R2-GigabitEthernet0/0/2]ip add 192.168.26.1 255.255.255.0

|[R2-GigabitEthernet0/0/2]undo shutdown

|[R2-GigabitEthernet0/0/2]


|[R2]interface LoopBack 0

|[R2-LoopBack0]ip add 10.10.2.2 255.255.255.0

|[R2-LoopBack0]q

|[R2]ospf

|[R2-ospf-1]area 0

|[R2-ospf-1-area-0.0.0.0]network 192.168.12.2 0.0.0.0

|[R2-ospf-1-area-0.0.0.0]network 192.168.23.1 0.0.0.0

|[R2-ospf-1-area-0.0.0.0]network 192.168.26.1 0.0.0.0

|[R2-ospf-1-area-0.0.0.0]network 10.10.2.2 0.0.0.0

|R3

|[Huawei]sysname R3

|[R3]interface gi0/0/1

|[R3-GigabitEthernet0/0/1]ip add 192.168.23.2 255.255.255.0

|[R3-GigabitEthernet0/0/1]undo shutdown [R3-GigabitEthernet0/0/1]interface gi0/0/0

|[R3-GigabitEthernet0/0/0]ip add 192.168.35.1 255.255.255.0

|[R3-GigabitEthernet0/0/0]undo shutdown

|[R3]interface LoopBack 0

|[R3-LoopBack0]ip add 10.10.3.3 255.255.255.0

|[R3-LoopBack0]q

|[R3]ospf

|[R3-ospf-1]area 0

|[R3-ospf-1-area-0.0.0.0]network 10.10.3.3 0.0.0.0

|[R3-ospf-1-area-0.0.0.0]network 192.168.23.2 0.0.0.0

|[R3-ospf-1-area-0.0.0.0]q

|[R3-ospf-1]area 35

|[R3-ospf-1-area-0.0.0.35]network 192.168.35.1 0.0.0.0

|R4

|[Huawei]sysname R4

|[R4]interface gi0/0/0

|[R4-GigabitEthernet0/0/0]ip add 192.168.14.2 255.255.255.0

|[R4-GigabitEthernet0/0/0]undo shutdown

|[R4-GigabitEthernet0/0/0]interface gi0/0/1

|[R4-GigabitEthernet0/0/1]ip add 192.168.46.1 255.255.255.0

|[R4-GigabitEthernet0/0/1]q


|[R4]interface LoopBack 0

|[R4-LoopBack0]ip add 10.10.4.4 255.255.255.0

|[R4-LoopBack0]q

|[R4]ospf

|[R4-ospf-1]area 1

|[R4-ospf-1-area-0.0.0.1]net

|[R4-ospf-1-area-0.0.0.1]network 192.168.14.2 0.0.0.0

|[R4-ospf-1-area-0.0.0.1]network 192.168.46.1 0.0.0.0

|[R4-ospf-1-area-0.0.0.1]network 10.10.4.4 0.0.0.0

 

|R5

|[Huawei]sysname R5

|[R5]interface gi0/0/0

|[R5-GigabitEthernet0/0/0]ip add 192.168.35.2 255.255.255.0

|[R5-GigabitEthernet0/0/0]undo shutdown

|[R5-GigabitEthernet0/0/0]q

|[R5]interface LoopBack 0

|[R5-LoopBack0]ip add 10.10.5.5 255.255.255.0

|[R5-LoopBack0]q

|[R5-ospf-1-area-0.0.0.35]network 10.10.5.5 0.0.0.0

|[R5-ospf-1-area-0.0.0.35]

|R6

|[Huawei]sysname R6

|[R6]interface gi0/0/0

|[R6-GigabitEthernet0/0/0]ip add 192.168.46.2 255.255.255.0

|[R6-GigabitEthernet0/0/0]undo shutdown

|[R6-GigabitEthernet0/0/0]interface gi0/0/1

|[R6-GigabitEthernet0/0/1]ip add 192.168.26.2 255.255.255.0

|[R6-GigabitEthernet0/0/1]undo shutdown

|[R6-GigabitEthernet0/0/1]q

 

|[R6]interface LoopBack 0

|[R6-LoopBack0]ip add 10.10.6.6 255.255.255.0

|[R6-LoopBack0]q

|[R6]ospf

|[R6-ospf-1]area 1

|[R6-ospf-1-area-0.0.0.1]net

|[R6-ospf-1-area-0.0.0.1]network 192.168.46.2 0.0.0.0

|[R6-ospf-1-area-0.0.0.1]network 10.10.6.6 0.0.0.0

|[R6-ospf-1-area-0.0.0.1]q

|[R6-ospf-1]area 0

|[R6-ospf-1-area-0.0.0.0]network 192.168.26.2 0.0.0.0



|5,驗證及測試:

劃分OSPF多區(qū)域配置

劃分OSPF多區(qū)域配置


|6,總結:

|配置思路:

(1)配置所有路由器的IP地址,回環(huán)接口。并確保鄰近路由器直連鏈路可以實現(xiàn)互通

(2)-劃分OSPF區(qū)域:

(3)驗證OSPF多區(qū)域互通性



向AI問一下細節(jié)

免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權內(nèi)容。

AI