MultiAreaOSPF-RicksLabs.pdf

Embed Size (px)

Citation preview

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    1/37

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    2/37

    2

    Notes:

    Instructors: Although there are some explanation contained in this lab, it is designed tocoincide with the Multi-area OSPF PowerPoint lesson. The information in the PowerPointexplains much of the information and output in this lab. If you need access to thisPowerPoint, please email me, Rick Graziani, at [email protected].

    Verification commands used in this lab: show ip ospf show ip ospf neighbor show ip ospf data show ip ospf border show ip ospf route

    A command that was not included, but is highly recommended, is show ip ospfinterface.

    Equipment used: ASBR: Cisco 2622 ABR-1: Cisco 2621 ABR-2: Cisco 1720 Internal: Cisco 1720

    Notes: Loopback1 is used to simulate 172.16.51.1/24 interface. Interfaces with clock rate may vary upon your configuration.

    I would suggest using the following commands to keep debug information frominterfering with other output and to keep the router from timing out.

    line con 0

    logging synchronous

    exec-timeout 0 0

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    3/37

    3

    Lab 1: OSPF Normal Areas

    ObjectiveIn this lab, students will configure a multiarea OSPF operation. There are no default routes on the ASBR.Students will learn how to configure routers for multiarea OSPF. Students will also become familiar with theoutput associated with show ip ospf database and other commands, knowing what they should expect to seewhen the routers are properly configured.

    Router Configs

    ASBR

    Cur r ent conf i gur at i on:ver si on 12. 0!host name ASBR!interface Loopback0

    ip address 192.168.1.1 255.255.255.255

    !i nt er f ace Fast Et her net 0/ 0i p addr ess 172. 16. 1. 1 255. 255. 255. 0

    !i nt er f ace Fast Et her net 0/ 1i p addr ess 10. 1. 0. 1 255. 255. 255. 0

    !router ospf 1

    redistribute static

    network 172.16.1.0 0.0.0.255 area 0

    !i p cl assl essip route 11.0.0.0 255.0.0.0 Null0

    ip route 12.0.0.0 255.0.0.0 Null0

    ip route 13.0.0.0 255.0.0.0 Null0

    !

    ABR-1

    Cur r ent conf i gur at i on:ver si on 12. 0!host name ABR- 1!interface Loopback0

    ip address 192.168.2.1 255.255.255.255

    !i nt er f ace Loopback1i p addr ess 172. 16. 51. 1 255. 255. 255. 0

    !i nt er f ace Fast Et her net 0/ 0i p addr ess 172. 16. 1. 2 255. 255. 255. 0ip ospf priority 200

    !router ospf 1

    network 172.16.1.0 0.0.0.255 area 0

    network 172.16.51.0 0.0.0.255 area 51

    !i p cl assl ess!

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    4/37

    4

    ABR-2

    Cur r ent conf i gur at i on:ver si on 12. 0!host name ABR- 2!interface Loopback1

    ip address 192.168.3.1 255.255.255.255

    !i nt er f ace Ser i al 0i p addr ess 172. 16. 10. 5 255. 255. 255. 252

    !i nt er f ace Fast Et her net 0i p addr ess 172. 16. 1. 3 255. 255. 255. 0ip ospf priority 100

    !router ospf 1

    network 172.16.1.0 0.0.0.255 area 0

    network 172.16.10.4 0.0.0.3 area 1

    !i p cl assl ess!

    Internal

    Cur r ent conf i gur at i on:ver si on 12. 0!host name I nt ernal!interface Loopback0

    ip address 192.168.4.1 255.255.255.255

    !i nt er f ace Ser i al 0

    i p addr ess 172. 16. 10. 6 255. 255. 255. 252cl ockr ate 64000!i nt er f ace Fast Et her net 0i p addr ess 172. 16. 20. 1 255. 255. 255. 0

    !router ospf 1

    network 172.16.0.0 0.0.255.255 area 1

    !i p cl assl ess!

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    5/37

    5

    ASBR: Normal Area Outputs

    ASBR#show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODR

    P - per i odi c downl oaded st at i c r out e

    Gat eway of l ast r esor t i s not set

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 4 subnet s, 3 masksO I A 172. 16. 51. 1/ 32 [ 110/ 2] vi a 172. 16. 1. 2, 00: 02: 54, Fast Et her net 0/ 0O I A 172. 16. 20. 0/ 24 [ 110/ 783] vi a 172. 16. 1. 3, 00: 02: 54, Fast Et her net0/ 0O I A 172. 16. 10. 4/ 30 [ 110/ 782] vi a 172. 16. 1. 3, 00: 02: 54, Fast Et her net0/ 0C 172. 16. 1. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0/ 0

    10. 0. 0. 0/ 24 i s subnet t ed, 1 subnet sC 10. 1. 0. 0 i s di r ect l y connect ed, Fast Et her net 0/ 1S 11. 0. 0. 0/ 8 i s di r ect l y connect ed, Nul l 0S 12. 0. 0. 0/ 8 i s di r ect l y connect ed, Nul l 0

    192. 168. 1. 0/ 32 i s subnet t ed, 1 subnetsC 192. 168. 1. 1 i s di r ect l y connect ed, Loopback0S 13. 0. 0. 0/ 8 i s di r ect l y connect ed, Nul l 0ASBR#

    Notice which routes are OSPF inter area routes. The three static routes are redistributed to other routers via the ASBR using the command:

    router ospf 1

    redistribute static

    o This command is discussed later in the chapter on Route Optimization. LSA 1 and LSA 2: Denoted by O or C LSA 3: Denoted by IA LSA 5: Denoted by E1 or E2 (default)

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    6/37

    6

    ASBR#show ip ospf nei

    Nei ghbor I D Pr i St ate Dead Ti me Addr ess I nt er f ace192. 168. 3. 1 100 FULL/ BDR 00: 00: 37 172. 16. 1. 3 Fast Et hernet0/ 0192. 168. 2. 1 200 FULL/ DR 00: 00: 33 172. 16. 1. 2 Fast Et hernet0/ 0

    Notice that the router with the highest ip ospf priority is the DR and the second highest is the BDR.

    ASBR#show ip ospfRout i ng Pr ocess " ospf 1" wi t h I D 192. 168. 1. 1Suppor t s onl y si ngl e TOS( TOS0) r out esI t i s an aut onomous syst emboundary rout erRedi st r i but i ng Exter nal Rout es f r om,

    s tat i cSPF schedul e del ay 5 secs, Hol d t i me bet ween t wo SPFs 10 secsMi ni mum LSA i nt erval 5 secs. Mi ni mum LSA ar r i val 1 secsNumber of ext ernal LSA 3. ChecksumSum 0x97E3Number of DCbi t l ess external LSA 0Number of DoNot Age ext er nal LSA 0Number of areas i n t hi s r out er i s 1. 1 nor mal 0 st ub 0 nssaExt er nal f l ood l i st l engt h 0

    Area BACKBONE( 0)Number of i nt er f aces i n t hi s area i s 1Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 36 t i mesAr ea r anges ar eNumber of LSA 8. Checksum Sum 0x507DBNumber of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    Besides the information this command provides that we saw in single area OSPF, this command also

    includes information regarding:o The type of router it is.o If any routes are being redistributed by this router.o Number of areas in this router, including number of normal, stub and nssa areas.o Specific OSPF information per area.

    ASBR#show ip ospf border

    OSPF Process 1 i nternal Rout i ng Tabl e

    Codes: i - I nt r a- ar ea r out e, I - I nt er - ar ea r out e

    i 192. 168. 2. 1 [ 1] vi a 172. 16. 1. 2, Fast Et her net 0/ 0, ABR, Ar ea 0, SPF 36i 192. 168. 3. 1 [ 1] vi a 172. 16. 1. 3, Fast Et her net 0/ 0, ABR, Ar ea 0, SPF 36ASBR#

    o This command will displays any ABRs in the area or any ASBRs in the OSPF routing domain.

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    7/37

    7

    ASBR: Normal Area Outputs

    ASBR#show ip ospf data

    OSPF Rout er wi t h I D ( 192. 168. 1. 1) ( Process I D 1)

    Rout er Li nk St ates ( Ar ea 0)

    Li nk I D ADV Router Age Seq# ChecksumLi nk count172. 16. 10. 5 172. 16. 10. 5 412 0x8000000F 0x6F9C 1192. 168. 1. 1 192. 168. 1. 1 201 0x80000012 0x8D3D 1192. 168. 2. 1 192. 168. 2. 1 205 0x80000016 0x7E46 1192. 168. 3. 1 192. 168. 3. 1 205 0x80000005 0x9C36 1

    Net Li nk St at es ( Ar ea 0)

    Li nk I D ADV Rout er Age Seq# Checksum172. 16. 1. 2 192. 168. 2. 1 201 0x8000000D 0xCFE8

    Summar y Net Li nk St at es ( Ar ea 0)

    Li nk I D ADV Rout er Age Seq# Checksum172. 16. 10. 4 192. 168. 3. 1 278 0x80000001 0xD126172. 16. 20. 0 192. 168. 3. 1 278 0x80000001 0xA746172. 16. 51. 1 192. 168. 2. 1 206 0x80000005 0xA832

    Type- 5 AS Ext er nal Li nk St at es

    Li nk I D ADV Rout er Age Seq# Checksum Tag11. 0. 0. 0 192. 168. 1. 1 648 0x80000001 0x3FEA 012. 0. 0. 0 192. 168. 1. 1 649 0x80000001 0x32F6 013. 0. 0. 0 192. 168. 1. 1 649 0x80000001 0x2503 0ASBR#

    Understanding the output: (Use the information below when viewing output for show ip ospf database output

    from the other routers and with the other labs.) Router Link States (LSA 1)

    o Router Link States (LSA1s) should display all the RouterIDs of routers in that area, including itsown.

    o Link State ID is always the same as the Advertising Router.o ADV Router is the Router ID of the router that created this LSA 1.

    Net Link States (LSA 2)o Net Link States (LSA2s) should display the RouterIDs of the DRs on all multi-access networks

    in the area and their IP addresses.o Link ID is the IP address of DR on MultiAccess Network.o ADV Router is the Router ID of the DR.

    Summary Link States (LSA 3)

    o Should see networks in other areas and the ABR advertising that route.

    o Link ID is the IP network addresses of networks in other areaso ADV Router is the ABR Router ID sending the LSA-3. Summary ASB Link States (LSA 4)

    o Routers in non-area 0, should see Router ID of ASBR and its ABR to get there.o Link ID is the Router ID of ASBRo ADV Router is the Router ID of the ABR advertising route

    Type-5 AS External Link States (LSA 5)o All Routers should see External networks and the Router ID of ASBR to get thereo Link ID is the External Networko ADV Router is the Router ID of ASBR advertising the LSA 5.

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    8/37

    8

    ABR-1: Normal Area Outputs

    ABR- 1#show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGP

    Gat eway of l ast r esor t i s not set

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 4 subnet s, 2 masksC 172. 16. 51. 0/ 24 i s di r ect l y connect ed, Loopback1O I A 172. 16. 20. 0/ 24 [ 110/ 783] vi a 172. 16. 1. 3, 00: 08: 17, Fast Et her net0/ 0O I A 172. 16. 10. 4/ 30 [ 110/ 782] vi a 172. 16. 1. 3, 00: 08: 17, Fast Et her net0/ 0C 172. 16. 1. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0/ 0O E2 11. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 08: 17, Fast Et her net 0/ 0O E2 12. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 08: 17, Fast Et her net 0/ 0O E2 13. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 08: 17, Fast Et her net 0/ 0

    192. 168. 2. 0/ 32 i s subnet t ed, 1 subnetsC 192. 168. 2. 1 i s di r ect l y connect ed, Loopback0ABR- 1#

    Notice the external routes, received from the ASBR. LSA 1 and LSA 2: Denoted by O or C LSA 3: Denoted by IA LSA 5: Denoted by E1 or E2 (default)

    ABR- 1#show ip ospf nei

    Nei ghbor I D Pr i St ate Dead Ti me Addr ess I nt er f ace192. 168. 3. 1 100 FULL/ BDR 00: 00: 35 172. 16. 1. 3 Fast Et hernet0/ 0192. 168. 1. 1 1 FULL/ DROTHER 00: 00: 32 172. 16. 1. 1 Fast Ether net 0/ 0ABR- 1#

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    9/37

    9

    ABR- 1#show ip ospfRout i ng Pr ocess " ospf 1" wi t h I D 192. 168. 2. 1Suppor t s onl y si ngl e TOS( TOS0) r out esI t i s an ar ea bor der r out erSPF schedul e del ay 5 secs, Hol d t i me bet ween t wo SPFs 10 secsMi ni mum LSA i nt erval 5 secs. Mi ni mum LSA ar r i val 1 secsNumber of ext ernal LSA 3. ChecksumSum 0x97E3Number of DCbi t l ess external LSA 0Number of DoNot Age ext er nal LSA 0

    Number of areas i n t hi s r out er i s 2. 2 nor mal 0 st ub 0 nssaExt er nal f l ood l i st l engt h 0Area BACKBONE( 0)

    Number of i nt er f aces i n t hi s area i s 1Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 38 t i mesAr ea r anges ar eNumber of LSA 11. Checksum Sum 0x752B2Number of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    Ar ea 51Number of i nt er f aces i n t hi s area i s 1Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 17 t i mesAr ea r anges ar eNumber of LSA 5. Checksum Sum 0x32392Number of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    ABR- 1#

    o Notice the information for multiple areas for this ABR.

    ABR- 1#show ip ospf border

    OSPF Process 1 i nt ernal Rout i ng Tabl e

    Codes: i - I nt r a- ar ea r out e, I - I nt er - ar ea r out e

    i 192. 168. 1. 1 [ 1] vi a 172. 16. 1. 1, Fast Et her net 0/ 0, ASBR, Ar ea 0, SPF 38i 192. 168. 3. 1 [ 1] vi a 172. 16. 1. 3, Fast Et her net 0/ 0, ABR, Ar ea 0, SPF 38ABR- 1#

    o This command will displays any ABRs in the area or any ASBRs in the OSPF routing domain.

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    10/37

    10

    ABR-1: Normal Area Outputs

    ABR- 1#show ip ospf data

    OSPF Rout er wi t h I D ( 192. 168. 2. 1) ( Process I D 1)

    Rout er Li nk St ates ( Ar ea 0)

    Li nk I D ADV Router Age Seq# ChecksumLi nk count172. 16. 10. 5 172. 16. 10. 5 751 0x8000000F 0x6F9C 1192. 168. 1. 1 192. 168. 1. 1 540 0x80000012 0x8D3D 1192. 168. 2. 1 192. 168. 2. 1 543 0x80000016 0x7E46 1192. 168. 3. 1 192. 168. 3. 1 543 0x80000005 0x9C36 1

    Net Li nk St at es ( Ar ea 0)

    Li nk I D ADV Rout er Age Seq# Checksum172. 16. 1. 2 192. 168. 2. 1 539 0x8000000D 0xCFE8

    Summar y Net Li nk St at es ( Ar ea 0)

    Li nk I D ADV Rout er Age Seq# Checksum172. 16. 10. 4 192. 168. 3. 1 617 0x80000001 0xD126172. 16. 20. 0 192. 168. 3. 1 617 0x80000001 0xA746172. 16. 51. 1 192. 168. 2. 1 544 0x80000005 0xA832

    Rout er Li nk St ates ( Ar ea 51)

    Li nk I D ADV Router Age Seq# ChecksumLi nk count192. 168. 2. 1 192. 168. 2. 1 585 0x8000000B 0x855 1

    Summar y Net Li nk St at es ( Ar ea 51)

    Li nk I D ADV Rout er Age Seq# Checksum

    172. 16. 1. 0 192. 168. 2. 1 531 0x80000001 0xE22F172. 16. 10. 4 192. 168. 2. 1 531 0x80000001 0xE215172. 16. 20. 0 192. 168. 2. 1 531 0x80000001 0xB835

    Summar y ASB Li nk Stat es ( Ar ea 51)

    Li nk I D ADV Rout er Age Seq# Checksum192. 168. 1. 1 192. 168. 2. 1 531 0x80000001 0x9EC4

    Type- 5 AS Ext er nal Li nk St at es

    Li nk I D ADV Rout er Age Seq# Checksum Tag11. 0. 0. 0 192. 168. 1. 1 988 0x80000001 0x3FEA 012. 0. 0. 0 192. 168. 1. 1 988 0x80000001 0x32F6 013. 0. 0. 0 192. 168. 1. 1 988 0x80000001 0x2503 0ABR- 1#

    o Notice the output for multiple areas.o LSA 5s(Type-5 AS External Link States) are not listed per area, but one set per router.

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    11/37

    11

    ABR-2: Normal Area Outputs

    ABR- 2#show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGP

    Gat eway of l ast r esor t i s not set

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 4 subnet s, 3 masksO I A 172. 16. 51. 1/ 32 [ 110/ 2] vi a 172. 16. 1. 2, 00: 11: 44, Fast Et her net 0O 172. 16. 20. 0/ 24 [ 110/ 782] vi a 172. 16. 10. 6, 00: 12: 29, Ser i al 0C 172. 16. 10. 4/ 30 i s di r ect l y connect ed, Ser i al 0C 172. 16. 1. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0O E2 11. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 11: 44, Fast Et her net 0O E2 12. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 11: 44, Fast Et her net 0O E2 13. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 11: 44, Fast Et her net 0

    192. 168. 3. 0/ 32 i s subnet t ed, 1 subnetsC 192. 168. 3. 1 i s di r ect l y connect ed, Loopback1ABR- 2#

    LSA 1 and LSA 2: Denoted by O or C LSA 3: Denoted by IA LSA 5: Denoted by E1 or E2 (default)

    ABR- 2#show ip ospf nei

    Nei ghbor I D Pr i St ate Dead Ti me Addr ess I nt er f ace192. 168. 1. 1 1 FULL/ DROTHER 00: 00: 34 172. 16. 1. 1 Fast Ether net 0192. 168. 2. 1 200 FULL/ DR 00: 00: 33 172. 16. 1. 2 Fast Et hernet0192. 168. 4. 1 1 FULL/ - 00: 00: 37 172. 16. 10. 6 Ser i al 0ABR- 2#

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    12/37

    12

    ABR- 2#show ip ospfRout i ng Pr ocess " ospf 1" wi t h I D 192. 168. 3. 1Suppor t s onl y si ngl e TOS( TOS0) r out esI t i s an ar ea bor der r out erSPF schedul e del ay 5 secs, Hol d t i me bet ween t wo SPFs 10 secsMi ni mum LSA i nt erval 5 secs. Mi ni mum LSA ar r i val 1 secsNumber of ext ernal LSA 3. ChecksumSum 0x97E3Number of DCbi t l ess external LSA 0Number of DoNot Age ext er nal LSA 0

    Number of areas i n t hi s r out er i s 2. 2 nor mal 0 st ub 0 nssaExt er nal f l ood l i st l engt h 0Area BACKBONE( 0)

    Number of i nt er f aces i n t hi s area i s 1Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 8 t i mesAr ea r anges ar eNumber of LSA 8. Checksum Sum 0x507DBNumber of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    Ar ea 1Number of i nt er f aces i n t hi s area i s 1Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 5 t i mesAr ea r anges ar eNumber of LSA 5. Checksum Sum 0x3E5C8Number of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    13/37

    13

    ABR-2: Normal Area Outputs

    ABR- 2#show ip ospf data

    OSPF Rout er wi t h I D ( 192. 168. 3. 1) ( Process I D 1)

    Rout er Li nk St ates ( Ar ea 0)

    Li nk I D ADV Router Age Seq# ChecksumLi nk count

    172. 16. 10. 5 172. 16. 10. 5 954 0x8000000F 0x6F9C 1192. 168. 1. 1 192. 168. 1. 1 743 0x80000012 0x8D3D 1192. 168. 2. 1 192. 168. 2. 1 746 0x80000016 0x7E46 1192. 168. 3. 1 192. 168. 3. 1 746 0x80000005 0x9C36 1

    Net Li nk St at es ( Ar ea 0)

    Li nk I D ADV Rout er Age Seq# Checksum172. 16. 1. 2 192. 168. 2. 1 743 0x8000000D 0xCFE8

    Summar y Net Li nk St at es ( Ar ea 0)

    Li nk I D ADV Rout er Age Seq# Checksum172. 16. 10. 4 192. 168. 3. 1 787 0x80000001 0xD126172. 16. 20. 0 192. 168. 3. 1 787 0x80000001 0xA746172. 16. 51. 1 192. 168. 2. 1 748 0x80000005 0xA832

    Rout er Li nk St ates ( Ar ea 1)

    Li nk I D ADV Router Age Seq# ChecksumLi nk count192. 168. 3. 1 192. 168. 3. 1 786 0x80000003 0xCE56 2192. 168. 4. 1 192. 168. 4. 1 828 0x80000003 0xFD44 3

    Summar y Net Li nk St at es ( Ar ea 1)

    Li nk I D ADV Rout er Age Seq# Checksum172. 16. 1. 0 192. 168. 3. 1 737 0x80000005 0xD339

    172. 16. 51. 1 192. 168. 3. 1 733 0x80000001 0xB329

    Summar y ASB Li nk Stat es ( Ar ea 1)

    Li nk I D ADV Rout er Age Seq# Checksum192. 168. 1. 1 192. 168. 3. 1 801 0x80000003 0x93CC

    Type- 5 AS Ext er nal Li nk St at es

    Li nk I D ADV Rout er Age Seq# Checksum Tag11. 0. 0. 0 192. 168. 1. 1 1191 0x80000001 0x3FEA 012. 0. 0. 0 192. 168. 1. 1 1191 0x80000001 0x32F6 013. 0. 0. 0 192. 168. 1. 1 1191 0x80000001 0x2503 0ABR- 2#

    ABR- 2#show ip ospf border

    OSPF Process 1 i nt ernal Rout i ng Tabl e

    Codes: i - I nt r a- ar ea r out e, I - I nt er - ar ea r out e

    i 192. 168. 1. 1 [ 1] vi a 172. 16. 1. 1, Fast Et her net 0, ASBR, Ar ea 0, SPF 8i 192. 168. 2. 1 [1] vi a 172. 16. 1. 2, Fast Et her net 0, ABR, Ar ea 0, SPF 8ABR- 2#

    o This command will displays any ABRs in the area or any ASBRs in the OSPF routing domain.

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    14/37

    14

    Internal: Normal Area Outputs

    I nt er nal #show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODR

    P - per i odi c downl oaded st at i c r out e

    Gat eway of l ast r esor t i s not set

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 4 subnet s, 3 masksO I A 172. 16. 51. 1/ 32 [ 110/ 783] vi a 172. 16. 10. 5, 00: 13: 48, Ser i al 0C 172. 16. 20. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0C 172. 16. 10. 4/ 30 i s di r ect l y connect ed, Ser i al 0O I A 172. 16. 1. 0/ 24 [ 110/ 782] vi a 172. 16. 10. 5, 00: 13: 53, Ser i al 0

    192. 168. 4. 0/ 32 i s subnet t ed, 1 subnetsC 192. 168. 4. 1 i s di r ect l y connect ed, Loopback0O E2 11. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 10. 5, 00: 14: 41, Ser i al 0O E2 12. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 10. 5, 00: 14: 41, Ser i al 0O E2 13. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 10. 5, 00: 14: 42, Ser i al 0I nt er nal #

    LSA 1 and LSA 2: Denoted by O or C LSA 3: Denoted by IA LSA 5: Denoted by E1 or E2 (default)

    I nt er nal #show ip ospf nei

    Nei ghbor I D Pr i St ate Dead Ti me Addr ess I nt er f ace192. 168. 3. 1 1 FULL/ - 00: 00: 39 172. 16. 10. 5 Ser i al 0I nt er nal #

    I nt er nal #show ip ospfRout i ng Pr ocess " ospf 1" wi t h I D 192. 168. 4. 1Suppor t s onl y si ngl e TOS( TOS0) r out esSPF schedul e del ay 5 secs, Hol d t i me bet ween t wo SPFs 10 secsMi ni mum LSA i nt erval 5 secs. Mi ni mum LSA ar r i val 1 secsNumber of ext ernal LSA 3. ChecksumSum 0x97E3Number of DCbi t l ess external LSA 0Number of DoNot Age ext er nal LSA 0Number of areas i n t hi s r out er i s 1. 1 nor mal 0 st ub 0 nssaExt er nal f l ood l i st l engt h 0

    Ar ea 1Number of i nt er f aces i n t hi s area i s 2Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 5 t i mesAr ea r anges ar eNumber of LSA 5. Checksum Sum 0x3E5C8Number of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    I nt er nal #

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    15/37

    15

    Internal: Normal Area Outputs

    I nt er nal #show ip ospf data

    OSPF Rout er wi t h I D ( 192. 168. 4. 1) ( Process I D 1)

    Rout er Li nk St ates ( Ar ea 1)

    Li nk I D ADV Router Age Seq# ChecksumLi nk count

    192. 168. 3. 1 192. 168. 3. 1 898 0x80000003 0xCE56 2192. 168. 4. 1 192. 168. 4. 1 937 0x80000003 0xFD44 3

    Summar y Net Li nk St at es ( Ar ea 1)

    Li nk I D ADV Rout er Age Seq# Checksum172. 16. 1. 0 192. 168. 3. 1 848 0x80000005 0xD339172. 16. 51. 1 192. 168. 3. 1 843 0x80000001 0xB329

    Summar y ASB Li nk Stat es ( Ar ea 1)

    Li nk I D ADV Rout er Age Seq# Checksum192. 168. 1. 1 192. 168. 3. 1 912 0x80000003 0x93CC

    Type- 5 AS Ext er nal Li nk St at es

    Li nk I D ADV Rout er Age Seq# Checksum Tag11. 0. 0. 0 192. 168. 1. 1 1302 0x80000001 0x3FEA 012. 0. 0. 0 192. 168. 1. 1 1303 0x80000001 0x32F6 013. 0. 0. 0 192. 168. 1. 1 1303 0x80000001 0x2503 0I nt er nal #

    I nt er nal #show ip ospf border

    OSPF Process 1 i nt ernal Rout i ng Tabl e

    Codes: i - I nt r a- ar ea r out e, I - I nt er - ar ea r out e

    I 192. 168. 1. 1 [ 782] vi a 172. 16. 10. 5, Ser i al 0, ASBR, Ar ea 1, SPF 5i 192. 168. 3. 1 [781] vi a 172. 16. 10. 5, Ser i al 0, ABR, Ar ea 1, SPF 5I nt er nal #

    o This command will displays any ABRs in the area or any ASBRs in the OSPF routing domain.

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    16/37

    16

    Lab 2: OSPF Stub Area 1

    No default route on ASBR No default-information originate on ASBR

    ASBR

    ABR-1 ABR-2

    InternalArea 51

    Area 1

    Area 0

    172.16.0.0/16

    172.16.1.0/24

    172.16.51.0/24 172.16.10.4/30

    172.16.20.0/24

    10.1.0.0/24

    11.0.0.0/8

    12.0.0.0/8

    13.0.0.0/8

    .1

    .1

    .2 .3

    .5

    .6

    .1

    Lo - RouterID

    192.168.2.1/32

    Lo - RouterID

    192.168.1.1/32

    Lo - RouterID

    192.168.3.1/32Pri 100Pri 200

    Lo - RouterID

    192.168.4.1/32

    Changes in configs

    ABR-2 (Add this command)

    r out er ospf 1network 172. 16. 1. 0 0. 0. 0. 255 area 0networ k 172.area 1 stub

    16. 10. 4 0. 0. 0. 3 ar ea 1

    !

    Internal (Add this command)

    r out er ospf 1networ k 172.area 1 stub

    16. 0. 0 0. 0. 255. 255 area 1

    !

    Changes in outputs follow

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    17/37

    ABR-2: Area 1 Stub

    ABR- 2#show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er ar eaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODR

    P - per i odi c downl oaded st at i c r out eGat eway of l ast r esor t i s not set

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 4 subnet s, 3 masksO I A 172. 16. 51. 1/ 32 [ 110/ 2] vi a 172. 16. 1. 2, 00: 01: 59, Fast Et hernet 0O 172. 16. 20. 0/ 24 [ 110/ 782] vi a 172. 16. 10. 6, 00: 01: 59, Ser i al 0C 172. 16. 10. 4/ 30 i s di r ect l y connect ed, Ser i al 0C 172. 16. 1. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0O E2 11. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 01: 59, Fast Et her net 0O E2 12. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 01: 59, Fast Et her net 0O E2 13. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 01: 59, Fast Et her net 0

    192. 168. 3. 0/ 32 i s subnet t ed, 1 subnetsC 192. 168. 3. 1 i s di r ect l y connect ed, Loopback1ABR- 2#

    LSA 1 and LSA 2: Denoted by O or C LSA 3: Denoted by IA LSA 5: Denoted by E1 or E2 (default)

    ABR- 2#show ip ospfRout i ng Pr ocess " ospf 1" wi t h I D 192. 168. 3. 1Suppor t s onl y si ngl e TOS( TOS0) r out esI t i s an ar ea bor der r out erSPF schedul e del ay 5 secs, Hol d t i me bet ween t wo SPFs 10 secsMi ni mum LSA i nt erval 5 secs. Mi ni mum LSA ar r i val 1 secsNumber of ext ernal LSA 3. ChecksumSum 0x97E3Number of DCbi t l ess external LSA 0

    Number of DoNot Age ext er nal LSA 0Number of areas i n t hi s r out er i s 2. 1 nor mal 1 st ub 0 nssaExt er nal f l ood l i st l engt h 0

    Area BACKBONE( 0)Number of i nt er f aces i n t hi s area i s 1Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 9 t i mesAr ea r anges ar eNumber of LSA 8. Checksum Sum 0x507DBNumber of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    Ar ea 1Number of i nt er f aces i n t hi s area i s 1I t i s a st ub ar ea

    generat es st ub def aul t r out e wi t h cost 1Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 8 t i mesAr ea r anges ar eNumber of LSA 5. Checksum Sum 0x348D8Number of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    17

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    18/37

    18

    ABR-2: Area 1 Stub

    ABR- 2#show ip ospf data

    OSPF Rout er wi t h I D ( 192. 168. 3. 1) ( Process I D 1)

    Rout er Li nk St ates ( Ar ea 0)

    Li nk I D ADV Router Age Seq# ChecksumLi nk count172. 16. 10. 5 172. 16. 10. 5 1609 0x8000000F 0x6F9C 1192. 168. 1. 1 192. 168. 1. 1 1398 0x80000012 0x8D3D 1192. 168. 2. 1 192. 168. 2. 1 1401 0x80000016 0x7E46 1192. 168. 3. 1 192. 168. 3. 1 1400 0x80000005 0x9C36 1

    Net Li nk St at es ( Ar ea 0)

    Li nk I D ADV Rout er Age Seq# Checksum172. 16. 1. 2 192. 168. 2. 1 1397 0x8000000D 0xCFE8

    Summar y Net Li nk St at es ( Ar ea 0)

    Li nk I D ADV Rout er Age Seq# Checksum172. 16. 10. 4 192. 168. 3. 1 1441 0x80000001 0xD126172. 16. 20. 0 192. 168. 3. 1 139 0x80000001 0xA746172. 16. 51. 1 192. 168. 2. 1 1402 0x80000005 0xA832

    Rout er Li nk St ates ( Ar ea 1)

    Li nk I D ADV Router Age Seq# ChecksumLi nk count192. 168. 3. 1 192. 168. 3. 1 144 0x80000005 0xE83C 2192. 168. 4. 1 192. 168. 4. 1 144 0x80000005 0x182A 3

    Summar y Net Li nk St at es ( Ar ea 1)

    Li nk I D ADV Rout er Age Seq# Checksum

    0. 0. 0. 0 192. 168. 3. 1 176 0x80000001 0x8A46172. 16. 1. 0 192. 168. 3. 1 176 0x80000006 0xEF1E172. 16. 51. 1 192. 168. 3. 1 176 0x80000002 0xCF0E

    Type- 5 AS Ext er nal Li nk St at es

    Li nk I D ADV Rout er Age Seq# Checksum Tag11. 0. 0. 0 192. 168. 1. 1 1846 0x80000001 0x3FEA 012. 0. 0. 0 192. 168. 1. 1 1846 0x80000001 0x32F6 013. 0. 0. 0 192. 168. 1. 1 1846 0x80000001 0x2503 0ABR- 2#

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    19/37

    19

    Internal: Area 1 Stub

    I nt er nal #show ip ospf data

    OSPF Rout er wi t h I D ( 192. 168. 4. 1) ( Process I D 1)

    Rout er Li nk St ates ( Ar ea 1)

    Li nk I D ADV Router Age Seq# ChecksumLi nk count192. 168. 3. 1 192. 168. 3. 1 211 0x80000005 0xE83C 2192. 168. 4. 1 192. 168. 4. 1 209 0x80000005 0x182A 3

    Summar y Net Li nk St at es ( Ar ea 1)

    Li nk I D ADV Rout er Age Seq# Checksum0. 0. 0. 0 192. 168. 3. 1 243 0x80000001 0x8A46172. 16. 1. 0 192. 168. 3. 1 243 0x80000006 0xEF1E172. 16. 51. 1 192. 168. 3. 1 243 0x80000002 0xCF0EI nt er nal #

    o Notice there are no External LSA 5s, only the LSA 3s including one for a default route injected by theABR.

    I nt er nal #show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODRP - per i odi c downl oaded st at i c r out e

    Gat eway of l ast r esor t i s 172. 16. 10. 5 to net work 0. 0. 0. 0

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 4 subnet s, 3 masksO I A 172. 16. 51. 1/ 32 [ 110/ 783] vi a 172. 16. 10. 5, 00: 03: 08, Ser i al 0C 172. 16. 20. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0C 172. 16. 10. 4/ 30 i s di r ect l y connect ed, Ser i al 0O I A 172. 16. 1. 0/ 24 [ 110/ 782] vi a 172. 16. 10. 5, 00: 03: 08, Ser i al 0

    192. 168. 4. 0/ 32 i s subnet t ed, 1 subnetsC 192. 168. 4. 1 i s di r ect l y connect ed, Loopback0O*I A 0. 0. 0. 0/ 0 [ 110/ 782] vi a 172. 16. 10. 5, 00: 03: 08, Ser i al 0I nt er nal #

    Notice there are no External routes, only a default route injected by the ABR. LSA 1 and LSA 2: Denoted by O or C LSA 3: Denoted by IA LSA 5: Denoted by E1 or E2 (default)

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    20/37

    20

    Internal: Area 1 Stub

    I nt er nal #show ip ospfRout i ng Pr ocess " ospf 1" wi t h I D 192. 168. 4. 1Suppor t s onl y si ngl e TOS( TOS0) r out esSPF schedul e del ay 5 secs, Hol d t i me bet ween t wo SPFs 10 secsMi ni mum LSA i nt erval 5 secs. Mi ni mum LSA ar r i val 1 secsNumber of external LSA 0. Checksum Sum 0x0

    Number of DCbi t l ess external LSA 0Number of DoNot Age ext er nal LSA 0Number of areas i n t hi s r out er i s 1. 0 nor mal 1 st ub 0 nssaExt er nal f l ood l i st l engt h 0

    Ar ea 1Number of i nt er f aces i n t hi s ar ea i s 2I t i s a st ub ar eaAr ea has no aut hent i cat i onSPF al gori t hm execut ed 7 t i mesAr ea r anges ar eNumber of LSA 5. Checksum Sum 0x348D8Number of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    I nt er nal #

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    21/37

    21

    Lab 3: OSPF Totally Stubby Area 1

    No default route on ASBR No default-information originate on ASBR

    ASBR

    ABR-1 ABR-2

    InternalArea 51

    Area 1

    Area 0

    172.16.0.0/16

    172.16.1.0/24

    172.16.51.0/24 172.16.10.4/30

    172.16.20.0/24

    10.1.0.0/24

    11.0.0.0/8

    12.0.0.0/8

    13.0.0.0/8

    .1

    .1

    .2 .3

    .5

    .6

    .1

    Lo - RouterID

    192.168.2.1/32

    Lo - RouterID

    192.168.1.1/32

    Lo - RouterID

    192.168.3.1/32Pri 100Pri 200

    Lo - RouterID

    192.168.4.1/32

    Changes in configs

    ABR-2 (Modify the previous command)

    r out er ospf 1network 172. 16. 1. 0 0. 0. 0. 255 area 0network 172. 16. 10. 4 0. 0area 1 stub no-summary

    . 0. 3 ar ea 1

    !

    Internal (No Change)

    r out er ospf 1networ k 172.area 1 stub

    16. 0. 0 0. 0. 255. 255 area 1

    !

    Changes in outputs follow

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    22/37

    ABR-2: Area 1 Totally Stubby

    ABR- 2#show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODR

    P - per i odi c downl oaded st at i c r out eGat eway of l ast r esor t i s not set

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 4 subnet s, 3 masksO I A 172. 16. 51. 1/ 32 [ 110/ 2] vi a 172. 16. 1. 2, 00: 02: 35, Fast Et her net 0O 172. 16. 20. 0/ 24 [ 110/ 782] vi a 172. 16. 10. 6, 00: 02: 35, Ser i al 0C 172. 16. 10. 4/ 30 i s di r ect l y connect ed, Ser i al 0C 172. 16. 1. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0O E2 11. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 02: 35, Fast Et her net 0O E2 12. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 02: 35, Fast Et her net 0O E2 13. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 02: 35, Fast Et her net 0

    192. 168. 3. 0/ 32 i s subnet t ed, 1 subnetsC 192. 168. 3. 1 i s di r ect l y connect ed, Loopback1ABR- 2#

    LSA 1 and LSA 2: Denoted by O or C LSA 3: Denoted by IA LSA 5: Denoted by E1 or E2 (default)

    ABR- 2#show ip ospfRout i ng Pr ocess " ospf 1" wi t h I D 192. 168. 3. 1Suppor t s onl y si ngl e TOS( TOS0) r out esI t i s an ar ea bor der r out erSPF schedul e del ay 5 secs, Hol d t i me bet ween t wo SPFs 10 secsMi ni mum LSA i nt erval 5 secs. Mi ni mum LSA ar r i val 1 secsNumber of ext ernal LSA 3. ChecksumSum 0x91E6Number of DCbi t l ess external LSA 0

    Number of DoNot Age ext er nal LSA 0Number of areas i n t hi s r out er i s 2. 1 nor mal 1 st ub 0 nssaExt er nal f l ood l i st l engt h 0

    Area BACKBONE( 0)Number of i nt er f aces i n t hi s ar ea i s 1Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 10 t i mesAr ea r anges ar eNumber of LSA 8. Checksum Sum 0x4FFDFNumber of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    Ar ea 1Number of i nt er f aces i n t hi s ar ea i s 1I t i s a st ub ar ea, no summar y LSA i n thi s area

    generat es st ub def aul t r out e wi t h cost 1Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 10 t i mesAr ea r anges ar eNumber of LSA 3. Checksum Sum 0x182B0Number of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    22

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    23/37

    23

    ABR-2: Area 1 Totally Stubby

    ABR- 2#show ip ospf data

    OSPF Rout er wi t h I D ( 192. 168. 3. 1) ( Process I D 1)

    Rout er Li nk St ates ( Ar ea 0)

    Li nk I D ADV Router Age Seq# ChecksumLi nk count172. 16. 10. 5 172. 16. 10. 5 2177 0x8000000F 0x6F9C 1192. 168. 1. 1 192. 168. 1. 1 1966 0x80000012 0x8D3D 1192. 168. 2. 1 192. 168. 2. 1 168 0x80000017 0x7C47 1192. 168. 3. 1 192. 168. 3. 1 77 0x80000006 0x9A37 1

    Net Li nk St at es ( Ar ea 0)

    Li nk I D ADV Rout er Age Seq# Checksum172. 16. 1. 2 192. 168. 2. 1 1966 0x8000000D 0xCFE8

    Summar y Net Li nk St at es ( Ar ea 0)

    Li nk I D ADV Rout er Age Seq# Checksum172. 16. 10. 4 192. 168. 3. 1 77 0x80000002 0xCF27172. 16. 20. 0 192. 168. 3. 1 166 0x80000001 0xA746172. 16. 51. 1 192. 168. 2. 1 168 0x80000006 0xA633

    Rout er Li nk St ates ( Ar ea 1)

    Li nk I D ADV Router Age Seq# ChecksumLi nk count192. 168. 3. 1 192. 168. 3. 1 170 0x80000007 0xE43E 2192. 168. 4. 1 192. 168. 4. 1 712 0x80000005 0x182A 3

    Summar y Net Li nk St at es ( Ar ea 1)

    Li nk I D ADV Rout er Age Seq# Checksum

    0. 0. 0. 0 192. 168. 3. 1 171 0x80000003 0x8648

    Type- 5 AS Ext er nal Li nk St at es

    Li nk I D ADV Rout er Age Seq# Checksum Tag11. 0. 0. 0 192. 168. 1. 1 465 0x80000002 0x3DEB 012. 0. 0. 0 192. 168. 1. 1 466 0x80000002 0x30F7 013. 0. 0. 0 192. 168. 1. 1 466 0x80000002 0x2304 0ABR- 2#

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    24/37

    24

    Internal: Area 1 Totally Stubby

    I nt er nal #show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODR

    P - per i odi c downl oaded st at i c r out e

    Gat eway of l ast r esor t i s 172. 16. 10. 5 to net work 0. 0. 0. 0

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 2 subnet s, 2 masksC 172. 16. 20. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0C 172. 16. 10. 4/ 30 i s di r ect l y connect ed, Ser i al 0

    192. 168. 4. 0/ 32 i s subnet t ed, 1 subnet sC 192. 168. 4. 1 i s di r ect l y connect ed, Loopback0O*I A 0. 0. 0. 0/ 0 [ 110/ 782] vi a 172. 16. 10. 5, 00: 03: 09, Ser i al 0I nt er nal #

    Notice there are no External routes or Inter Area routes except the one for a default route injected bythe ABR

    LSA 1 and LSA 2: Denoted by O or C LSA 3: Denoted by IA LSA 5: Denoted by E1 or E2 (default)

    I nt er nal #show ip ospf data

    OSPF Rout er wi t h I D ( 192. 168. 4. 1) ( Process I D 1)

    Rout er Li nk St ates ( Ar ea 1)

    Li nk I D ADV Router Age Seq# ChecksumLi nk count192. 168. 3. 1 192. 168. 3. 1 204 0x80000007 0xE43E 2192. 168. 4. 1 192. 168. 4. 1 743 0x80000005 0x182A 3

    Summar y Net Li nk St at es ( Ar ea 1)

    Li nk I D ADV Rout er Age Seq# Checksum0. 0. 0. 0 192. 168. 3. 1 205 0x80000003 0x8648I nt er nal #

    o Notice there are no External LSA 5s or LSA 3s except the one for a default route injected by the ABR.

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    25/37

    25

    I nt er nal #show ip ospfRout i ng Pr ocess " ospf 1" wi t h I D 192. 168. 4. 1Suppor t s onl y si ngl e TOS( TOS0) r out esSPF schedul e del ay 5 secs, Hol d t i me bet ween t wo SPFs 10 secsMi ni mum LSA i nt erval 5 secs. Mi ni mum LSA ar r i val 1 secsNumber of external LSA 0. Checksum Sum 0x0Number of DCbi t l ess external LSA 0Number of DoNot Age ext er nal LSA 0Number of areas i n t hi s r out er i s 1. 0 nor mal 1 st ub 0 nssa

    Ext er nal f l ood l i st l engt h 0Ar ea 1Number of i nt er f aces i n t hi s area i s 2I t i s a st ub ar eaAr ea has no aut hent i cat i onSPF al gori t hm execut ed 8 t i mesAr ea r anges ar eNumber of LSA 3. Checksum Sum 0x182B0Number of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    I nt er nal #

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    26/37

    26

    Lab 4: OSPF SPF Calculation

    On ABR1, t he Et her net 172. 16. 1. 2 por t wi l l be di sconnect ed f r omt he swi t ch. SPF r uns on ar ea0 but not f or I nt er nal r out er on area 1. Al l ar eas nor mal i n t hi s scenar i o, but i t does not mat t er . Out put s show r esul t s f or I nt er nal and ABR- 1 r out er s bef ore and af t er t he

    di sconnect ed network.

    ASBR

    ABR-1 ABR-2

    InternalArea 51

    Area 1

    Area 0

    172.16.0.0/16

    172.16.1.0/24

    172.16.51.0/24

    172.16.10.4/30

    172.16.20.0/24

    10.1.0.0/24

    11.0.0.0/8

    12.0.0.0/8

    13.0.0.0/8

    .1

    .1

    .2 .3

    .5

    .6

    .1

    Lo - RouterID

    192.168.2.1/32

    Lo - RouterID

    192.168.1.1/32

    Lo - RouterID

    192.168.3.1/32Pri 100Pri 200

    Lo - RouterID

    192.168.4.1/32

    Changes in configs

    ABR-2

    ABR- 2#( conf i g)#r out er ospf 1ABR- 2( conf i g- r out er ) #no area 1 stub no-summary

    Internal (No Change)

    I nt er nal #( conf i g) #r out er ospf 1I nt er nal #( conf i g- r out er ) #no area 1 stub

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    27/37

    Internal: OSPF SPF Calculation

    I nt er nal #show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODR

    P - per i odi c downl oaded st at i c r out e

    Gat eway of l ast r esor t i s not set

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 4 subnet s, 3 masksO I A 172. 16. 51. 1/ 32 [ 110/ 783] vi a 172. 16. 10. 5, 00: 02: 51, Ser i al 0C 172. 16. 20. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0C 172. 16. 10. 4/ 30 i s di r ect l y connect ed, Ser i al 0O I A 172. 16. 1. 0/ 24 [ 110/ 782] vi a 172. 16. 10. 5, 00: 02: 51, Ser i al 0

    192. 168. 4. 0/ 32 i s subnet t ed, 1 subnet sC 192. 168. 4. 1 i s di r ect l y connect ed, Loopback0O E2 11. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 10. 5, 00: 02: 51, Ser i al 0O E2 12. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 10. 5, 00: 02: 51, Ser i al 0O E2 13. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 10. 5, 00: 02: 51, Ser i al 0I nt er nal #

    LSA 1 and LSA 2: Denoted by O or C LSA 3: Denoted by IA LSA 5: Denoted by E1 or E2 (default)

    I nt er nal #show ip ospfRout i ng Pr ocess " ospf 1" wi t h I D 192. 168. 4. 1Suppor t s onl y si ngl e TOS( TOS0) r out esSPF schedul e del ay 5 secs, Hol d t i me bet ween t wo SPFs 10 secsMi ni mum LSA i nt er val 5 secs. Mi ni mum LSA ar r i val 1 secsNumber of ext ernal LSA 3. ChecksumSum 0x91E6

    Number of DCbi t l ess external LSA 0Number of DoNot Age exter nal LSA 0Number of areas i n t hi s r out er i s 1. 1 normal 0 st ub 0 nssaExt er nal f l ood l i st l engt h 0

    Ar ea 1Number of i nt er f aces i n t hi s ar ea i s 2Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 17 t i mesAr ea r anges ar eNumber of LSA 5. Checksum Sum 0x3CDD4Number of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    I nt er nal #I nt er nal #debug ip ospf spfOSPF spf i nt r a event s debuggi ng i s onOSPF spf i nt er event s debuggi ng i s onOSPF spf ext ernal event s debuggi ng i s onI nt er nal #

    27

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    28/37

    28

    Internal: OSPF SPF Calculation

    Disconnect Ethernet 172.16.1.2 port from the switch

    I nt er nal #00: 57: 00: OSPF: Det ect change i n LSA t ype 3, LSI D 172. 16. 1. 0, f r om192. 168. 3. 1area 100: 57: 00: OSPF: Schedul e part i al SPF - t ype 3 i d 172. 16. 1. 0 adv rt r 192. 168. 3. 100: 57: 00: OSPF: Det ect change i n LSA t ype 3, LSI D 172. 16. 51. 1, f r om192. 168. 3. 1

    area 100: 57: 00: OSPF: Schedul e part i al SPF - t ype 3 i d 172. 16. 51. 1 adv r t r 192. 168. 3. 100: 57: 00: OSPF: Ser vi ce par t i al SPF 2/ 0/ 000: 57: 00: OSPF: Start part i al pr ocessi ng Summary LSA 172. 16. 1. 0, mask255. 255. 255. 0, adv 192. 168. 3. 1, age 3600, seq 0x80000003 (Ar ea 1)00: 57: 00: OSPF: del et e l sa i d 172. 16. 1. 0, t ype 3, adv r t r 192. 168. 3. 1 f r om del et el i s t00: 57: 00: OSPF: i nt er r out e t o 172. 16. 1. 0/ 24 became unr eachabl e, check ext ernal s00: 57: 00: OSPF: Start part i al pr ocessi ng Summary LSA 172. 16. 51. 1, mask255. 255. 255. 255, adv 192. 168. 3. 1, age 3600, seq 0x80000003 (Ar ea 1)00: 57: 00: OSPF: del et e l sa i d 172. 16. 51. 1, t ype 3, adv r t r 192. 168. 3. 1 f r om del et el i s t00: 57: 00: OSPF: i nt er r out e t o 172. 16. 51. 1/ 32 became unr eachabl e, check ext ernal s

    00: 57: 05: OSPF: Det ect change i n LSA t ype 3, LSI D 172. 16. 1. 0, f r om192. 168. 3. 1area 100: 57: 05: OSPF: SPF due t o NON- MAXAGE i n l sa 3 f r om 192. 168. 3. 100: 57: 05: OSPF: Schedul e part i al SPF - t ype 3 i d 172. 16. 1. 0 adv rt r 192. 168. 3. 100: 57: 05: OSPF: Ser vi ce par t i al SPF 1/ 0/ 000: 57: 05: OSPF: Start part i al pr ocessi ng Summary LSA 172. 16. 1. 0, mask255. 255. 255. 0, adv 192. 168. 3. 1, age 1, seq 0x80000004 ( Ar ea 1)00: 57: 05: Add bet t er pat h t o LSA I D 172. 16. 1. 0, gat eway 0. 0. 0. 0, di st 78200: 57: 05: Add pat h: next - hop 172. 16. 10. 5, i nt er f ace Ser i al 000: 57: 05: Add Summary Rout e t o 172. 16. 1. 0. Met r i c: 782, Next Hop: 172. 16. 10. 500: 57: 05: OSPF: i nser t r out e l i st LS I D 172. 16. 1. 0, t ype 3, adv r t r 192. 168. 3. 100: 57: 05: OSPF: del et e l sa i d 172. 16. 1. 0, t ype 3, adv r t r 192. 168. 3. 1 f r om del et el i s t00: 57: 05: OSPF: i nser t r out e l i st LS I D 172. 16. 1. 0, t ype 3, adv r t r 192. 168. 3. 1

    I nt er nal #un allAl l possi bl e debuggi ng has been tur ned of f

    I nt er nal #show ip ospfRout i ng Pr ocess " ospf 1" wi t h I D 192. 168. 4. 1Suppor t s onl y si ngl e TOS( TOS0) r out esSPF schedul e del ay 5 secs, Hol d t i me bet ween t wo SPFs 10 secsMi ni mum LSA i nt erval 5 secs. Mi ni mum LSA ar r i val 1 secsNumber of ext ernal LSA 3. ChecksumSum 0x91E6Number of DCbi t l ess external LSA 0Number of DoNot Age ext er nal LSA 0Number of areas i n t hi s r out er i s 1. 1 nor mal 0 st ub 0 nssaExt er nal f l ood l i st l engt h 0

    Ar ea 1Number of i nt er f aces i n t hi s area i s 2Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 17 t i mesAr ea r anges ar eNumber of LSA 4. Checksum Sum 0x318ACNumber of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    I nt er nal #

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    29/37

    29

    Internal: OSPF SPF Calculation

    I nt er nal #show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODR

    P - per i odi c downl oaded st at i c r out e

    Gat eway of l ast r esor t i s not set

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 3 subnet s, 2 masksC 172. 16. 20. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0C 172. 16. 10. 4/ 30 i s di r ect l y connect ed, Ser i al 0O I A 172. 16. 1. 0/ 24 [ 110/ 782] vi a 172. 16. 10. 5, 00: 00: 14, Ser i al 0

    192. 168. 4. 0/ 32 i s subnet t ed, 1 subnet sC 192. 168. 4. 1 i s di r ect l y connect ed, Loopback0O E2 11. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 10. 5, 00: 04: 16, Ser i al 0O E2 12. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 10. 5, 00: 04: 16, Ser i al 0O E2 13. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 10. 5, 00: 04: 16, Ser i al 0I nt er nal #

    LSA 1 and LSA 2: Denoted by O or C LSA 3: Denoted by IA LSA 5: Denoted by E1 or E2 (default)

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    30/37

    30

    ABR-1: OSPF SPF Calculation

    ABR- 1#show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODR

    P - per i odi c downl oaded st at i c r out e

    Gat eway of l ast r esor t i s not set

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 4 subnet s, 2 masksC 172. 16. 51. 0/ 24 i s di r ect l y connect ed, Loopback1O I A 172. 16. 20. 0/ 24 [ 110/ 783] vi a 172. 16. 1. 3, 00: 00: 49, Fast Et her net0/ 0O I A 172. 16. 10. 4/ 30 [ 110/ 782] vi a 172. 16. 1. 3, 00: 00: 49, Fast Et her net0/ 0C 172. 16. 1. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0/ 0O E2 11. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 00: 49, Fast Et her net 0/ 0O E2 12. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 00: 49, Fast Et her net 0/ 0O E2 13. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 00: 49, Fast Et her net 0/ 0

    192. 168. 2. 0/ 32 i s subnet t ed, 1 subnetsC 192. 168. 2. 1 i s di r ect l y connect ed, Loopback0ABR- 1#

    LSA 1 and LSA 2: Denoted by O or C LSA 3: Denoted by IA LSA 5: Denoted by E1 or E2 (default)

    ABR- 1#show ip ospfRout i ng Pr ocess " ospf 1" wi t h I D 192. 168. 2. 1Suppor t s onl y si ngl e TOS( TOS0) r out esI t i s an ar ea bor der r out erSPF schedul e del ay 5 secs, Hol d t i me bet ween t wo SPFs 10 secsMi ni mum LSA i nt erval 5 secs. Mi ni mum LSA ar r i val 1 secsNumber of ext ernal LSA 3. ChecksumSum 0x91E6

    Number of DCbi t l ess external LSA 0Number of DoNot Age ext er nal LSA 0Number of areas i n t hi s r out er i s 2. 2 nor mal 0 st ub 0 nssaExt er nal f l ood l i st l engt h 0

    Area BACKBONE( 0)Number of i nt er f aces i n t hi s ar ea i s 1Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 47 t i mesAr ea r anges ar eNumber of LSA 12. Checksum Sum 0x706AENumber of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    Ar ea 51Number of i nt er f aces i n t hi s area i s 1Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 20 t i mesAr ea r anges ar eNumber of LSA 5. Checksum Sum 0x31997Number of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    ABR- 1#

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    31/37

    31

    ABR-1: OSPF SPF Calculation

    ABR- 1#debug ip ospf spfOSPF spf i nt r a event s debuggi ng i s onOSPF spf i nt er event s debuggi ng i s onOSPF spf ext ernal event s debuggi ng i s onABR- 1#

    Disconnect Ethernet 172.16.1.2 port from the switch

    ABR- 1#01: 49: 07: %LI NEPROTO- 5- UPDOWN: Li ne prot ocol on I nter f ace Fast Ether net 0/ 0, changedst at e to downABR- 1#01: 49: 13: OSPF: r unni ng SPF f or area 001: 49: 13: OSPF: I ni t i al i zi ng t o r un spf01: 49: 13: I t i s a r out er LSA 192. 168. 2. 1. Li nk Count 001: 49: 13: OSPF: Addi ng St ub nets01: 49: 13: OSPF: Ent er ed ol d del ete r out i ne01: 49: 13: OSPF: Del et e pat h to r out er 192. 168. 1. 1 vi a 172. 16. 1. 1 spf 4701: 49: 13: OSPF: Del et e pat h to r out er 192. 168. 3. 1 vi a 172. 16. 1. 3 spf 4701: 49: 13: OSPF: No ndb f or NET ol d rout e 172. 16. 1. 0, mask / 24, next hop 172. 16. 1. 201: 49: 13: OSPF: del et e l sa i d 192. 168. 1. 1, t ype 1, adv r t r 192. 168. 1. 1 f r om del et el i s t01: 49: 13: OSPF: del et e l sa i d 192. 168. 3. 1, t ype 1, adv r t r 192. 168. 3. 1 f r om del et el i s t01: 49: 13: OSPF: del et e l sa i d 172. 16. 1. 1, t ype 2, adv r t r 192. 168. 1. 1 f r om del et el i s t01: 49: 13: OSPF: r unni ng SPF f or area 5101: 49: 13: OSPF: I ni t i al i zi ng t o r un spf01: 49: 13: I t i s a r out er LSA 192. 168. 2. 1. Li nk Count 101: 49: 13: Processi ng l i nk 0, i d 172. 16. 51. 1, l i nk dat a 255. 255. 255. 255, t ype 301: 49: 13: Add bet t er pat h t o LSA I D 172. 16. 51. 1, gat eway 172. 16. 51. 1, di st 101: 49: 13: Add pat h: next - hop 172. 16. 51. 1, i nt er f ace Loopback101: 49: 13: OSPF: Addi ng St ub nets

    01: 49: 13: OSPF: del et e l sa i d 172. 16. 51. 1, t ype 0, adv r t r 192. 168. 2. 1 f r om del et el i s t01: 49: 13: OSPF: i nser t r out e l i st LS I D 172. 16. 51. 1, t ype 0, adv r t r 192. 168. 2. 101: 49: 13: OSPF: Ent er ed ol d del ete r out i ne01: 49: 13: OSPF: r unni ng spf f or summar i es area 001: 49: 13: OSPF: Star t processi ng Summary LSA 172. 16. 10. 4, mask 255. 255. 255. 252,adv 192. 168. 3. 1, age 1172, seq 0x80000003 ( Ar ea 0)01: 49: 13: OSPF: ABR not r eachabl e 192. 168. 3. 101: 49: 13: OSPF: Star t processi ng Summary LSA 172. 16. 20. 0, mask 255. 255. 255. 0, adv192. 168. 3. 1, age 435, seq 0x80000001 ( Ar ea 0)01: 49: 13: OSPF: ABR not r eachabl e 192. 168. 3. 101: 49: 13: OSPF: sum_del ete_ol d_r out es ar ea 001: 49: 13: OSPF: sum- Del et i ng ol d r out e 172. 16. 20. 0

    01: 49: 13: OSPF: sum- Del et i ng ol d r out e 172. 16. 10. 401: 49: 13: OSPF: del et e l sa i d 172. 16. 20. 0, t ype 3, adv r t r 192. 168. 3. 1 f r om del et el i s t01: 49: 13: OSPF: del et e l sa i d 172. 16. 10. 4, t ype 3, adv r t r 192. 168. 3. 1 f r om del et el i s t01: 49: 13: OSPF: r unni ng spf f or summar i es area 5101: 49: 13: OSPF: sum_del ete_ol d_r out es ar ea 5101: 49: 13: OSPF: St ar t ed Bui l di ng Type 5 Exter nal Rout es01: 49: 13: OSPF: St ar t pr ocessi ng Type 5 Exter nal LSA 11. 0. 0. 0, mask 255. 0. 0. 0, adv192. 168. 1. 1, age 10, seq 0x80000003, metr i c 20, met r i c- t ype 201: 49: 13: OSPF: Di d not f i nd r out e t o ASBR 192. 168. 1. 1

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    32/37

    32

    01: 49: 13: OSPF: St ar t pr ocessi ng Type 5 Exter nal LSA 12. 0. 0. 0, mask 255. 0. 0. 0, adv000003, metr i c 20, met r i c- t ype 2192. 168. 1. 1, age 10, seq 0x80

    ABR-1: OSPF SPF Calculation

    01: 49: 13: OSPF: Di d not f i nd r out e t o ASBR 192. 168. 1. 101: 49: 13: OSPF: St ar t pr ocessi ng Type 5 Exter nal LSA 13. 0. 0. 0, mask 255. 0. 0. 0, adv192. 168. 1. 1, age 10, seq 0x80000003, metr i c 20, met r i c- t ype 201: 49: 13: OSPF: Di d not f i nd r out e t o ASBR 192. 168. 1. 101: 49: 13: OSPF: ex_del et e_ol d_r out es

    01: 49: 13: OSPF: ex- Del et i ng ol d rout e 13. 0. 0. 001: 49: 13: OSPF: Remove 13. 0. 0. 0 255. 0. 0. 0 172. 16. 1. 1 192. 168. 1. 1 Fast Ethernet 0/ 010 8000001401: 49: 13: OSPF: ex- Del et i ng ol d rout e 12. 0. 0. 001: 49: 13: OSPF: Remove 12. 0. 0. 0 255. 0. 0. 0 172. 16. 1. 1 192. 168. 1. 1 Fast Ethernet 0/ 010 8000001401: 49: 13: OSPF: ex- Del et i ng ol d rout e 11. 0. 0. 001: 49: 13: OSPF: Remove 11. 0. 0. 0 255. 0. 0. 0 172. 16. 1. 1 192. 168. 1. 1 Fast Ethernet 0/ 010 8000001401: 49: 13: OSPF: del et e l sa i d 13. 0. 0. 0, t ype 5, adv r t r 192. 168. 1. 1 f r om del et el i s t01: 49: 13: OSPF: del et e l sa i d 12. 0. 0. 0, t ype 5, adv r t r 192. 168. 1. 1 f r om del et el i s t01: 49: 13: OSPF: del et e l sa i d 11. 0. 0. 0, t ype 5, adv r t r 192. 168. 1. 1 f r om del et el i s t01: 49: 13: OSPF: St ar t ed Bui l di ng Type 7 Exter nal Rout es01: 49: 13: OSPF: ex_del et e_ol d_r out es01: 49: 13: OSPF: St ar t ed Bui l di ng Type 7 Exter nal Rout es01: 49: 13: OSPF: ex_del et e_ol d_r out esABR- 1#un allAl l possi bl e debuggi ng has been tur ned of fABR- 1#

    ABR- 1#show ip ospfRout i ng Pr ocess " ospf 1" wi t h I D 192. 168. 2. 1Suppor t s onl y si ngl e TOS( TOS0) r out esSPF schedul e del ay 5 secs, Hol d t i me bet ween t wo SPFs 10 secs

    Mi ni mum LSA i nt erval 5 secs. Mi ni mum LSA ar r i val 1 secsNumber of ext ernal LSA 3. ChecksumSum 0x8BE9Number of DCbi t l ess external LSA 0Number of DoNot Age ext er nal LSA 0Number of areas i n t hi s r out er i s 2. 2 nor mal 0 st ub 0 nssaExt er nal f l ood l i st l engt h 0

    Ar ea BACKBONE(0) ( I nact i ve)Number of i nt er f aces i n t hi s ar ea i s 1Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 48 t i mesAr ea r anges ar eNumber of LSA 11. Checksum Sum 0x66DFDNumber of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0Fl ood l i st l engt h 0

    Ar ea 51Number of i nt er f aces i n t hi s area i s 1Ar ea has no aut hent i cat i onSPF al gori t hm execut ed 21 t i mesAr ea r anges ar eNumber of LSA 1. Checksum Sum 0xFC5DNumber of DCbi t l ess LSA 0Number of i ndi cat i on LSA 0Number of DoNot Age LSA 0

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    33/37

    33

    ABR-1: OSPF SPF Calculation

    ABR- 1#show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODR

    P - per i odi c downl oaded st at i c r out e

    Gat eway of l ast r esor t i s not set

    172. 16. 0. 0/ 24 i s subnett ed, 1 subnet sC 172. 16. 51. 0 i s di r ect l y connect ed, Loopback1

    192. 168. 2. 0/ 32 i s subnet t ed, 1 subnetsC 192. 168. 2. 1 i s di r ect l y connect ed, Loopback0ABR- 1#

    LSA 1 and LSA 2: Denoted by O or C LSA 3: Denoted by IA LSA 5: Denoted by E1 or E2 (default)

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    34/37

    34

    Lab 5: OSPF Default Route

    Al l areas normal areas Adding a default route on the ASBR Adding the default-information originatecommand on the ASBR

    ASBR

    ABR-1 ABR-2

    InternalArea 51

    Area 1

    Area 0

    172.16.0.0/16

    172.16.1.0/24

    172.16.51.0/24

    172.16.10.4/30

    172.16.20.0/24

    10.1.0.0/24

    11.0.0.0/812.0.0.0/8

    13.0.0.0/8

    .1

    .1

    .2 .3

    .5

    .6

    .1

    Lo - RouterID

    192.168.2.1/32

    Lo - RouterID

    192.168.1.1/32

    Lo - RouterID

    192.168.3.1/32Pri 100Pri 200

    Lo - RouterID

    192.168.4.1/32

    Changes in configs

    ASBR (add this command)

    i p r out e 0. 0. 0. 0 0. 0. 0. 0 Nul l 0

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    35/37

    Adding a Default Route

    ASBR#show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODR

    P - per i odi c downl oaded st at i c r out e

    Gat eway of l ast r esor t i s 0. 0. 0. 0 t o net wor k 0. 0. 0. 0

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 4 subnet s, 3 masksO I A 172. 16. 51. 1/ 32 [ 110/ 2] vi a 172. 16. 1. 2, 00: 05: 36, Fast Et her net 0/ 0O I A 172. 16. 20. 0/ 24 [ 110/ 783] vi a 172. 16. 1. 3, 00: 05: 36, Fast Et her net0/ 0O I A 172. 16. 10. 4/ 30 [ 110/ 782] vi a 172. 16. 1. 3, 00: 05: 36, Fast Et her net0/ 0C 172. 16. 1. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0/ 0

    10. 0. 0. 0/ 24 i s subnet t ed, 1 subnet sC 10. 1. 0. 0 i s di r ect l y connect ed, Fast Et her net 0/ 1S 11. 0. 0. 0/ 8 i s di r ect l y connect ed, Nul l 0S 12. 0. 0. 0/ 8 i s di r ect l y connect ed, Nul l 0

    192. 168. 1. 0/ 32 i s subnet t ed, 1 subnetsC 192. 168. 1. 1 i s di r ect l y connect ed, Loopback0S 13. 0. 0. 0/ 8 i s di r ect l y connect ed, Nul l 0S* 0. 0. 0. 0/ 0 i s di r ect l y connect ed, Nul l 0ASBR#

    ABR- 1#show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODRP - per i odi c downl oaded st at i c r out e

    Gat eway of l ast r esor t i s not set

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 4 subnet s, 2 masksC 172. 16. 51. 0/ 24 i s di r ect l y connect ed, Loopback1O I A 172. 16. 20. 0/ 24 [ 110/ 783] vi a 172. 16. 1. 3, 00: 06: 05, Fast Et her net0/ 0O I A 172. 16. 10. 4/ 30 [ 110/ 782] vi a 172. 16. 1. 3, 00: 06: 05, Fast Et her net0/ 0C 172. 16. 1. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0/ 0O E2 11. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 06: 05, Fast Et her net 0/ 0O E2 12. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 06: 05, Fast Et her net 0/ 0O E2 13. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 06: 05, Fast Et her net 0/ 0

    192. 168. 2. 0/ 32 i s subnet t ed, 1 subnetsC 192. 168. 2. 1 i s di r ect l y connect ed, Loopback0ABR- 1#

    Notice that there is the default route was notpropagated by the ASBR to this or any of the otherrouters.

    LSA 1 and LSA 2: Denoted by O or C LSA 3: Denoted by IA LSA 5: Denoted by E1 or E2 (default)

    35

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    36/37

    36

    Adding a Default Route

    ASBR( conf i g) #router ospf 1ASBR( conf i g- r out er ) #default-information originateASBR#

    o This command is required to propagate the default route to other routers in the OSPF routing domain.o This is notthe same default route that is injected into stub and totally stubby areas by the ABR.

    ASBR#show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er ar eaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODRP - per i odi c downl oaded st at i c r out e

    Gat eway of l ast r esor t i s 0. 0. 0. 0 t o net wor k 0. 0. 0. 0

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 4 subnet s, 3 masksO I A 172. 16. 51. 1/ 32 [ 110/ 2] vi a 172. 16. 1. 2, 00: 06: 42, Fast Et her net 0/ 0O I A 172. 16. 20. 0/ 24 [ 110/ 783] vi a 172. 16. 1. 3, 00: 06: 42, Fast Et her net0/ 0O I A 172. 16. 10. 4/ 30 [ 110/ 782] vi a 172. 16. 1. 3, 00: 06: 42, Fast Et her net0/ 0C 172. 16. 1. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0/ 0

    10. 0. 0. 0/ 24 i s subnet t ed, 1 subnet sC 10. 1. 0. 0 i s di r ect l y connect ed, Fast Et her net 0/ 1S 11. 0. 0. 0/ 8 i s di r ect l y connect ed, Nul l 0S 12. 0. 0. 0/ 8 i s di r ect l y connect ed, Nul l 0

    192. 168. 1. 0/ 32 i s subnet t ed, 1 subnetsC 192. 168. 1. 1 i s di r ect l y connect ed, Loopback0S 13. 0. 0. 0/ 8 i s di r ect l y connect ed, Nul l 0S* 0. 0. 0. 0/ 0 i s di r ect l y connect ed, Nul l 0ASBR#

    ABR- 1#show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODRP - per i odi c downl oaded st at i c r out e

    Gat eway of l ast r esor t i s 172. 16. 1. 1 t o net wor k 0. 0. 0. 0

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 4 subnet s, 2 masksC 172. 16. 51. 0/ 24 i s di r ect l y connect ed, Loopback1O I A 172. 16. 20. 0/ 24 [ 110/ 783] vi a 172. 16. 1. 3, 00: 07: 02, Fast Et her net0/ 0O I A 172. 16. 10. 4/ 30 [ 110/ 782] vi a 172. 16. 1. 3, 00: 07: 02, Fast Et her net0/ 0C 172. 16. 1. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0/ 0O E2 11. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 07: 02, Fast Et her net 0/ 0O E2 12. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 07: 02, Fast Et her net 0/ 0O E2 13. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 1. 1, 00: 07: 02, Fast Et her net 0/ 0

    192. 168. 2. 0/ 32 i s subnet t ed, 1 subnetsC 192. 168. 2. 1 i s di r ect l y connect ed, Loopback0O*E2 0. 0. 0. 0/ 0 [ 110/ 1] vi a 172. 16. 1. 1, 00: 00: 27, Fast Et her net 0/ 0ABR- 1#

    o The ABR now has a default route of its own, via the ASBR!

  • 8/10/2019 MultiAreaOSPF-RicksLabs.pdf

    37/37

    Adding a Default Route

    I nt er nal #show ip routeCodes: C - connect ed, S - st at i c, I - I GRP, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA exter nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2, E - EGPi - I S- I S, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2, i a - I S- I S i nter area* - candi dat e def aul t , U - per - user st at i c r out e, o - ODR

    P - per i odi c downl oaded st at i c r out e

    Gat eway of l ast r esor t i s 172. 16. 10. 5 to net work 0. 0. 0. 0

    172. 16. 0. 0/ 16 i s var i abl y subnet t ed, 4 subnet s, 3 masksO I A 172. 16. 51. 1/ 32 [ 110/ 783] vi a 172. 16. 10. 5, 00: 07: 06, Ser i al 0C 172. 16. 20. 0/ 24 i s di r ect l y connect ed, Fast Et her net 0C 172. 16. 10. 4/ 30 i s di r ect l y connect ed, Ser i al 0O I A 172. 16. 1. 0/ 24 [ 110/ 782] vi a 172. 16. 10. 5, 00: 12: 10, Ser i al 0

    192. 168. 4. 0/ 32 i s subnet t ed, 1 subnetsC 192. 168. 4. 1 i s di r ect l y connect ed, Loopback0O E2 11. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 10. 5, 00: 16: 11, Ser i al 0O E2 12. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 10. 5, 00: 16: 12, Ser i al 0O E2 13. 0. 0. 0/ 8 [ 110/ 20] vi a 172. 16. 10. 5, 00: 16: 12, Ser i al 0O*E2 0. 0. 0. 0/ 0 [ 110/ 1] vi a 172. 16. 10. 5, 00: 00: 41, Ser i al 0I nt er nal #

    LSA 1 and LSA 2: Denoted by O or C LSA 3: Denoted by IA LSA 5: Denoted by E1 or E2 (default)

    Notice there does not look like a difference between this default

    route and the one injected by the ABR when configured as a stub.