cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
782
Views
0
Helpful
4
Replies

P2P Link as primary and BGP as secondary over same router

VERON_123
Level 1
Level 1

So over a same router we have two link one is BGP which we want to work as secondary. And another is point to point link which we want to configure as primary.

Hence I need help to understand how do I configure P2P as primary and BGP as secondary .what will be failover scenario .

How we can configure such that if P2P link goes down than traffic shift to BGP link .

4 Replies 4

DanielP211
VIP Alumni
VIP Alumni

Hello,

You will have to configure dynamic routing over P2P and set a higher preference, or if you want to direct all traffic you can setup a default route 0/0 gw P2P peer. Over BGP you also have to recive the default route. By default the static route will have the higher metric. To enable failover you can setup tracking and IP SLA to change the metric if the P2P link goes down.

BR

****Kindly rate all useful posts*****

Richard Burts
Hall of Fame
Hall of Fame

Am I correct in assuming that you are looking at options for default route or are you looking at options for more specific routes?

Can you tell us more about the P2P link? Is this some type of serial interface? Or some other type of link?

In general terms a solution that would work would be a static route (which has a low Administrative Distance) as primary and BGP (which has a higher AD) as secondary.

HTH

Rick

P2P config with default route have ad lower than default route learn from bgp.

And hence p2p defualt route will be use as primary and bgp will use as secondary.

guruvignesh
Level 1
Level 1

Hello VERON,

  1. P2P as Primary:

    • Configure P2P interface and set a static default route to P2P.
  2. BGP as Secondary:

    • Configure BGP with a higher administrative distance.
  3. Adjust Admin Distance:

    • Increase BGP admin distance to make it less preferred.
  4. Configure Failover:

    • Use IP SLA to track P2P link.
    • Adjust static default route to track P2P's reachability.

Now, if P2P link goes down, traffic will shift to BGP.

Review Cisco Networking for a $25 gift card