how to adjust interface metric in ospf to define desired route ?

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

how to adjust interface metric in ospf to define desired route ?

L0 Member

Screen Shot 2020-01-22 at 12.39.13 AM.png

 

I have to two virtual routers 

VR_1 - e1/1 - is connected to wan 1, e1/3 - is connected to internal network, e1/4 is connected to a switch so, VR_1 has e1/1,1/3,1/4 and I want the primary ospf route to be from e1/4. what changes should I make to do set all routes pass through e1/4.

VR_2 - e1/2 - is connected to wan 2.

 

currently all interfaces are in ospf network.

2 REPLIES 2

L0 Member

You can do this under the VR. VR > OSPF 

Cyber Elite
Cyber Elite

Hello,

To supplement what @ArminGradscevic stated:

Networking Tab -> Virtual Routers-> the virtual router you are using->OSPF->Area->Interface tab

Then select the interface you want to make a heavier weight and set the metric. I usually keep my default one as the default of 10. Then I use intervals of 5000 for metrics since that usually is enough to override what OSPF selects. The higher the number, the less desirable OSPF will make that route.

https://docs.paloaltonetworks.com/pan-os/10-0/pan-os-admin/networking/ospf.html

Hope that helps.

  • 6724 Views
  • 2 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!