Sample OSPFv3 Routing Configuration File (FRR)

To use the OSPFv3 dynamic routing protocol with Fireware, you must type OSPFv3 configuration commands or import a configuration file on the Network > Dynamic Routing page. This topic includes a sample configuration file. To use this configuration file as a starting point for your OSPF configuration, copy the text into a text editor application and edit the parameters to meet your business requirements.

In Fireware v12.9 or higher, Fireware uses the Free Range Routing (FRR) routing engine, which replaces Quagga. If your configuration includes Quagga commands for dynamic routing, those commands work after you upgrade. Some FRR commands appear in a different section than in Quagga.

For information about OSPFv3 requirements and how to configure OSPFv3, go to Configure IPv6 Routing with OSPFv3.

In Fireware v12.8.x or lower, Fireware uses the Quagga routing engine. For a sample routing configuration file for Fireware v12.8.x or lower, go to Sample OSPFv3 Routing Configuration File (Quagga). For a list of Quagga commands, go to OSPFv3 Commands (Quagga).


This configuration sample shows how to configure some common OSPFv3 commands that you might include in your OSPFv3 configuration in Fireware v12.9 or higher. Your configuration file might include other commands.

For descriptions of common commands, go to OSPFv3 Commands (FRR). For a complete list of FRR commands, go to the FRRouting User Guide.

! SECTION 1: Configure interface and area properties. Set areas with W.X.Y.Z or Z notation. 
! Set properties for interface eth1.
interface eth1
! Set link cost to 1000 (1-65535) on interface eth1.
ipv6 ospf6 cost 1000
! Set dead-interval to 15 seconds (1-65535); default is 40 seconds.
ipv6 ospf6 dead-interval 15
! Set hello interval to 5 seconds (1-65535); default is 10 seconds.
ipv6 ospf6 hello-interval 5
! Disable OSPF announcement on interface eth0
ipv6 ospf6 passive
! Set high priority (0-255) to increase eligibility to become the designated router (DR).
ipv6 ospf6 priority 255
! Set interval between link-state advertisements (LSA) retransmissions to 10 seconds (1-65535); default is 5 seconds.
ipv6 ospf retransmit-interval 10
! Set LSA update interval to 3 seconds (1-3600); default is 1 second.
ipv6 ospf6 transmit-delay 3


! SECTION 2: Start OSFPv3 and set redistribute properties
router ospf6
! Set the router ID manually to If not set, the firewall will set its own ID based on an interface IP address.
! Bind interface eth1 to area and send OSPF packet.
interface eth1 area
! redistribute connected
redistribute connected route-map MAPNAME
! Redistribute static routes to OSPFv3.
redistribute static
! Redistribute routes from RIPng and BGP to OSPFv3. 
redistribute ripng
redistribute bgp


! SECTION 3: Configure route redistribution filters with prefix-list route maps. Create an IPv6 prefix-list to only allow redistribution of 3000::/64. 
ipv6 prefix-list LISTNAME permit 3000::/64
ipv6 prefix-list LISTNAME deny any


! SECTION 4: Create a route map.
! Create a route map with name MAPNAME and allow with a priority of 10 (1-199).
route-map MAPNAME permit 10
match ipv6 address prefix-list LISTNAME

Related Topics

About Open Shortest Path First (OSPF and OSPFv3) Protocol

Configure IPv6 Routing with OSPFv3