Can I advertise a static route via OSPF?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Can I advertise a static route via OSPF?

Not applicable

I have OSPF working for subnets to which I'm directly connected.  I have a static route to another subnet to which I'm not directly connected.  Can I advertise this route via OSPF?  If so, how?

3 REPLIES 3

L4 Transporter

I havent tried on the PA device myself. You should be able to redistribute routes to and from a routing protocol. You can redistribute static routes into OSPF  by creating  a redistribution profile with filter type static ( to redistribute all static routes) or destination. You then refer to this profile as export profile under OSPF configuration

L4 Transporter

Hi ,

Here are the step by step instructions on how to do that.

I would be doing a brief write up and posting an article shortly along with this screenshot for this configuration.

1) Create static route under VR routing table

>Go to Network---->VR

>Click Default-VR---> General Tab

(Add any static route needed)

2) Create Redistribution Profile

Under Network---->VR----> Default ---> Redistribution Profiles Tab ---> Click Add

>Configure profile name

>Enter Priority

>Select the filter type as “Static”

>Check "Redistribute" box under Action

>Click Ok

>Use metric 10 or above, lower the number the higher the priority

3) Create Export Rule under OSPF router configuration

Go to Network---->VR----> Default

> Click on OSPF Tab

>Click "Add" under export Rules

>Specify Name of redistribution Profile per step 2

>Specify Path Type---> and click okay

Note: New Path Type configuration ext-1 or ext-2 will both work.

4) Commit the changes that were done on the device.
Note: Once steps 1 thru 4 have been completed, any
new static route created will automatically get
redistributed via ospf.

Regards,

Parth

L4 Transporter

Hi,

Here is the document that gives step by step instructions on how to redistribute Static Route via OSPF

https://live.paloaltonetworks.com/docs/DOC-2923#cf

Regards,

Parth

  • 5756 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!