- 103
- 0
- 约2.76千字
- 约 7页
- 2018-06-30 发布于上海
- 举报
实验四:使用OSPF协议组建简单局域网络实验R0R0enR0#conf tR0(config)#int g0/0R0(config-if)#ip add 192.168.1.3 255.255.255.0R0(config-if)#no sh%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to upR0(config)#int s0/3/0R0(config-if)#ip add 12.12.12.1 255.255.255.0R0(config-if)#no sh%LINK-5-CHANGED: Interface Serial0/3/0, changed state to downR0(config-if)#int s0/3/1R0(config-if)#ip add 13.13.13.1 255.255.255.0R0(config-if)#no sh%LINK-5-CHANGED: Interface Serial0/3/1, changed state to downR0(config-if)#router os 1R0(config-router)#router-id 1.1.1.1R0(config-router)#net 192.168.1.0 0.0.0.255 a 0R0(config-router)#net 12.12.12.0 0.0.0.255 a 0R0(config-router)#net 13.13.13.0 0.0.0.255 a 0R0(config-router)#endR0#%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up%LINK-5-CHANGED: Interface Serial0/3/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/1, changed state to up01:39:58: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on Serial0/3/1 from LOADING to FULL, Loading Done%LINK-5-CHANGED: Interface Serial0/3/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/0, changed state to up01:41:36: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial0/3/0 from LOADING to FULL, Loading DoneR1 在show run下的结果interface GigabitEthernet0/0ip address 192.168.3.3 255.255.255.0interface GigabitEthernet0/1no ip addressinterface Serial0/3/0ip address 12.12.12.2 255.255.255.0interface Serial0/3/1ip address 23.23.23.3 255.255.255.0router ospf 1router-id 2.2.2.2network 23.23.23.0 0.0.0.255 area 0network 12.12.12.0 0.0.0.255 area 0network 192.168.3.0 0.0.0.255 area 0R2RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int g0/0Router(config-if)#ip add 192.168.2.3 255.255.255.0Router(config-if)#no sh%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to upRouter(config-if)#int s0/3/0Rout
原创力文档

文档评论(0)