Top Banner
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-1 Implementing a Scalable Multiarea Network OSPF-Based Solution Configuring and Verifying OSPF Special Area Types
24

Implementing a Scalable Multiarea Network OSPF-Based Solution

Feb 25, 2016

Download

Documents

Barton

Configuring and Verifying OSPF Special Area Types. Implementing a Scalable Multiarea Network OSPF-Based Solution. OSPF Area Types and Structure. OSPF is based on a two-level hierarchical area structure Each area has its own topology database Area Types - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-1

Implementing a Scalable Multiarea Network OSPF-Based Solution

Configuring and Verifying OSPF Special Area Types

Page 2: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-2

OSPF Area Types and Structure OSPF is based on a two-level hierarchical area structure Each area has its own topology database Area Types

– Backbone area: Connects all other areas– Normal area: Contains all of the internal and external routing

information– Stub area: Contains internal and area routing information, but

not external routing information– Totally stubby area: Contains area routing information only;

Cisco proprietary– Not-so-stubby area: Contains area and external routing

information

Page 3: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-3

Types of Areas

Page 4: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-4

OSPF Router and LSA Types ABR is generating Summary LSAs ASBR is generating External LSAs Summary and External LSAs can be blocked and default route is

sent instead

Page 5: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-5

Stub and Totally Stub Area RulesAn area can be stub or totally stub if: There is one ABR or more All routers that are members of the stub area are configured as

stub routers There is no ASBR in the area The area is not an area 0 No virtual links go through the area

Page 6: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-6

OSPF Stub Areas External LSAs are stopped. The default route is advertised into the stub area by the ABR.

Page 7: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-7

Stub Area Configuration

This command turns on stub area networking. Configure all routers in the stub area as stub routers.

This command defines the cost of a default route sent into the stub area (default is 1); defining the cost is optional.

area 2 stub

R2(config-router)#

area 2 stubarea 2 default-cost 10

ABR(config-router)#

Page 8: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-8

OSPF Stub Area Configuration Example

Page 9: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-9

OSPF Totally Stubby Areas External and Summary LSAs are stopped The default route is sent instead Cisco proprietary feature

Page 10: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-10

Totally Stubby Area Configuration

This command turns on stub area networking Configure all routers in the stub area as stub routers

First command defines the totally stubby area on the ABR router Second command defines the cost of a default route sent into the

totally stubby area (default is 1); defining the cost is optional

area 2 stubR2(config-router)#

area 2 stub no-summaryarea 2 default-cost 10

ABR(config-router)#

Page 11: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-11

Router R2 is the preferred ABR

Totally Stubby Configuration Example

Page 12: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-12

Routing Table in a Normal Area

Page 13: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-13

Routing Table in a Stub Area Use the area 1 stub command to configure a stub area.

Page 14: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-14

Routing Table in a Stub Area with Summarization Use the area 1 stub and area 1 range commands.

Page 15: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-15

Routing Table in a Totally Stubby Area Use the area 1 stub command on all internal routers. Use the area 1 stub no-summary command on the ABRs.

Page 16: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-16

OSPF Not-So-Stubby Areas (NSSAs) NSSA breaks stub area rules ASBR is allowed inside LSA type 7 sent by ASBR

ABR converts LSA type 7 to LSA type 5

ABR sends the default route into NSSA instead of external (LSA type 5) routes

Page 17: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-17

OSPF Totally NSSA Areas ABR is blocking Type 3, 4, 5 LSAs ABR is sending the default route into the NSSA instead This is a Cisco proprietary feature

Page 18: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-18

Totally NSSA Area Configuration

This command turns on NSSA area networking Set on all routers in the NSSA area

The first command defines the totally NSSA area on ABRs The second command defines the cost of a default route sent into

the NSSA area (default is 1)

area 2 nssa

R2(config-router)#

area 2 nssa no-summaryarea 2 default-cost 10

ABR(config-router)#

Page 19: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-19

NSSA Configuration Example

Page 20: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-20

Totally NSSA Configuration Example

Page 21: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-21

Example of Different Areas

Page 22: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-22

show ip ospf

show Commands for Stub and NSSA

Displays which areas are normal, stub, or NSSA

Displays the details of the LSAs show ip ospf database

show ip ospf database nssa-external

show ip route

R1#

R1#

R1#

R1#

Displays the details of each LSA type 7 update in the database

Displays all routes

Page 23: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-23

Summary There are several OSPF area types: normal, backbone, stub,

totally stubby, NSSA, and totally NSSA. Use the area area-id stub command to define an area as stubby. Use the area area-id stub command with the no-summary

keyword on the ABR only to define an area as totally stubby. For stub areas, external routes are not visible in the routing table,

but are accessible via the intra-area default route. For totally stubby areas, interarea and external routes are not visible in the routing table, but are accessible via the intra-area default route.

Use the area area-id nssa command to define an area as NSSA. Use the show ip ospf, show ip ospf database, and show ip

route commands to verify all types of stub areas. Use the show ip ospf database nssa-external command to display details of type 7 LSAs.

Page 24: Implementing a Scalable Multiarea Network OSPF-Based Solution

© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-24