Sample OSPFv3 Routing Configuration File

To use any of the dynamic routing protocols with Fireware XTM, you must copy and paste a configuration file for the dynamic routing daemon. This topic includes a sample configuration file for the OSPFv3 routing daemon. To use this configuration file as a base for your own configuration file, copy the text into a new text file and save it with a new name. You can then edit the parameters to meet the requirements of your organization.

Optional commands are commented with the "!" character. To enable a command, delete the "!" and modify variables as necessary.

!! 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

See Also

About Open Shortest Path First (OSPF and OSPFv3) Protocol

OSPFv3 Commands

Configure IPv6 Routing with OSPFv3

Give Us Feedback  •   Get Support  •   All Product Documentation  •   Knowledge Base