Advanced routing configuration using the template module
In this recipe, you will create configuration templates for BGP and OSPF. BGP is used to connect to both the campus fabric and the data center fabric that was created in the last chapter. OSPF will be used as the core network interior gateway protocol (IGP) to transport all the routes throughout the core. The following logical diagram provides more details. The details specifically show what links will be using BGP, and where and how the OSPF area will be configured.

Figure 5.3 - Core routing protocols
Note
OSPF is used as the IGP between the data center and campus networks, for sharing routes between the different infrastructures. RFC 7938 advocates for BGP in large-scale data centers by highlighting its advantages in scalability, convergence, and flexibility, which are critical in those environments and where traditional IGPs such as OSPF might fall short. However, that level of complexity is not...