↪️
ccie.nyquist.eu
  • Table of Contents
  • Layer 2 Technologies
    • Ethernet Switching
      • L2 Switch Operations
      • Spanning Tree
        • 802.1d – STP
        • 802.1w – RSTP
        • 802.1s – MSTP
      • VTP 101
      • Private VLANs
      • VLANs
      • EtherChannel 101
    • Layer 2 WAN Protocols
      • HDLC
        • HDLC 101
      • PPP
        • PPP 101
        • PPP Authentication - PAP
        • PPP Authentication – CHAP
        • PPP Authentication – EAP
        • PPP Multilink
        • PPPoFR – PPP over Frame Relay
        • PPPoE – PPP over Ethernet
      • Frame Relay
        • Frame Relay 101
        • Frame Relay 102
        • Frame Relay Encapsulations – IETF vs Cisco
        • Multilink Frame Relay
        • Frame Relay Switching
        • Routing over Frame Relay
      • Bridging
        • Bridging on a router
        • MTU 101
    • Wireless
      • Wireless Principles
      • Wireless Implementations
      • Wireless Roaming
      • Wireless Authentication
        • WPA2 PSK
        • WPA2 802.1X
  • IPv4
    • IPv4 Addressing
      • Backup Interfaces
      • FHRP 101
      • DHCP 101
      • DNS 101
      • ARP 101
      • IPv4 101
      • Tunnel Interfaces
        • GRE Tunnels
      • BFD – Bidirectional Forwarding Detection
    • IPv4 Routing
      • How the routing table is built
        • How CEF works
        • Routing Order of Operations
        • NSF – Non Stop Forwarding
      • RIP
        • RIP 101
      • EIGRP
        • EIGRP 101
        • EIGRP Metric
        • More EIGRP Features
      • OSPF
        • OSPF 101
        • OSPF Areas
        • OSPF LSAs
        • OSPF Mechanics
      • IS-IS
        • IS-IS 101
        • IS-IS Mechanics – CLNP
      • BGP
        • BGP 101
        • BGP Attributes
        • More BGP
      • Route Redistribution
      • Policy based Routing
      • PfR 101 – Perfromance Routing
      • ODR
  • IPv6
    • IPv6-101
    • IPv6 Routing
    • Interconnecting IPv6 and IPv4
  • MPLS
    • MPLS 101
    • MPLS L3 VPN
  • Multicast
    • Multicast 101
    • PIM 101
    • IGMP 101
    • Inter Domain Multicast
    • IPv6 Multicast
    • Multicast features on switches
  • Security
    • NAT 101
    • NAT for Overlapping Networks
    • ACLs 101
    • ACLs 102
    • Cisco IOS Firewall
    • Zone Based Firewall
    • AAA 101
    • Controlling CLI Access
    • Control Plane
    • Switch Security
      • Switchport Traffic Control
      • Switchport Port Security
      • DHCP Snooping and DAI
      • 802.1x
      • Switch ACLs
    • IPSec VPN 101
      • IKE / ISAKMP 101
      • IPSEC Crypto Maps 101
      • IPSEC VTI 101
      • DMVPN 101
    • EAP 101
  • Network Services
    • NTP 101
    • HTTP 101
    • File Transfer 101 – TFTP & FTP
    • WCCP 101
  • QoS
    • QoS 101
    • Classification and Marking
    • Congestion Management
      • Legacy Congestion Management
      • SPD – Selective Packet Discard
      • CBWFQ
      • IP RTP Priority
    • Congestion Avoidance – WRED
    • Policing and Shaping
      • CAR 101
    • Compression and LFI
      • Header and Payload Compression
      • LFI for MultiLink PPP
    • Frame Relay QoS
      • Per VC Frame Relay QoS
    • RSVP 101
    • Switching QoS
  • Network Optimization
    • NetFlow 101 – TNF – Traditional NetFlow
    • NetFlow 102 – FNF – Flexible NetFlow
    • IP SLA 101
    • IP Accounting 101
    • Logging 101
    • SNMP and RMON 101
    • Cisco CLI Tips and Tricks
    • AutoInstall
    • Enhanced Object Tracking
    • Troubleshooting 101
    • SPAN, RSPAN, ERSPAN
  • Network Architecture
    • Hierarchical Network Architecture
    • SD Access
    • SD WAN
Powered by GitBook
On this page
  • Area Types
  • Stub Area
  • Totally Stubby Area
  • Not So Stubby Area (NSSA)
  • NSSA Totally Stubby

Was this helpful?

  1. IPv4
  2. IPv4 Routing
  3. OSPF

OSPF Areas

Areas are identified by a 32 bit Area ID. This can be represented as a number in decimal or in dotted decimal format. Area 0 (0.0.0.0) is reserved for backbone. The backbone is responsible for summarizing the topologies of each area to every other area => all inter-area traffic must pass through the backbone.

Area Types

  • Normal – Allowed LSAs: 1,2,3,4,5

  • Stub – Allowed LSAs: 1,2,3 + Default Route as LSA 3 instead of LSAs 4 and 5

  • Totally Stubby – Allowed LSAs: 1,2 + Default Route as LSA 3 instead of LSAs 3, 4 and 5

  • NSSA – Allowed LSAs: 1,2,3 + LSA 7 for external routes from the local ASBR

  • NSSA Totally Stubby – Allowed LSAs: 1,2 + Default route as LSA3 insted of LSAs3,4 and 5 + LSA 7 for external routes from the local ASBR

Stub Area

  • A stub area is an area into which LSA type 4 (ASBR Summary LSA) and 5(AS External LSA) are not flooded.

  • As a resut, no external routes will be advertised into the area.

  • Instead, ASBRs at the edge of the area use Type 3 LSAs to advertise a default route into the area

  • LSAs allowed: 1,2,3 + Default Route instead of LSAs 4 and 5

  • Routers configured for stub areas will not form adjacencies with routers not configured for stub ares

  • Virtual Links cannot transit a Stub Area

  • No router within a stub area can be an ASBR

  • A Stub Area can have multiple ABRs but the routers inside cannot determine the best path to an ASBR (ABRs only advertise the default route)

R(config-router)# area AREA stub
R(config-router)# area AREA default-cost COST
! Assigns a specific cost to the default summary route used for stub areas

Totally Stubby Area

  • Uses a default route to reach AS external routes and inter-area routes

  • ABRs only advertise a default route using a Type 3 LSA

  • LSAs allowed: 1,2 + Default Route as LSA 3 instead of LSAs 3, 4 and 5(inter-area and as external routes)

  • Just the ABRs will have to be configured with the no-summary option, the other routers can be configured only as stub

R(config-router)# area AREA stub no-summary
R(config-router)# area AREA default-cost COST
! Assigns a specific cost to the default summary route used for stub areas

Not So Stubby Area (NSSA)

  • Stubby Areas with an ASBR attached

  • Since Type 5 LSAs are not allowed in Stub areas, the ASBR will originate a type 7 LSA to advertise external routes. This LSA flood stops at the ABR.

  • The ABR will translate the Type 7 LSA into a Type 5 LSA to advertise it into area 0. If there are multiple ABRs, only one of them will be elected to translate LSA 7 into LSA 5 – the one with the highest Router ID

  • ABR in a NSSA will not generate default routes, unless specified. If it injects a default route, then it will be sent as a Type 7 LSA

  • LSAs allowed: 1,2,3,7

R(config-router)# area AREA nssa [no-redistribution] [default-information-originate] 
!default-information-origiante = ABR will insert a default route into the NSSA area as LSA type 7
!no-redistribution = ASBR will not insert external routes into the NSSA

Normally, NSSA Type 7 routes are redistributed into area 0 as Type 5 LSAs wich points the next hop to the ASBR that introduced the route. You can change this behavior with the following command:

R(config-router)# area AREA nssa translate type7 suppress-fa

The translate type7 suppress-fa keywords on the ABR will force it to translate Type-7 to Type-5 LSAs but change the next-hop to 0.0.0.0 when advertising into area 0. Heaving 0.0.0.0 in the Forward Address of an LSA means to use the advertising router’s address. Otherwise, the Type 5 LSA will have the ASBR’s address in the Forward Address field, which may be unreachable from other areas.

ASBRs can also summarize the routes inserted into OSPF with the command:
R(config-router)# summary address PREFIX MASK [not-advertise] [tag TAG]
!used on the ASBR to insert a summary route as LSA 7

NSSA Totally Stubby

  • The ABRs use a Type 3 LSA to advertise a default route instead of all other LSA types 3,4 and 5

  • The Area also has an ASBR attached that advertises Type 7 LSAs

  • ABR in a totally NSSA will generate default information by default into the area as LSA Type 3

  • LSAs allowed: 1,2,7 + Default route using LSA 3 from ABR

R(config-router)# area AREA nssa no-summary 
PreviousOSPF 101NextOSPF LSAs

Last updated 3 years ago

Was this helpful?