《华为路由器多区域ospf配置.docx》由会员分享,可在线阅读,更多相关《华为路由器多区域ospf配置.docx(2页珍藏版)》请在优知文库上搜索。
1、华为路由器多区域。SPf配置多区域。SPf配置areaarea51loopback4.4.4.1Ie“、”2.2.2.12.2.2.23331333PGE(VM)GEMylGEgfO1.1.1.1/AR2AR3一、配置各个路由器的ip地址:ARl:system-viewHuaweisysnameRl修改路由器名称为RlRlundoinfo-centerenableRlintIO进入接口IooPbakORl-LoopBackOipadd1.1.1.124Rl-LoopBackOJintg000Rl-GigabitEthernetOOOipaddress2.2.2.124Rl-GigabitEth
2、ernetOOOquitAR2:sysystem-viewHuaweisysnameR2R2undoinfo-centerenableR2intg000R2-GigabitEthernet000ipadd2.2.2.224R2-GigabitEthernet000intgO/O/1R2-GigabitEthernetOOlipadd3.3.3.124R2-GigabitEthernetOOlquitAR3:syHuaweisysnameR3R3undoinfo-centerenableR3intgO/O/OR3-GigabitEthernet000ipadd33.3.224R3-Gigabit
3、Ethernet000intIOR3-LoopBackOipadd4.4.4.124R3-LoopBackOquit二、配置OSPf协议:ARI:RiRlospf1Rl-ospf-larea0建立并进入区域0Rl-ospf-l-area-0.0.0.0net1.1.1.00.0.0.255Rl-ospf-l-area-0.0.0.0net2.2.2.00.0.0.255向直连网段宣告Rl-ospf-l-area-0.0.0.0quitRl-ospf-lquitAR2:R2ospf1R2-ospf-larea0进入areaR2-ospf-l-area-0.0.0,0net2.2.2.00.0.0
4、.255向网段2.2.2.0宣告R2-ospf-l-area-0.0.0.0quitR2-ospf-larea51进入area51R2-ospf-l-area-0.0.0.51net33.3.00.0.0.255向网段3.33.0宣告R2-ospf-l-area-0.0.0.51quitR2-ospf-lquitAR3:R3ospf1R3-ospf-larea51R3-ospf-l-area-0.0.0.51net3.3.3.00.0.0.255R3-ospf-l-area-0.0.0.51net4.4.4.00.0.0.255R3-ospf-l-area-0.0.0.51quitR3-osp
5、f-lquitR3disiprouting-table查看路由器表同时查看其它路由器上的路由表,看是否完整。Ping测试:R3ping-siGigabitEthernet0/0/01.1.1.1从源端口g000ping1.1.1.1PING1.1.1.1:56databytes,pressCTRL_CtobreakReplyfrom1.1.1.1:bytes=56Sequence=Ittl=254time=50msReplyfrom1.1.1.1:bytes=56Sequence=?ttl=254time=30msReplyfrom1.1.1.1:bytes=56Sequence=3ttl=254time=30msReplyfrom1.1.1.1:bytes=56Sequence=4ttl=254time=30msReplyfrom1.1.1.1:bytes=56Sequence=Sttl=254time=30ms