• ospf协议的重分发


    重分发:

     

     

    紫色区域,启动设备

    AR1配置信息

    <Huawei>undo terminal monitor

    <Huawei>system-view

    Enter system view, return user view with Ctrl+Z.

    [Huawei]user-interface console 0

    [Huawei-ui-console0]idle-timeout 0 0

    [Huawei-ui-console0]sysname R1

    [R1]int g0/0/0

    [R1-GigabitEthernet0/0/0]ip add 12.1.1.1 24

    [R1-GigabitEthernet0/0/0]undo shutdown

    [R1-GigabitEthernet0/0/0]int loop 0

    [R1-LoopBack0]ip add 1.1.1.1 32

    [R1-LoopBack0]quit

    [R1]ospf 1 router-id 1.1.1.1

    [R1-ospf-1]area 1

    [R1-ospf-1-area-0.0.0.1]network 1.1.1.1 0.0.0.0

    [R1-ospf-1-area-0.0.0.1]network 12.1.1.0 0.0.0.255

    [R1-ospf-1-area-0.0.0.1]return

    AR2配置信息

    <Huawei>undo terminal monitor

    <Huawei>system-view

    [Huawei]user-interface console 0

    [Huawei-ui-console0]idle-timeout  0 0

    [Huawei-ui-console0]sysname R2

    [R2]int g0/0/0

    [R2-GigabitEthernet0/0/0]ip add 12.1.1.2 24

    [R2-GigabitEthernet0/0/0]undo shutdown

    [R2-GigabitEthernet0/0/0]int g0/0/1

    [R2-GigabitEthernet0/0/1]ip add 23.1.1.2 24

    [R2-GigabitEthernet0/0/1]undo shutdown

    [R2-GigabitEthernet0/0/1]int loop 0

    [R2-LoopBack0]ip add 2.2.2.2 32

    [R2-LoopBack0]quit

    [R2]ospf 1 router-id 2.2.2.2

    [R2-ospf-1]area 1

    [R2-ospf-1-area-0.0.0.1]network 12.1.1.0 0.0.0.255

    [R2-ospf-1-area-0.0.0.1]quit

    [R2-ospf-1]area 0

    [R2-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0

    [R2-ospf-1-area-0.0.0.0]network 23.1.1.0 0.0.0.255

    [R2-ospf-1-area-0.0.0.0]return 

    AR3配置信息

    <Huawei>undo terminal monitor

    <Huawei>system-view

    [Huawei]user-interface console 0

    [Huawei-ui-console0]idle-timeout 0 0

    [Huawei-ui-console0]sysname R3

    [R3]int g0/0/0

    [R3-GigabitEthernet0/0/0]ip add 23.1.1.3 24

    [R3-GigabitEthernet0/0/0]undo shutdown

    [R3-GigabitEthernet0/0/0]int g0/0/1

    [R3-GigabitEthernet0/0/1]ip add 34.1.1.3 24

    [R3-GigabitEthernet0/0/1]undo shutdown

    [R3-GigabitEthernet0/0/1]int loop 0

    [R3-LoopBack0]ip add 3.3.3.3 32

    [R3-LoopBack0]quit

    [R3]ospf 1 router-id 3.3.3.3

    [R3-ospf-1]area 0       

    [R3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0

    [R3-ospf-1-area-0.0.0.0]network 23.1.1.0 0.0.0.255

    [R3-ospf-1-area-0.0.0.0]quit

    [R3-ospf-1]area 2

    [R3-ospf-1-area-0.0.0.2]network 34.1.1.0 0.0.0.255

    [R3-ospf-1-area-0.0.0.2]return

    <R3>system-view

    [R3]ospf 1

    [R3-ospf-1]area 2

    [R3-ospf-1-area-0.0.0.2]vlink-peer 4.4.4.4

    [R3-ospf-1-area-0.0.0.2]return

    AR4配置信息

    <Huawei>undo terminal monitor

    <Huawei>system-view

    [Huawei]user-interface console 0

    [Huawei-ui-console0]idle-timeout 0 0

    [Huawei-ui-console0]sysname R4

    [R4]int g0/0/0

    [R4-GigabitEthernet0/0/0]ip add 34.1.1.4 24

    [R4-GigabitEthernet0/0/0]undo shutdown

    [R4-GigabitEthernet0/0/0]int g0/0/1

    [R4-GigabitEthernet0/0/1]ip add 45.1.1.4 24

    [R4-GigabitEthernet0/0/1]undo shutdown

    [R4-GigabitEthernet0/0/1]int loop 0

    [R4-LoopBack0]ip add 4.4.4.4 32

    [R4-LoopBack0]quit

    [R4]ospf 1 router-id 4.4.4.4

    [R4-ospf-1]area 2

    [R4-ospf-1-area-0.0.0.2]network 34.1.1.0 0.0.0.255

    [R4-ospf-1-area-0.0.0.2]network 4.4.4.4 0.0.0.0

    [R4-ospf-1-area-0.0.0.2]quit

    [R4-ospf-1]area 3

    [R4-ospf-1-area-0.0.0.3]network 45.1.1.0 0.0.0.255

    [R4-ospf-1-area-0.0.0.3]return

    <R4>system-view

    [R4]ospf 1

    [R4-ospf-1]area 2

    [R4-ospf-1-area-0.0.0.2]vlink-peer 3.3.3.3

    [R4-ospf-1-area-0.0.0.2]quit 

    AR5配置信息

    <Huawei>undo terminal monitor

    <Huawei>system-view

    [Huawei]user-interface console 0

    [Huawei-ui-console0]idle-timeout 0 0

    [Huawei-ui-console0]sysname R5

    [R5]int g0/0/0

    [R5-GigabitEthernet0/0/0]ip add 45.1.1.5 24

    [R5-GigabitEthernet0/0/0]undo shutdown

    [R5-GigabitEthernet0/0/0]int loop 0

    [R5-LoopBack0]ip add 5.5.5.5 32

    [R5-LoopBack0]quit

    [R5]ospf 1 router-id 5.5.5.5

    [R5-ospf-1]area 3

    [R5-ospf-1-area-0.0.0.3]network 5.5.5.5 0.0.0.0

    [R5-ospf-1-area-0.0.0.3]network 45.1.1.0 0.0.0.255

    [R5-ospf-1-area-0.0.0.3]quit

    [R5]rip

    [R5-rip-1]version 2

    [R5-rip-1]undo summary

    [R5-rip-1]network 56.0.0.0

    [R5-rip-1]quit

    [R5]ospf 1

    [R5-ospf-1]import-route rip 1 cost 100

    [R5-ospf-1]quit

    [R5]rip 1

    [R5-rip-1]import-route ospf 1 cost 0

    [R5-rip-1]quit

    AR6配置信息

    <Huawei>undo terminal monitor

    <Huawei>system-view

    [Huawei]user-interface console 0

    [Huawei-ui-console0]idle-timeout 0 0

    [Huawei-ui-console0]sysname R6

    [R6]int g0/0/0

    [R6-GigabitEthernet0/0/0]ip add 56.1.1.6 24

    [R6-GigabitEthernet0/0/0]undo shutdown

    [R6-GigabitEthernet0/0/0]int loop 0

    [R6-LoopBack0]ip add 6.6.6.6 32

    [R6-LoopBack0]quit

    [R6]rip

    [R6-rip-1]version 2

    [R6-rip-1]undo summary

    [R6-rip-1]network 6.0.0.0

    [R6-rip-1]network 56.0.0.0

    [R6-rip-1]

  • 相关阅读:
    跨域导致FormsAuthentication.Decrypt报错:填充无效,无法被移除
    Php构造函数construct的前下划线是双的_
    DNN学习资源整理
    改进housemenu2使网站导航亲Seo并在新窗口中打开。
    推荐10款非常优秀的 HTML5 开发工具
    Ext.Net系列:安装与使用
    Devexpress 破解方法
    Microsoft Visual Studio 2010 遇到了异常,可能是由某个扩展导致的
    浮躁和互联网
    chrome 默认以 https打开网站
  • 原文地址:https://www.cnblogs.com/tianzhendengni/p/13384242.html
Copyright © 2020-2023  润新知