《华为路由器OSPF虚链接的配置.docx》由会员分享,可在线阅读,更多相关《华为路由器OSPF虚链接的配置.docx(3页珍藏版)》请在第壹文秘上搜索。
1、华为路由器OSPF虚链接的配置OSPf虚链路(虚连接)的配置3.3.3.1apai3332R3I4.4.4.1GE0/0/1area51IGEOooloopback05.5.5.1R44.4.4.2IoopbackO1.1.1.1目的:解决与骨干区域area0非直连区域的路由问题一、配置个端口地址Rl:syHuaweiundoinfo-centerenableHuaweisysnameRlRlintIORl-LoopBackOipaddl.l.l.l24Rl-LoopBackOintg000Rl-GigabitEthernetOOOipadd2.2.2.124Rl-GigabitEtherne
2、tOOOquitR2:syHuaweiundoinfo-centerenableHuaweisysnameR2R2intg000R2-GigabitEthernet000ipadd2.2.2.224R2-GigabitEthernetOOOintgO/O/1R2-GigabitEthernetOOlipadd33.3.124R2-GigabitEthernetOOlquitR3:system-viewHuaweiundoinfo-centerenableHuaweisysnameR3R3intgO/O/OR3-GigabitEthernetOOOipadd3.3.3.2R3-GigabitEt
3、hernetOOOintgO/O/1R3-GigabitEthernetOOlipadd4.4.4.124R3-GigabitEthernetOOlquitR4:system-viewHuaweiundoinfo-centerenableInfo:Informationcenterisdisabled.HuaweisysnameR4R4intgO/O/OR4-GigabitEthernet000ipadd4.4.4.224R4-GigabitEthernet000intIOR4-LoopBackOipadd5.5.5.124R4-LoopBackOquit二、配置多区域。SPfRl:Rlosp
4、f1Rl-ospf-larea0Rl-ospf-l-area-0.0.0.0netl.l.l.l0.0.0.255Rl-ospf-l-area-0.0.0.0net2.2.2.00.0.0.255Rl-ospf-l-area-0.0.0.0quitRl-ospf-lquitR2:R2ospf1R2-ospf-larea0R2-ospf-l-area-0.0.0.0net2.2.2.00.0.0.255R2-ospf-l-area-0.0.0.0quitR2-ospf-larea1R2-ospf-l-area-0.0.0.1net3.3.3.00.0.0.255R2-ospf-l-area-0.
5、0.0.1quitR2-ospf-lquitR3:R3ospf1R3-ospf-larea1R3-ospf-l-area-0.0.0.1net3.3.3.00.0.0.255R3-ospf-l-area-0.0.0.1quitR3-ospf-larea51R3-ospf-l-area-0.0.0.51net4.4.4.00.0.0.255R3-ospf-l-area-0.0.0.51quitR3-ospf-lquitR4:R4ospf1R4-ospf-larea51R4-ospf-l-area-0.0.0.51net4.4,4.00.0.0.255R4-ospf-l-area-0.0.0.51
6、net5.5.5.00.0.0.255R4-ospf-l-area-0.0.0.51quitR4-ospf-lquit三、查看各路由器上的路由表,看路由表是否完整Rldisiprouting-tableR2disiprouting-tableR3disiprouting-tableR4disiprouting-table四、在R2和R3上配置虚连接R2:R2ospf1R2-ospf-larea1R2-ospf-l-area-0.0.0.1vlink-peer3.33.2建立虚链接,链接的是邻居ID3.3.3.2R3-ospf-l-area-0.0.0.1quitR3:R3ospf1R3-ospf-larea1R3-ospf-l-area-0.0.0.1vlink-peer2.2.2.2建立虚链接,链接的是邻居ID2.2.2.2R3-ospf-l-area-0.0.0.1quit五、再次查看各路由器上的路由表,看路由表是否完整Rldisiprouting-tableR2disiprouting-tableR3disiprouting-tableR4disiprouting-table