Support for multiple OSPF processes
By default, when you configure OSPF without specifying a process ID (PID), the system creates an OSPF process and assigns it a PID of 0. However, you can create additional OSPF processes in the context of a routing instance by giving each process a unique PID in the range of 1 through 65535. The following figure shows multiple OSPF processes that run in different routing instances.
To set the PID for an OSPF process, use the process pid keyword and variable with protocols ospf ... commands, as illustrated in the following example, which shows how to configure two OSPF processes for the default routing instance.
- The PID of an OSPF process is local to the router.
- Routes can be redistributed among OSPF processes that belong to the same routing instance.
- An OSPF process maintains its own route database and does not share it with other OSPF processes.
- RIB is common to all OSPF processes defined for a routing instance.
- An interface can belong to only one OSPF process.
Step | Command |
---|---|
Set the identifier for the first OSPF process. |
|
Set the identifier for the second OSPF process. |
|
Commit the configuration. |
|
Display the configuration. |
|