Vyatta Network OS Documentation

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

VRF support for OSPF and OSPFv3

The vRouter supports the implementation of OSPF and OSPFv3 on routing instances.

If you configure OSPF or OSPFv3 on the vRouter without specifying a routing instance, the router uses the default routing instance. When configuring OSPF or OSPFv3 for a particular routing instance, you must associate the instance with an OSPF process, and the process ID must be specified in the configuration command.

OSPF configuration

All OSPF configuration commands are supported on routing instances.

In the following example, OSPF area 0 is defined for the default routing instance.

vyatta@R1# set protocols ospf area 0

In the following example, OSPF area 1 is defined for the RED routing instance, which is associated with OSPF process 1.

vyatta@R1# set routing routing-instance RED protocols ospf process 1 area 1

OSPFv3 configuration

All OSPFv3 configuration commands are supported on routing instances.

Note: In the default routing instance, OSPFv3 supports the default process (configuration without including a process ID) and non-default process (configuration with a process ID). In non-default routing instances, OSPFv3 supports only non-default processes (configuration with a process ID).

The following examples show the syntax for an individual configuration command. For an example of how to configure OSPFv3 processes on routing instances, refer to the section on configuring OSPFv3 on routing instances in Ciena Vyatta Network OS Basic System Configuration Guide.

In the following example, OSPFv3 access list 15 is specified for the default routing instance to filter networks in routing updates.

vyatta@R1# set protocols ospfv3 distribute-list 15

The following example shows how to apply the same configuration to the RED routing instance, which is associated with OSPFv3 process 10.

vyatta@R1# set routing routing-instance RED protocols ospfv3 process 10 distribute-list 15