Sample OSPFv3 Routing Configuration File (Quagga)

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 for Quagga, which is the routing daemon in Fireware v12.8.x or lower.

To use a sample configuration file as a starting point for your OSPFv3 configuration, copy the text into a text editor application and edit the parameters to meet your business requirements. Optional commands are commented with the "!" character. To enable a command, delete the "!" and modify variables as necessary.

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 to Fireware v12.9. For a sample routing configuration file for Fireware v12.9 or higher, go to Sample OSPFv3 Routing Configuration File (FRR).

!! SECTION 1: Configure interface properties.
! Set properties for interface eth1.
! interface eth1
! ! Set link cost to 1000 (1-65535) on interface eth1.
! ipv6 ospf6 cost 1000
!! Set hello interval to 5 seconds (1-65535); default is 10 seconds.
! ipv6 ospf6 hello-interval 5
! ! Set dead-interval to 15 seconds (1-65535); default is 40 seconds.
! ipv6 ospf6 dead-interval 15
! ! 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
! ! Set high priority (0-255) to increase eligibility to become the designated router (DR).
! ipv6 ospf6 priority 255
! ! Disable OSPF announcement on interface eth0
! ipv6 ospf6 passive

 

!! SECTION 2: Start OSFPv3 and set daemon properties.
! Enable OSPFv3 daemon. Must be enabled for all OSPF configurations.
! router ospf6
!! Set the router ID manually to 100.100.100.20. If not set, the firewall will set its own ID based on an interface IP address.
! router-id 100.100.100.20

 

!! SECTION 3: Set network and area properties. Set areas with W.X.Y.Z or Z notation.
! Bind interface eth1 to area 0.0.0.0 and send OSPF packet.
! interface eth1 area 0.0.0.0
! ! Redistribute static routes to OSPFv3.
! redistribute static
! ! Redistribute routes from all interfaces to OSPFv3.
! redistribute connected
! redistribute connected route-map MAPNAME
!!Redistribute routes from RIPng and BGP to OSPFv3.
! redistribute ripng
! redistribute bgp

!! SECTION 4: 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
! ! 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

OSPFv3 Commands (Quagga)

Configure IPv6 Routing with OSPFv3