cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1628
Views
0
Helpful
6
Replies

PBR between Cisco and Juniper

Abdel Amyay
Level 1
Level 1

Hello,

I am looking for some suggestions for PBR / failover between multiple sites running Cisco and Juniper.

I have three site A, B and C

I have attached a diagram showing how the sites are interconnected.

* All three sites running OSPF internally. I would like to achieve the following:

1. When both MPLS and P2P link are up:

Subnet a1 to subnet b1 (vis versa) will be routed through P2P Link

Subnet a2 and a3 will be routed through MPLS when contacting b2 and b3

Site C will reach Site A and B through MPLS

2. When MPLS at Site A is down and P2P Link is up:

all traffic from site A to B (vis versa) will go through P2PLink.

Traffic from C to A will be routed through Site B and P2P Link

Any suggestions would be very helpful.

6 Replies 6

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

To achieve this its easier if you just use static route instead if OSPF. This way, you can control what link to use for each subnet.

HTH

Reza,

Static route will not work as we want some sort of automatic failover when one link goes down.

blau grana
Level 7
Level 7

This is job for BGP, if it's possible to run it on your devices/via MPLS cloud.

Best Regards Please rate all helpful posts and close solved questions

I do agree that BGP is more flexible when doing load balancing, but it s not an option for now.

Hello
Are you MPLS are you using  -L2 or L3 ?

1) On the P2P links advertise them also in ospf (same area) but give them each an higher ospf interface cost
2) On site A and B -create local ACl for each subnet and route-map (cisco) Policy (juniper) set the nexthop towards the P2P links interfaces
3) apply some tracking (cisco)/probing(juniper) of the next-hop reachability in case the P2P links go down then you wont get any blacking holing of the PBR subnets

One this is done, these subnets should then Policy route over the P2P link between each other and all other traffic should traverse the MPLS

When the failure is incurred on either the Site A MPLS or the P2P, links, All its networks would still be accessible.

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hello Paul

Sorry for late response.

 Our MPLS is L3.

I was able to do step 1 and 2 but having some issues with step3 on Juniper. I am able to create FBF that routes traffic accordingly, but have an issue with failover when the mpls goes down. Do you have any example for Juniper EX switch. Most examples I saw have to do with SRX which supports more RPM features than EX.

Review Cisco Networking for a $25 gift card