TechNetBuddy

What the exam expects

OSPF is one of the heaviest HCIP topics: the LSA types and how routes are computed from them, area types, summarisation, external routes, authentication and troubleshooting.

LSAs and route types

Inside an area routers flood Type 1 (router) and Type 2 (network, from the DR) LSAs and run SPF. ABRs send Type 3 summaries into other areas (OSPF inter-area routes). An ASBR imports external routes as Type 5 (O_ASE) and is announced by Type 4. NSSAs use Type 7 (O_NSSA), which the ABR translates to Type 5. display ospf lsdb shows them.

Area types

A stub area takes no Type 5 LSAs and gets a default route instead; a totally stubby area (stub no-summary on the ABR) takes no Type 3 either. An NSSA blocks Type 5 but lets a router inside import external routes as Type 7; nssa no-summary makes it totally NSSA, and nssa default-route-advertise adds a Type 7 default. All routers in an area must agree on its type.

Summarisation and external routes

abr-summary in the area view summarises an area’s routes at the ABR; asbr-summary summarises imported routes at the ASBR. import-route brings in other protocols (type 2 by default: the cost does not grow inside OSPF; type 1 adds the internal cost).

Authentication

Area authentication (authentication-mode md5 1 cipher … in the area view) signs every packet in the area; interface authentication (ospf authentication-mode …) overrides it on one link, and ospf authentication-mode null turns it off there. A mismatch shows as a refused neighbour in display ospf error.

OSPFv3

OSPFv3 carries IPv6. It runs per interface (ospfv3 1 area 0), uses link-local addresses for neighbours, and moves prefixes out of the router and network LSAs into new LSA types.

Commands at a glance

[R2] ospf 1
[R2-ospf-1] area 1
[R2-ospf-1-area-0.0.0.1] nssa no-summary
[R2-ospf-1-area-0.0.0.1] authentication-mode md5 1 cipher Huawei@123
<R2> display ospf lsdb

Not modelled in the simulator: Virtual links, LSA filtering, asbr-summary, BFD for OSPF and GR are not modelled.