1、帧中继网络利用OSPF协议实现全网互通实验帧中继网络利用OSPF协议实现全网互通实验1、 拓朴图2、 配置信息;FRSW#SHOW RUNBuilding configuration.Current configuration : 1285 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname FRSW!boot-start-markerboot-end-marker!no aaa ne
2、w-modelmemory-size iomem 5no ip icmp rate-limit unreachableip tcp synwait-time 5!ip cefno ip domain lookup! !frame-relay switching! !interface Serial0/0 no ip address encapsulation frame-relay serial restart-delay 0 clock rate 64000 frame-relay intf-type dce frame-relay route 201 interface Serial0/1
3、 102 frame-relay route 203 interface Serial0/2 302!interface Serial0/1 no ip address encapsulation frame-relay serial restart-delay 0 clock rate 64000 frame-relay intf-type dce frame-relay route 102 interface Serial0/0 201!interface Serial0/2 no ip address encapsulation frame-relay serial restart-de
4、lay 0 clock rate 64000 frame-relay intf-type dce frame-relay route 302 interface Serial0/0 203!interface Serial0/3 no ip address shutdown serial restart-delay 0!no ip http serverno ip http secure-server!control-plane! !line con 0 exec-timeout 0 0 privilege level 15 logging synchronousline aux 0 exec
5、-timeout 0 0 privilege level 15 logging synchronousline vty 0 4 login!endFRSW#SHOW FRAMFRSW#SHOW FRAMe-relay ROUTEInput Intf Input Dlci Output Intf Output Dlci StatusSerial0/0 201 Serial0/1 102 activeSerial0/0 203 Serial0/2 302 activeSerial0/1 102 Serial0/0 201 activeSerial0/2 302 Serial0/0 203 acti
6、veR1#SHOW RUNBuilding configuration.Current configuration : 1369 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R1!boot-start-markerboot-end-marker!no aaa new-modelmemory-size iomem 5no ip icmp rate-limit unreachabl
7、eip tcp synwait-time 5!ip cefno ip domain lookup! ! !interface Loopback0 ip address 10.10.255.1 255.255.255.255!interface Serial0/0 ip address 10.10.254.1 255.255.255.240 encapsulation frame-relay ip ospf network broadcast serial restart-delay 0 frame-relay map ip 10.10.254.1 102 broadcast frame-rel
8、ay map ip 10.10.254.2 102 broadcast frame-relay map ip 10.10.254.3 102 broadcast!interface Serial0/1 ip address 10.10.253.1 255.255.255.252 ip ospf network broadcast serial restart-delay 0!interface Serial0/2 no ip address shutdown serial restart-delay 0!interface Serial0/3 no ip address shutdown se
9、rial restart-delay 0!router ospf 1 router-id 10.10.255.1 log-adjacency-changes network 10.10.253.0 0.0.0.3 area 1 network 10.10.254.0 0.0.0.15 area 0 network 10.10.255.1 0.0.0.0 area 0!no ip http serverno ip http secure-server!control-plane! !line con 0 exec-timeout 0 0 privilege level 15 logging sy
10、nchronousline aux 0 exec-timeout 0 0 privilege level 15 logging synchronousline vty 0 4 login!endR2#SHOW RUNBuilding configuration.Current configuration : 1266 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R2!boot-
11、start-markerboot-end-marker!no aaa new-modelmemory-size iomem 5no ip icmp rate-limit unreachableip tcp synwait-time 5!ip cefno ip domain lookup! ! !interface Loopback0 ip address 10.10.255.2 255.255.255.255!interface Serial0/0 ip address 10.10.254.2 255.255.255.240 encapsulation frame-relay ip ospf
12、network broadcast ip ospf priority 10 serial restart-delay 0 frame-relay map ip 10.10.254.1 201 broadcast frame-relay map ip 10.10.254.3 203 broadcast!interface Serial0/1 no ip address shutdown serial restart-delay 0!interface Serial0/2 no ip address shutdown serial restart-delay 0!interface Serial0
13、/3 no ip address shutdown serial restart-delay 0!router ospf 1 router-id 10.10.255.2 log-adjacency-changes network 10.10.254.0 0.0.0.15 area 0 network 10.10.255.2 0.0.0.0 area 0!no ip http serverno ip http secure-server!control-plane! !line con 0 exec-timeout 0 0 privilege level 15 logging synchrono
14、usline aux 0 exec-timeout 0 0 privilege level 15 logging synchronousline vty 0 4 login!endR2# WRBuilding configuration.OKR3#SHOW RUNBuilding configuration.Current configuration : 1325 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encr
15、yption!hostname R3!boot-start-markerboot-end-marker!no aaa new-modelmemory-size iomem 5no ip icmp rate-limit unreachableip tcp synwait-time 5!ip cefno ip domain lookup! ! !interface Loopback0 ip address 10.10.255.3 255.255.255.255!interface Serial0/0 ip address 10.10.254.3 255.255.255.240 encapsulat
16、ion frame-relay ip ospf network broadcast serial restart-delay 0 frame-relay map ip 10.10.254.1 302 broadcast frame-relay map ip 10.10.254.2 302 broadcast!interface Serial0/1 ip address 10.10.253.21 255.255.255.252 ip ospf network broadcast serial restart-delay 0!interface Serial0/2 no ip address sh
17、utdown serial restart-delay 0!interface Serial0/3 no ip address shutdown serial restart-delay 0!router ospf 1 router-id 10.10.255.3 log-adjacency-changes network 10.10.253.21 0.0.0.0 area 2 network 10.10.254.0 0.0.0.15 area 0 network 10.10.255.3 0.0.0.0 area 0!no ip http serverno ip http secure-serv
18、er!control-plane! !line con 0 exec-timeout 0 0 privilege level 15 logging synchronousline aux 0 exec-timeout 0 0 privilege level 15 logging synchronousline vty 0 4 login!endR3# WRBuilding configuration.OKR4#SHOW RUNBuilding configuration.Current configuration : 1409 bytes!version 12.4service timesta
19、mps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R4!boot-start-markerboot-end-marker!no aaa new-modelmemory-size iomem 5no ip icmp rate-limit unreachableip tcp synwait-time 5!ip cefno ip domain lookup! ! !interface Loopback0 ip address 10.10.255.4 25
20、5.255.255.255!interface Loopback1 ip address 10.10.8.1 255.255.255.0!interface Loopback2 ip address 10.10.9.1 255.255.255.0!interface Loopback3 ip address 10.10.10.1 255.255.255.0!interface Serial0/0 ip address 10.10.253.2 255.255.255.252 ip ospf network broadcast serial restart-delay 0!interface Se
21、rial0/1 no ip address shutdown serial restart-delay 0!interface Serial0/2 no ip address shutdown serial restart-delay 0!interface Serial0/3 no ip address shutdown serial restart-delay 0!router ospf 1 router-id 10.10.255.4 log-adjacency-changes network 10.10.8.0 0.0.0.255 area 1 network 10.10.9.0 0.0
22、.0.255 area 1 network 10.10.10.0 0.0.0.255 area 1 network 10.10.253.0 0.0.0.3 area 1 network 10.10.255.4 0.0.0.0 area 1!no ip http serverno ip http secure-server! control-plane!line con 0 exec-timeout 0 0 privilege level 15 logging synchronousline aux 0 exec-timeout 0 0 privilege level 15 logging sy
23、nchronousline vty 0 4 login! endR4#PING 10.10.12.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.10.12.1, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 172/272/400 msR4#PING 10.10.13.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos
24、 to 10.10.13.1, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 300/377/520 msR4#PING 10.10.255.5Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.10.255.5, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 224/366/61
25、2 msR4#PING 10.10.255.3Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.10.255.3, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 172/297/536 msR4#PING 10.10.255.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.10.255.2, timeout
26、is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 96/211/332 msR4#PING 10.10.255.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.10.255.1, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 16/103/284 msR4#SHOW IP ROUTR4#SHOW
27、 IP ROUTe Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-
28、1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 10.0.0.0/8 is variably subnetted, 14 subnets, 4 masksC 10.10.8.0/24 is directly connected, Loopback1C 10.10.9.0/24 is directly connected, Loopback2C 10.10.10.0/24 is directly connected, Loopback3O IA 10.10.13.1/32 110/193 via 10.10.253.1, 00:21:33, Serial0/0O IA 1
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1