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).
For detailed steps, refer to the official documentation: Configure OSPFv3 - Palo Alto Networks
To redistribute routes from other protocols (e.g., BGP, static, connected) into OSPFv3 on a Palo Alto firewall:
static
,
bgp
).
Ext 1
or
Ext 2
- default is Ext 2).
This structure links the profile (defining *what* and *how* to redistribute) to the OSPFv3 process via an Export Rule.
Use the following CLI commands for troubleshooting OSPF and OSPFv3:
show routing protocol ospf neighbor # OSPFv2 neighbors show routing protocol ospf interface # OSPFv2 interface status show routing protocol ospf database # OSPFv2 LSDB show routing protocol ospf policy # OSPFv2 policy/redistribution info show routing route type ospf # Routes learned via OSPFv2 in RIB show routing protocol ospfv3 neighbor # OSPFv3 neighbors show routing protocol ospfv3 interface # OSPFv3 interface status show routing protocol ospfv3 database # OSPFv3 LSDB show routing protocol ospfv3 policy # OSPFv3 policy/redistribution info show routing route type ospfv3 # Routes learned via OSPFv3 in RIB
These commands provide insights into OSPF neighbor relationships, interface states, the Link-State Database (LSDB), applied policies, and the final routes installed in the Routing Information Base (RIB).