Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

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.

When configuring OSPF processes, note the following:
  • 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.
Table 1. Configuring multiple OSPF processes



Set the identifier for the first OSPF process.

vyatta@vyatta# set protocols ospf process 1

Set the identifier for the second OSPF process.

vyatta@vyatta# set protocols ospf process 2

Commit the configuration.

vyatta@vyatta# commit

Display the configuration.

vyatta@vyatta# show protocols ospf 
 ospf {
        process 1
        process 2