Network types, area types

1.4.b Network types

General information about “OSPF network types”

Network type DR/BDR election Unicast/Multicast Hello/Dead timers Neighbor discovery
Point-to-Point No Multicast 10/40 Dynamic
Point-to-Multipoint No Multicast 30/120 Dynamic
Point-to-Multipoint Non-Broadcast No Unicast 30/120 Static
Broadcast Yes Multicast 10/40 Dynamic
Non-Broadcast Yes Unicast 30/120 Static
Loopback N/A N/A N/A N/A

How to remember:

“OSPF network types” CLI configuration commands:

## ======
## OSPFv2
## ======

## Configuring the OSPFv2 network type per interface
Router(config)# interface <if>
Router(config-if)# ip ospf network [broadcast | non-broadcast | point-to-multipoint | point-to-multipoint non-broadcast | point-to-point]


## ======
## OSPFv3
## ======

## Configuring the OSPFv3 network type per interface for a specific address families
Router(config)# interface <if>
Router(config-if)# ospfv3 <pid> [ipv4 | ipv6] network [broadcast | manet | non-broadcast | point-to-multipoint | point-to-multipoint non-broadcast | point-to-point]

## Configuring the OSPFv3 network type per interface for all address families
Router(config)# interface <if>
Router(config-if)# ospfv3 network [broadcast | manet | non-broadcast | point-to-multipoint | point-to-multipoint non-broadcast | point-to-point]

1.4.b LSA types (not on blueprint)

LSA types:

Important information on “LSA Type 8 and 9”:

“OSPF LSA types” CLI show commands:

## ======
## OSPFv2
## ======

## Showing the different OSPFv2 databases
Router# show ip ospf database router <lsa-type> <rid>


## ======
## OSPFv3
## ======

## Showing the different OSPFv3 databases
Router# show ospfv3 [ipv4 | ipv6] database <lsa-type> <rid>

1.4.b Area types

Area types:

Important: All routers within an area must be the same type of stub (if configured)!

Area type Allowed LSAs Fildered LSAs Allowed Routes Blocked Routes
Stub Type 1, 2, 3 Type 4, 5 Intra-Area, Summary (Inter-Area), Default External
Totally Stub Type 1, 2 Type 3, 4, 5 Intra-Area, Default External, Inter-Area
NSSA Type 1, 2, 3, 7 Type 4, 5 Intra-Area, Summary (Inter-Area), Default, Type 7 External
Totally NSSA Type 1, 2, 7 Type 3, 4, 5 Intra-Area, Default, Type 7 External, Inter-Area

“OSPF Area types” CLI configuration commands:

## ======
## OSPFv2
## ======

## Configuring the area type in OSPFv2
Router(config)# router ospf <pid>
Router(config-router)# area <id> [stub | stub no-summary | nssa | nssa default-information-originate | nssa no-summary | default-cost <value>]


## ======
## OSPFv3
## ======

## Configuring the area type in OSPFv3
Router(config)# router ospfv3 <pid>
Router(config-router)# address-family [ipv4 | ipv6]
Router(config-router-af)# area <id> [stub | stub no-summary | nssa | nssa default-information-originate | nssa no-summary | default-cost <value>]

1.4.b Route types (not on blueprint)

OSPF route types:

  1. O: Intra-Area
    • Route within an area
  2. O*IA: Inter-Area
    • Router between two areas
  3. O*N1: NSSA Type 1
    • External route with increasing metric inside an NSSA
    • Will be converted to E1 type route when passing through an ABR
  4. O*E1: External Type 1
    • External route with increasing metric when it traverses the network
  5. O*N2: NSSA Type 2
    • External route with “hardcoded” (not changing) metric inside an NSSA
    • Will be converted to E2 type route when passing through an ABR
    • Although the metric is hardcoded, the metric to the ASBR (forward metric) is still relevant within the OSPF domain if there are multiple paths/ASBRs for a given external route
  6. O*E2: External Type 2
    • External route with “hardcoded” (not changing) metric (default metric = 20)
    • Although the metric is hardcoded, the metric to the ASBR (forward metric) is still relevant within the OSPF domain if there are multiple paths/ASBRs for a given external route

1.4.b Router types (not on blueprint)

OSPF router types:

General information on “OSPF Virtual Link”:

Important: The area ID in the CLI command is the area ID of the transit area (not the not directly connected area)!

“OSPF Virtual link” CLI configuration commands:

## ======
## OSPFv2
## ======

## Configuring a virtual-link in OSPFv2
Router(config)# router ospf <pid>
Router(config-router)# area <id> virtual-link <remote-rid>


## ======
## OSPFv3
## ======

## Configuring a virtual-link in OSPFv3
Router(config)# router ospfv3 <pid>
Router(config-router)# address-family ipv6
Router(config-router-af)# area <id> virtual-link <remote-rid>

“OSPF Virtual link” CLI show commands:

## ======
## OSPFv2
## ======

## Showing configured OSPFv2 virtual-links
Router# show ip ospf virtual-links


## ======
## OSPFv3
## ======

## Showing configured OSPFv3 virtual-links
Router# show ospfv3 virtual-links

1.4.b Capability Transit (not on blueprint)

General information on “Capability Transit”:

// Graphic missing - Coming soon //

“OSPF Capability Transit” CLI configuration commands:

## Configuring the Transit capability for OSPFv2
Router(config)# router ospf <pid>
Router(config-router)# [no] capability transit

1.4.b Capability VRF-Lite (not on blueprint)

General information on “Capability VRF-Lite”:

“OSPF Capability VRF-Lite” CLI configuration commands:

## ======
## OSPFv2
## ======

## Configuring the VRF-Lite capability for OSPFv2
Router(config)# router ospf <pid>
Router(config-router)# capability vrf-lite


## ======
## OSPFv3
## ======

## Configuring the VRF-Hite capability for OSPFv3
Router(config)# router ospfv3 <pid>
Router(config-router)# address-family [ipv4 | ipv6] vrf [VRF-NAME]
Router(config-router-af)# capability vrf-lite