This document illustrates configuring stub, totally stubby, and NSSA areas in OSPFv3. Three routers are configured with OSPFv3, with R1 and R3 in area 0 and R1 and R2 in area 12. Under normal OSPFv3 operation, R2 receives all routes. Configuring area 12 as a stub area causes R2 to only receive the default route and internal OSPF routes. Configuring it as a totally stubby area causes R2 to only receive the default route. Configuring it as an NSSA area causes R2 to only receive intra-area and inter-area OSPF routes.
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
I pv6 ospfv3 case study
1. <Tags>configuration, troubleshoot, ipv6, troubleshooting, iprouting, design, ospf, router, stub,
ospfv3,worldipv6day, configurationexample, casestudy, ipv6supportciscoiosdevicerouter,
routingprotocol, ipv6routing, ospfversion3, stubrouting, ipversion6
IPv6 OSPF/v3: Case Study
This document is an illustration of Stub, Totally Stub and NSSA area feature in an IPv6
environment. Stub, NSSA, and totally stubby are supported and configured in the exact same way
as for OSPFv2 for IPv4, using the area stub, area nssa, and area stub no-summary commands.
In this document, three routers (R1,R2 and R3) are configured with OSPFv3 routing protocol, with
router R1 and R3 in Area 0 and R1/R2 in Area 12. Router R3, has three Loopback interfaces and
are advertised via OSPFv3. The only exception of Loopback 3, which is redistributed into OSPFv3
routing protocol to make it as an external route. This is done purposely to differentiate between
different type of routes received by router R2 under different cisrcumstances. Under Normal
conditions, i.e. running OSPFv3 without any of the stub feature all these routes will appear at R2
as below.
Note: route OE2 is external as it was redistributed on R3 as a connected route. See
configuration of R3.
All configurations are tested on Cisoc 7200 series router running Cisco IOS 15.1(3)S3 advance ip
services image.
Prerequisite
Understanding of OSPF Routing Protocol
IPv6 OSPF (OSPFv3) Configuration
Topology Diagram
2. Configuration
For complete configuration, see attached files (R1, R2 and R3).
Case Study 1: OSPFv3 Stub Routing
In Stub routing, the router gets a deafult route and the internal OSPF routes. The external routes
are filtered out. Stub feature is configured by command "area x stub" under the OSPFv3 routing
configuration mode. It is important to configure both the ends by keyword stub.
3. Note: A deafulttoute::/0 along with OSPF Internal routes are only received by stub router
R2. Prefix AA3::33 is an external route and is filetered out, even though it is reachable.
Case Study 2: OSPFv3 Totally Stubby Area
In Totally stubby area, the stub router receieves only the default route and all other (intra, inter,
external) are filtered out. The feature can be configured on any one router by command "area x
stub no-summary".
Note: Stub Router, R2, receives only the default route ::/0.
Case Study 3: OSPFv3 Not So Stubby Area (NSSA)
The feature works with command "area x nssa". With NSSA, the routes receives only the Intra
and Inter OSPF routes, all other routes (External) are filtered out. For NSSA, the configuration is
done at both the ends.
4. Note: Stub Router R2, is receives only the Intra/Inter OSPF routes.
References
Implementing OSPF for IPv6
---DOC from https://supportforums.cisco.com/docs/DOC-25487
More Related OSPF Tips:
How to Troubleshoot OSPF?
http://blog.router-switch.com/2012/07/how-to-troubleshoot-ospf/
OSPF, How to Configure OSPF in the Cisco IOS?
http://blog.router-switch.com/2012/07/ospf-how-to-configure-ospf-in-the-cisco-ios/
How to Configure OSPF in a Single Area?
http://blog.router-switch.com/2012/08/how-to-configure-ospf-in-a-single-area/