Million common configuration is here.
enable configure terminal ! no ip domain-lookup line console 0 no login exec-timeout 0 0 logging synchronous privilege level 15 exit line vty 0 15 no login privilege level 15 exit ! hostname R
configure terminal ! interface GigabitEthernet 0/1 ip address 192.168.1.1 255.255.255.0 no shutdown interface GigabitEthernet 0/2 ip address 192.168.2.1 255.255.255.0 no shutdown ! router eigrp N-EIGRP address-family ipv4 unicast autonomous-system 1 router-id 1.1.1.1 network 192.168.1.1 0.0.0.0 network 192.168.2.1 0.0.0.0 exit-address-family exit ! end
configure terminal ! interface GigabitEthernet 0/1 ip address 192.168.2.2 255.255.255.0 no shutdown interface GigabitEthernet 0/2 ip address 10.0.3.2 255.255.255.0 no shutdown ! router eigrp N-EIGRP address-family ipv4 unicast autonomous-system 1 network 192.168.2.2 0.0.0.0 topology base ! redistribute from ospf to eigrp ! bandwidth[kbps], delay[10us], reliability 100%, load 1, MTU 1500 redistribute ospf 1 metric 1000000 1 255 1 1500 exit-af-topology exit-address-family exit ! router ospf 1 router-id 2.2.2.2 network 10.0.3.2 0.0.0.0 area 0 exit ! end
configure terminal ! interface GigabitEthernet 0/1 ip address 10.0.3.3 255.255.255.0 no shutdown interface GigabitEthernet 0/2 ip address 10.10.4.3 255.255.255.0 no shutdown ! router ospf 1 router-id 3.3.3.3 network 10.0.3.3 0.0.0.0 area 0 network 10.10.4.3 0.0.0.0 area 10 exit ! end
configure terminal ! interface GigabitEthernet 0/1 ip address 10.10.4.4 255.255.255.0 no shutdown interface GigabitEthernet 0/2 ip address 10.10.5.4 255.255.255.0 no shutdown ! router ospf 1 router-id 4.4.4.4 network 10.10.4.4 0.0.0.0 area 10 network 10.10.5.4 0.0.0.0 area 10 exit ! end
618d7c21-ospf-stub-initial-state-r2-ge0-2.pcapng
618d7c21-ospf-stub-initial-state-r3-ge0-2.pcapng
show ip route ospf
show ip protocols | section ospf
show ip ospf database
ospf && !ospf.hello ospf && ospf.lsa.summary ospf && ospf.lsa.asbr ospf && ospf.lsa.asext
R2#sh ip ospf database topology OSPF Router with ID (2.2.2.2) (Process ID 1) Base Topology (MTID 0) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count 2.2.2.2 2.2.2.2 1485 0x80000006 0x00807C 1 3.3.3.3 3.3.3.3 807 0x80000007 0x003DB6 1 Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.0.3.3 3.3.3.3 807 0x80000003 0x004ABD Summary Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.10.4.0 3.3.3.3 807 0x80000003 0x000E08 10.10.5.0 3.3.3.3 807 0x80000003 0x000D07 Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag 192.168.1.0 2.2.2.2 1485 0x80000002 0x00EC40 0 192.168.2.0 2.2.2.2 1485 0x80000002 0x00E14A 0 R2#sh ip ospf database OSPF Router with ID (2.2.2.2) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count 2.2.2.2 2.2.2.2 1492 0x80000006 0x00807C 1 3.3.3.3 3.3.3.3 815 0x80000007 0x003DB6 1 Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.0.3.3 3.3.3.3 815 0x80000003 0x004ABD Summary Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.10.4.0 3.3.3.3 815 0x80000003 0x000E08 10.10.5.0 3.3.3.3 815 0x80000003 0x000D07 Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag 192.168.1.0 2.2.2.2 1492 0x80000002 0x00EC40 0 192.168.2.0 2.2.2.2 1492 0x80000002 0x00E14A 0 R2#
R3#sh ip ospf database OSPF Router with ID (3.3.3.3) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count 2.2.2.2 2.2.2.2 1641 0x80000006 0x00807C 1 3.3.3.3 3.3.3.3 962 0x80000007 0x003DB6 1 Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.0.3.3 3.3.3.3 962 0x80000003 0x004ABD Summary Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.10.4.0 3.3.3.3 962 0x80000003 0x000E08 10.10.5.0 3.3.3.3 962 0x80000003 0x000D07 Router Link States (Area 10) Link ID ADV Router Age Seq# Checksum Link count 3.3.3.3 3.3.3.3 962 0x80000006 0x0028B5 1 4.4.4.4 4.4.4.4 934 0x80000006 0x00CEDC 2 Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 10.10.4.4 4.4.4.4 934 0x80000003 0x00F2FC Summary Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 10.0.3.0 3.3.3.3 962 0x80000003 0x00918F Summary ASB Link States (Area 10) Link ID ADV Router Age Seq# Checksum 2.2.2.2 3.3.3.3 1721 0x80000002 0x00CC59 Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag 192.168.1.0 2.2.2.2 1641 0x80000002 0x00EC40 0 192.168.2.0 2.2.2.2 1641 0x80000002 0x00E14A 0 R3#
R4#sh ip ospf database OSPF Router with ID (4.4.4.4) (Process ID 1) Router Link States (Area 10) Link ID ADV Router Age Seq# Checksum Link count 3.3.3.3 3.3.3.3 971 0x80000006 0x0028B5 1 4.4.4.4 4.4.4.4 941 0x80000006 0x00CEDC 2 Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 10.10.4.4 4.4.4.4 941 0x80000003 0x00F2FC Summary Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 10.0.3.0 3.3.3.3 971 0x80000003 0x00918F Summary ASB Link States (Area 10) Link ID ADV Router Age Seq# Checksum 2.2.2.2 3.3.3.3 1730 0x80000002 0x00CC59 Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag 192.168.1.0 2.2.2.2 1650 0x80000002 0x00EC40 0 192.168.2.0 2.2.2.2 1650 0x80000002 0x00E14A 0
configure terminal ! router ospf 1 area 10 stub exit ! end
This timing, There is no route redistribution.
618d7c21-44d7c690-standard-area-r2-ge0-2.pcapng
618d7c21-44d7c690-standard-area-r3-ge0-2.pcapng
R2#sh ip ospf database OSPF Router with ID (2.2.2.2) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count 2.2.2.2 2.2.2.2 561 0x80000004 0x007E82 1 3.3.3.3 3.3.3.3 556 0x80000004 0x0043B3 1 Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.0.3.3 3.3.3.3 570 0x80000001 0x004EBB Summary Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.10.4.0 3.3.3.3 606 0x80000001 0x001206 10.10.5.0 3.3.3.3 556 0x80000001 0x001105 R2#sh ip ro ospf Codes: L - local, 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-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks O IA 10.10.4.0/24 [110/2] via 10.0.3.3, 00:09:31, GigabitEthernet0/2 O IA 10.10.5.0/24 [110/3] via 10.0.3.3, 00:09:21, GigabitEthernet0/2 R2#
R3#sh ip ospf database OSPF Router with ID (3.3.3.3) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count 2.2.2.2 2.2.2.2 579 0x80000004 0x007E82 1 3.3.3.3 3.3.3.3 572 0x80000004 0x0043B3 1 Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.0.3.3 3.3.3.3 586 0x80000001 0x004EBB Summary Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.10.4.0 3.3.3.3 622 0x80000001 0x001206 10.10.5.0 3.3.3.3 571 0x80000001 0x001105 Router Link States (Area 10) Link ID ADV Router Age Seq# Checksum Link count 3.3.3.3 3.3.3.3 301 0x80000007 0x00449A 1 4.4.4.4 4.4.4.4 303 0x80000007 0x00EAC1 2 Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 10.10.4.4 4.4.4.4 311 0x80000003 0x0011E0 Summary Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 0.0.0.0 3.3.3.3 316 0x80000001 0x0057DA 10.0.3.0 3.3.3.3 316 0x80000002 0x00B172 R3#
R4#sh ip ospf database OSPF Router with ID (4.4.4.4) (Process ID 1) Router Link States (Area 10) Link ID ADV Router Age Seq# Checksum Link count 3.3.3.3 3.3.3.3 315 0x80000007 0x00449A 1 4.4.4.4 4.4.4.4 316 0x80000007 0x00EAC1 2 Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 10.10.4.4 4.4.4.4 323 0x80000003 0x0011E0 Summary Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 0.0.0.0 3.3.3.3 330 0x80000001 0x0057DA 10.0.3.0 3.3.3.3 330 0x80000002 0x00B172 R4#sh ip ro ospf Codes: L - local, 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-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is 10.10.4.3 to network 0.0.0.0 O*IA 0.0.0.0/0 [110/2] via 10.10.4.3, 00:05:33, GigabitEthernet0/1 10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks O IA 10.0.3.0/24 [110/2] via 10.10.4.3, 00:05:43, GigabitEthernet0/1 R4# R4#ping 10.0.3.2.2 % Unrecognized host or address, or protocol not running. R4#ping 10.0.3.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.3.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/7 ms R4#ping 192.168.2.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds: U.U. Success rate is 0 percent (0/4) R4#
configure terminal ! router ospf 1 area 10 stub exit ! end
configure terminal ! router ospf 1 ! redistribute from eigrp to ospf redistribute eigrp 1 exit ! end
show ip protocols | section ospf
show ip ospf database
ospf && !ospf.hello ospf && ospf.lsa.summary ospf && ospf.lsa.asbr ospf && ospf.lsa.asext
R1#sh ip ro eigrp Codes: L - local, 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-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is not set 10.0.0.0/24 is subnetted, 3 subnets D EX 10.0.3.0 [170/15360] via 192.168.2.2, 00:24:05, GigabitEthernet0/2 D EX 10.10.4.0 [170/15360] via 192.168.2.2, 00:23:12, GigabitEthernet0/2 D EX 10.10.5.0 [170/15360] via 192.168.2.2, 00:23:02, GigabitEthernet0/2 R1#ping 10.10.5.4 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.10.5.4, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/6/10 ms R1#
R2#sh ip ospf database OSPF Router with ID (2.2.2.2) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count 2.2.2.2 2.2.2.2 94 0x80000005 0x00827B 1 3.3.3.3 3.3.3.3 1356 0x80000004 0x0043B3 1 Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.0.3.3 3.3.3.3 1370 0x80000001 0x004EBB Summary Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.10.4.0 3.3.3.3 1406 0x80000001 0x001206 10.10.5.0 3.3.3.3 1356 0x80000001 0x001105 Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag 192.168.1.0 2.2.2.2 94 0x80000001 0x00EE3F 0 192.168.2.0 2.2.2.2 94 0x80000001 0x00E349 0 R2#sh ip ro ospf *Jan 4 02:37:57.579: %PNP-6-PNP_DISCOVERY_STOPPED: PnP Discovery stopped (Config Wizard) R2#sh ip ro ospf Codes: L - local, 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-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks O IA 10.10.4.0/24 [110/2] via 10.0.3.3, 00:24:19, GigabitEthernet0/2 O IA 10.10.5.0/24 [110/3] via 10.0.3.3, 00:24:09, GigabitEthernet0/2 R2#ping 10.10.5.4 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.10.5.4, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 3/4/5 ms R2#sh ip ro ospf Codes: L - local, 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-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks O IA 10.10.4.0/24 [110/2] via 10.0.3.3, 00:26:36, GigabitEthernet0/2 O IA 10.10.5.0/24 [110/3] via 10.0.3.3, 00:26:26, GigabitEthernet0/2 R2#ping 192.168.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 3/4/5 ms R2#sh ip ro Codes: L - local, 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-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks C 10.0.3.0/24 is directly connected, GigabitEthernet0/2 L 10.0.3.2/32 is directly connected, GigabitEthernet0/2 O IA 10.10.4.0/24 [110/2] via 10.0.3.3, 00:27:14, GigabitEthernet0/2 O IA 10.10.5.0/24 [110/3] via 10.0.3.3, 00:27:04, GigabitEthernet0/2 D 192.168.1.0/24 [90/15360] via 192.168.2.1, 00:28:04, GigabitEthernet0/1 192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks C 192.168.2.0/24 is directly connected, GigabitEthernet0/1 L 192.168.2.2/32 is directly connected, GigabitEthernet0/1 R2#
R3#sh ip ospf database OSPF Router with ID (3.3.3.3) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count 2.2.2.2 2.2.2.2 219 0x80000005 0x00827B 1 3.3.3.3 3.3.3.3 1479 0x80000004 0x0043B3 1 Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.0.3.3 3.3.3.3 1494 0x80000001 0x004EBB Summary Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.10.4.0 3.3.3.3 1530 0x80000001 0x001206 10.10.5.0 3.3.3.3 1479 0x80000001 0x001105 Router Link States (Area 10) Link ID ADV Router Age Seq# Checksum Link count 3.3.3.3 3.3.3.3 1208 0x80000007 0x00449A 1 4.4.4.4 4.4.4.4 1211 0x80000007 0x00EAC1 2 Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 10.10.4.4 4.4.4.4 1219 0x80000003 0x0011E0 Summary Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 0.0.0.0 3.3.3.3 1224 0x80000001 0x0057DA 10.0.3.0 3.3.3.3 1224 0x80000002 0x00B172 Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag 192.168.1.0 2.2.2.2 219 0x80000001 0x00EE3F 0 192.168.2.0 2.2.2.2 219 0x80000001 0x00E349 0 R3#sh ip ro ospf Codes: L - local, 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-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks O 10.10.5.0/24 [110/2] via 10.10.4.4, 00:21:23, GigabitEthernet0/2 O E2 192.168.1.0/24 [110/20] via 10.0.3.2, 00:04:32, GigabitEthernet0/1 O E2 192.168.2.0/24 [110/20] via 10.0.3.2, 00:04:32, GigabitEthernet0/1 R3#
R4#ping 192.168.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 3/5/8 ms R4#ping 192.168.2.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 5/5/7 ms R4#ping 10.0.3.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.3.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/9 ms R4#sh ip ospf data R4#sh ip ospf database OSPF Router with ID (4.4.4.4) (Process ID 1) Router Link States (Area 10) Link ID ADV Router Age Seq# Checksum Link count 3.3.3.3 3.3.3.3 1278 0x80000007 0x00449A 1 4.4.4.4 4.4.4.4 1278 0x80000007 0x00EAC1 2 Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 10.10.4.4 4.4.4.4 1286 0x80000003 0x0011E0 Summary Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 0.0.0.0 3.3.3.3 1293 0x80000001 0x0057DA 10.0.3.0 3.3.3.3 1293 0x80000002 0x00B172 R4#sh ip ro ospf Codes: L - local, 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-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is 10.10.4.3 to network 0.0.0.0 O*IA 0.0.0.0/0 [110/2] via 10.10.4.3, 00:21:30, GigabitEthernet0/1 10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks O IA 10.0.3.0/24 [110/2] via 10.10.4.3, 00:21:40, GigabitEthernet0/1 R4#
configure terminal ! router ospf 1 area 10 stub no-summary exit ! end
configure terminal ! router ospf 1 area 10 stub exit ! end
configure terminal ! router ospf 1 ! redistribute from eigrp to ospf redistribute eigrp 1 exit ! end
618d7c21-bb4640f8-standard-area-r2-ge0-2.pcapng
618d7c21-bb4640f8-standard-area-r3-ge0-2.pcapng
show ip route ospf
show ip protocols | section ospf
show ip ospf database
ospf && !ospf.hello ospf && ospf.lsa.summary ospf && ospf.lsa.asbr ospf && ospf.lsa.asext
R1#sh ip ro eigrp Codes: L - local, 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-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is not set 10.0.0.0/24 is subnetted, 3 subnets D EX 10.0.3.0 [170/15360] via 192.168.2.2, 00:39:47, GigabitEthernet0/2 D EX 10.10.4.0 [170/15360] via 192.168.2.2, 00:38:54, GigabitEthernet0/2 D EX 10.10.5.0 [170/15360] via 192.168.2.2, 00:38:44, GigabitEthernet0/2 R1#
R2#sh ip ospf database OSPF Router with ID (2.2.2.2) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count 2.2.2.2 2.2.2.2 905 0x80000005 0x00827B 1 3.3.3.3 3.3.3.3 236 0x80000005 0x0041B4 1 Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.0.3.3 3.3.3.3 236 0x80000002 0x004CBC Summary Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.10.4.0 3.3.3.3 236 0x80000002 0x001007 10.10.5.0 3.3.3.3 236 0x80000002 0x000F06 Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag 192.168.1.0 2.2.2.2 905 0x80000001 0x00EE3F 0 192.168.2.0 2.2.2.2 905 0x80000001 0x00E349 0 R2#sh ip ro ospf Codes: L - local, 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-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks O IA 10.10.4.0/24 [110/2] via 10.0.3.3, 00:37:17, GigabitEthernet0/2 O IA 10.10.5.0/24 [110/3] via 10.0.3.3, 00:37:07, GigabitEthernet0/2 R2#
R3#sh ip ospf database OSPF Router with ID (3.3.3.3) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count 2.2.2.2 2.2.2.2 914 0x80000005 0x00827B 1 3.3.3.3 3.3.3.3 242 0x80000005 0x0041B4 1 Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.0.3.3 3.3.3.3 242 0x80000002 0x004CBC Summary Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.10.4.0 3.3.3.3 242 0x80000002 0x001007 10.10.5.0 3.3.3.3 242 0x80000002 0x000F06 Router Link States (Area 10) Link ID ADV Router Age Seq# Checksum Link count 3.3.3.3 3.3.3.3 1903 0x80000007 0x00449A 1 4.4.4.4 4.4.4.4 5 0x80000008 0x00E8C2 2 Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 10.10.4.4 4.4.4.4 5 0x80000004 0x000FE1 Summary Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 0.0.0.0 3.3.3.3 41 0x80000003 0x0053DC Type-5 AS External Link States Link ID ADV Router Age Seq# Checksum Tag 192.168.1.0 2.2.2.2 913 0x80000001 0x00EE3F 0 192.168.2.0 2.2.2.2 913 0x80000001 0x00E349 0 R3#sh ip ro ospf Codes: L - local, 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-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks O 10.10.5.0/24 [110/2] via 10.10.4.4, 00:02:12, GigabitEthernet0/2 O E2 192.168.1.0/24 [110/20] via 10.0.3.2, 00:02:12, GigabitEthernet0/1 O E2 192.168.2.0/24 [110/20] via 10.0.3.2, 00:02:12, GigabitEthernet0/1 R3#sh ip proo R3#sh ip proto R3#sh ip protocols | sec R3#sh ip protocols | section ospf Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 3.3.3.3 It is an area border router Number of areas in this router is 2. 1 normal 1 stub 0 nssa Maximum path: 4 Routing for Networks: 10.0.3.3 0.0.0.0 area 0 10.10.4.3 0.0.0.0 area 10 Routing Information Sources: Gateway Distance Last Update 2.2.2.2 110 00:02:22 4.4.4.4 110 00:02:22 4.4.4.4 110 00:02:22 Distance: (default is 110) R3#
R4#sh ip ospf database OSPF Router with ID (4.4.4.4) (Process ID 1) Router Link States (Area 10) Link ID ADV Router Age Seq# Checksum Link count 3.3.3.3 3.3.3.3 1910 0x80000007 0x00449A 1 4.4.4.4 4.4.4.4 10 0x80000008 0x00E8C2 2 Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 10.10.4.4 4.4.4.4 10 0x80000004 0x000FE1 Summary Net Link States (Area 10) Link ID ADV Router Age Seq# Checksum 0.0.0.0 3.3.3.3 48 0x80000003 0x0053DC R4#sh ip ro Codes: L - local, 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-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is 10.10.4.3 to network 0.0.0.0 O*IA 0.0.0.0/0 [110/2] via 10.10.4.3, 00:01:51, GigabitEthernet0/1 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks C 10.10.4.0/24 is directly connected, GigabitEthernet0/1 L 10.10.4.4/32 is directly connected, GigabitEthernet0/1 C 10.10.5.0/24 is directly connected, GigabitEthernet0/2 L 10.10.5.4/32 is directly connected, GigabitEthernet0/2 R4#sh ip ro ospf Codes: L - local, 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-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is 10.10.4.3 to network 0.0.0.0 O*IA 0.0.0.0/0 [110/2] via 10.10.4.3, 00:01:56, GigabitEthernet0/1 R4#ping 192.168.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 3/4/6 ms R4#ping 10.0.3.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.3.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 3/3/4 ms R4#sh ip ospf pro R4#sh ip pro R4#sh ip protocols | sec R4#sh ip protocols | section ospf Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 4.4.4.4 Number of areas in this router is 1. 0 normal 1 stub 0 nssa Maximum path: 4 Routing for Networks: 10.10.4.4 0.0.0.0 area 10 10.10.5.4 0.0.0.0 area 10 Routing Information Sources: Gateway Distance Last Update 3.3.3.3 110 00:04:36 3.3.3.3 110 00:04:36 Distance: (default is 110) R4#