《实验5-2 OSPF多区域基本配置.docx》由会员分享,可在线阅读,更多相关《实验5-2 OSPF多区域基本配置.docx(4页珍藏版)》请在三一办公上搜索。
1、实验OSPF多区域基本配置【实验名称】OSPF多区域基本配置【实验目的】多区域OSPF配置技术。【背景描述】你是某集成商的高级技术支持工程师,现在让你为某企业设计一个网络,你选择了使用 ospf路由协议来构建。【实现功能】构建OSPF多个区域连接在骨干网络上。【实验拓扑】FLouter-P% Routerlpouter-PT FLouterOPC-PT PCLPC-PTPCO【实验设备】 路由器(2 台)、V35DCE (1 根)、V35DTE (1 根)【实验步骤】第一步:基本配置RouterenRouter#conf tEnter configuration commands, one p
2、er line. End with CNTL/Z.Router(config)#hostname R1R1(config)#int f0/0R1(config-if)#ip sdd 192.168.1.1 255.255.255.0 A% Invalid input detected at marker.R1(config-if)#ip address 192.168.1.1 255.255.255.0R1(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-
3、UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upR1(config-if)#exitR1(config)#int s2/0R1(config-if)#ip address 192.168.12.1 255.255.255.0R1(config-if)#clock rate 64000R1(config-if)#no shut %LINK-5-CHANGED: Interface Serial2/0, changed state to downR1(config-if)#%LINK-5-CHANGED:
4、 Interface Serial2/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to upR1(config-if)#exitR1(config)#router ospf 1R1(config-router)#network 192.168.1.0 0.0.0.255 area 1R1(config-router)#network 192.168.12.0 0.0.0.255 area 0R1(config-router)#endR1#%SYS-5
5、-CONFIG_I: Configured from console by console00:11:54: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.12.2 on Serial2/0 from LOADING to FULL, Loading DoneRouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname R2R2(config)#int f0/0R2(config-if)#ip address 192
6、.168.2.1 255.255.255.0R2(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upR2(config-if)#exitR2(config)#int s2/0R2(config-if)#ip address 192.168.12.2 255.255.255.0R2(config-if)#clock ra
7、te 64000R2(config-if)#no shut%LINK-5-CHANGED: Interface Serial2/0, changed state to upR2(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to upR2(config-if)#exitR2(config)#router ospf 1R2(config-router)#network 192.168.2.0 0.0.0.255 area 2R2(config-router)#network 192.168.12.0 0.0.0.255 area 0R2(config-router)#00:11:52: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.12.1 on Serial2/0 from LOADING to FULL, Loading Done【注意事项】 两个广域网接口在一区域里; 不要忘记在DCE端配置时钟速率; 学习到的路由条目注意是通过何种路由协议学到的。【试验结果】
链接地址:https://www.31ppt.com/p-5174905.html