《IPv6技术课件:OSPFv3单区域配置.docx》由会员分享,可在线阅读,更多相关《IPv6技术课件:OSPFv3单区域配置.docx(5页珍藏版)》请在第一文库网上搜索。
1、4.4.30SPFv3单区域配置【任务要求】在IPv6网络中通过配置OSPFV3路由协议,使设备相互之间可以互通,拓扑图如下RI接口地址表为:1o0:2001:1/64,GigabitethemetO/O/1:2O12:1/64R2接口地址表为:1oO:2002:1/64,GigabitethernetO/0/1:2012:2/64GigabitethernetC)/0/2:2023:2/64R3接口地址表为:1Oo:2003:1/64,Gigabitethernet0/0/2:2023:3/64【任务实施】1 .配置各路由器接口的IPv6地址system-viewHuaweisysnameR
2、1R1ipv6R1interface1oopBack0R1-1oopBackOipv6enab1eR1-1oopBackOipv6address2001:1/64R1interfaceGigabitEthernet0/0/1R1-GigabitEthernetOO1ipv6enab1eR1-GigabitEthernetOO1ipv6address2012:1/64R2、R3配置同R1,此处省略,请自行补上2 .配置OSPFV3的基本功能#在R1上配置OSPFV3协议R1ospfv31R1-ospfv3-1router-id1.1.1.1R1-ospfv3-1quitRIinterfaceGi
3、gabitEthernet0/0/1R1-GigabitEthernetO/O/1ospfv31area0R1-GigabitEthernetO/O/1quitRIinterface1oopBack0R1-1oopBackOospfv31areaOeR1-1oopBackOquit#在R2上配置0SPFv3协议R2ospfv31R2-ospfv3-1router-id2.2.2.2R2-ospfv3-1quitR2interfaceGigabitEthernet0/0/1R2-GigabitEthernetOO1ospfv31area0R2-GigabitEthernetOO1quitR2in
4、terfaceGigabitEthernet0/0/2R2-GigabitEthernet002ospfv31area0R2-GigabitEthernet002quitR2interface1oopBackOR2-1oopBackOospfv31areaOR2-1oopBackOquit#在R3上配置0SPFv3协议R3ospfv31R3-ospfv3-1router-id1.1.1.1R3-ospfv3-1quitR3interfaceGigabitEthernet0/0/2R3-GigabitEthernet002ospfv31areaOR3-GigabitEthernet002quit
5、R3interface1oopBack0R3-1oopBackOospfv31areaOR3-1oopBackOquit【任务验证】1 .在R1上查看0SPFv3路由表R1disp1ayospfv3routingCodes:E2-Type2Externa1,E1-Type1Externa1,IA-Inter-Area,N-NSSA,U-Uninsta11ed0SPFv3Process(1)DestinationMetricNext-hop2001:1/1280direct1yconnected,1oopBackO2002:1/1281viaFE8O:2EO:FCFF:FE1D:8OB3,Gig
6、abitEthernetO/O/12003:1/1282viaFE8O:2EO:FCFF:FE1D:8OB3,GigabitEthernetO/O/12012:/641direct1yconnected,GigabitEthernetO/O/12023:/642viaFE8O:2EO:FCFF:FE1D:8OB3,GigabitEthernetO/O/12 .在R2上查看0SPFv3邻居表R2disp1ayospfv3peer0SPFv3Process(1)0SPFv3Area(0.0.0.0)NeighborIDPriStateDeadTimeInterfaceInstanceID1.1.1
7、.11Fu11/DR00:00:40GE0/0/103.3.3.31Fu11/DR00:00:38GE00203 .在R1上使用查看OSPFV3链路状态数据库R1disp1ayospfv3Isdb*indicatesSTA1E1SA0SPFv3RouterwithID(1.1.1.1)(Process1)1ink-1SA(InterfaceGigabitEthernetO/O/1)1inkStateIDOriginRouterAgeSeq#CkSumPrefix0.0.0.41.1.1.114540x800000010x3a7a10.0.0.42.2.2.214080x800000010xb8
8、421Router-1SA(Area0.0.0.0)1inkStateIDOriginRouterAgeSeq#CkSum1ink0.0.0.01.1.1.114040x800000050x13f710.0.0.02.2.2.213270x800000090x4e8b20.0.0.03.33.313360x800000050x9b5d1Network-1SA(Area0.0.0.0)1inkStateIDOriginRouterAgeSeq#CkSum0.0.0.41.1.1.114040x800000010x70a40.0.0.533.3.313370x800000010x6e95Intra
9、-Area-Prefix-1SA(Area0.0.0.0)1inkStateIDOriginRouterAgeSeq#CkSumPrefixReference0.0.0.11.1.1.113990x800000070x6cde1Router-1SA0.0.0.21.1.1.114030x800000010xdba91Network-1SA0.0.0.12.2.2.213240x800000090x90af1Router-1SA0.0.0.13.33.313330x800000050xc07a1Router-1SA0.0.0.233.3.313350x800000010x63ff1Network-1SA