3.2.b Configure simple OSPFv2/v3: multiple areas, summarization, filtering, network types, passive interfaces

ENCOR 350-401 v1.2 · 3.0 Infrastructure

Beyond a single area, ENCOR expects you to configure multi-area OSPFv2 and OSPFv3, summarise at area borders, filter routes, choose network types and use passive interfaces. Areas keep the link-state database small and the SPF runs local.

What you must know

Areas and LSAs

Every area attaches to area 0. An ABR has interfaces in area 0 and another area and turns each area's routes into type 3 summary LSAs for the others. An ASBR redistributes external routes as type 5 LSAs (type 7 inside an NSSA).

LSACreated byDescribes
1 RouterEvery routerIts links in the area
2 NetworkDRA multi-access segment
3 SummaryABRPrefixes from other areas
4 ASBR summaryABRHow to reach an ASBR
5 ExternalASBRRedistributed prefixes
7 NSSA externalASBR in an NSSAConverted to type 5 by the ABR

Configuration

router ospf 1
 router-id 2.2.2.2
 passive-interface default
 no passive-interface GigabitEthernet0/0
 no passive-interface GigabitEthernet0/1
 area 10 range 10.10.0.0 255.255.0.0
 area 10 filter-list prefix NO-LAB in
!
interface GigabitEthernet0/0
 ip ospf 1 area 0
 ip ospf network point-to-point
interface GigabitEthernet0/1
 ip ospf 1 area 10
 ip ospf network point-to-point
!
ip prefix-list NO-LAB seq 5 deny 10.99.0.0/16 le 32
ip prefix-list NO-LAB seq 10 permit 0.0.0.0/0 le 32
router ospfv3 1
 router-id 2.2.2.2
 address-family ipv6 unicast
  area 10 range 2001:db8:10::/48
!
interface GigabitEthernet0/1
 ospfv3 1 ipv6 area 10

Summarising on R2 hides area 10's details from area 0 (1): R1 holds one route, and a flapping LAN in area 10 no longer triggers SPF changes elsewhere. area filter-list stops type 3 LSAs at the ABR; distribute-list in only keeps routes out of one router's table, while the LSAs still flood. A point-to-point network type on Ethernet links between two routers removes DR election; passive-interface stops hellos on user-facing interfaces while still advertising their subnets.

Commands

show ip ospf database summaryType 3 LSAs: what the ABRs advertise.
show ip route ospfO (intra-area), O IA (inter-area), O E1/E2 (external).
show ip ospf border-routersABRs and ASBRs this router knows.
show ospfv3 neighborOSPFv3 adjacencies.

Exam traps

Check yourself

Which LSA type does an ABR create for prefixes from another area?
Type 3.
Where do you summarise area 10's networks for the rest of the domain?
On the ABR, with area 10 range ….
What is the difference between area filter-list and distribute-list in?
The filter-list stops type 3 LSAs at the ABR for the whole area; the distribute-list only keeps routes out of one router's routing table.

Labs

Try it live: Multi-area OSPF: summarization, stub areas and filtering

More topics in 3.0 Infrastructure