Palo Alto Networks OSPF & OSPFv3 Implementation Guide

1. OSPF Overview

Open Shortest Path First (OSPF) is a link-state routing protocol used for routing IP packets within a single routing domain. Palo Alto Networks firewalls support both OSPFv2 (for IPv4) and OSPFv3 (for IPv6).

2. Configuring OSPFv3

  1. Navigate to Network > Virtual Routers and select your virtual router.
  2. Go to the OSPFv3 tab and enable OSPFv3.
  3. Set the Router ID (typically an IPv4 address).
  4. Configure Authentication Profiles using ESP or AH protocols as OSPFv3 relies on IPsec for authentication.
  5. Define Areas and assign interfaces accordingly.
  6. Set up Export Rules for route redistribution.
  7. Adjust Advanced Options like SPF calculation delay and LSA intervals.

For detailed steps, refer to the official documentation: Configure OSPFv3 - Palo Alto Networks

3. OSPF Area Types

4. LSA Types

5. Route Redistribution

To redistribute routes into OSPFv3:

  1. Navigate to Network > Virtual Routers and select your virtual router.
  2. Go to the OSPFv3 tab and click on Export Rules .
  3. Click Add to create a new export rule.
  4. Specify the source (e.g., static, connected, BGP) and set the desired metric and route type (Ext 1 or Ext 2).

Ensure that the redistribution profile is correctly referenced in the OSPFv3 configuration.

6. Troubleshooting Commands

Use the following CLI commands for troubleshooting OSPF and OSPFv3:

show routing protocol ospf neighbor
show routing protocol ospf interface
show routing protocol ospf database
show routing route
show routing protocol ospfv3 neighbor
show routing protocol ospfv3 interface
show routing protocol ospfv3 database
    

These commands provide insights into OSPF neighbor relationships, interface states, and the OSPF database.

7. References