OSPF¶
Open Shortest Path First¶
Open Shortest Path First (OSPF) is an IGP standardized and is frequently used in large enterprise networks. It has been standardized by IETF and offers fast convergence and excellent scalability. As it is a link-state routing protocol, it is known for being able to effectively utilize network bandwidth which is one of its main advantages.
OSPF Areas - Every router learns the full picture of the network including every router, its interfaces and what they connect to which causes a lot of issues to large networks like taking up too much memory and router reconverging. - OSPF support a hierarchical design which segments large networks into smaller areas to solve this problem. - Each router maintains full information about its own area, but only summary information about other areas. - There is a two-level hierarchy used for large networks: - Transit area (backbone or area 0) does not contain end users. - Regular area (nonbackbone areas) is used to connect end users to the transit area. By default, all transit traffic goes through transit area.
OSPF Adjacency - To configure different areas, we can use the network command at the interface level. The neighbor router on the other side of the link should be configured in the same area so that the main router can form an adjacency.
OSPF3 (IPV6)¶
For IPv6 routing, OSPFv3 has to be used. Due to this being a completely new protocol version, the commands are similar, but there are some differences.
Commands¶
| Platform | Protocol | Documentation Link |
|---|---|---|
| FRR | OSPF | FRR |