cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
245
Views
1
Helpful
3
Replies

BGP failover between two circuits

EM
Level 1
Level 1

  I need please an experienced person who can help me validate this configuration for the following scenario: 2 MPLS circuits (primary and secondary) configured for active/active. I need guidance on implementing failover between the circuits using MED and local preference, or if you have a better configuration suggestion.  

Configure interfaces for MPLS circuits
interface TenGigabitEthernet0/0/0
 description Primary MPLS Circuit
 ip address 200.0.110.2 255.255.255.252

interface GigabitEthernet0/0/0
 description Secondary MPLS Circuit
 ip address 195.30.90.2 255.255.255.252

! BGP configuration for primary MPLS circuit
router bgp 65000
 bgp log-neighbor-changes
 network 192.168.10.2 mask 255.255.255.0

 neighbor 200.0.110.1 remote-as 65100
 neighbor 200.0.110.1 description Primary MPLS Neighbor
 !
 address-family ipv4
  neighbor 200.0.110.1 activate
  neighbor 200.0.110.1 send-community both
  neighbor 200.0.110.1 route-map PRIMARY-OUT out
  neighbor 200.0.110.1 route-map PRIMARY-IN in
  neighbor 200.0.110.1 soft-reconfiguration inbound
  exit-address-family

! BGP configuration for secondary MPLS circuit


router bgp 65000
 neighbor 192.168.10.1 remote-as 65200
 neighbor 192.168.10.1 description Secondary MPLS Neighbor
 !
 address-family ipv4
  neighbor 192.168.10.1 activate
  neighbor 192.168.10.1 send-community both
  neighbor 192.168.10.1 route-map SECONDARY-OUT out
  neighbor 192.168.10.1 route-map SECONDARY-IN in
  neighbor 192.168.10.1 soft-reconfiguration inbound
  exit-address-family

! Route maps for BGP attribute manipulation

! For Primary Circuit (2Gig)
route-map PRIMARY-IN permit 10
 set local-preference 200
 set metric 100

 

Thank you.

3 Replies 3

https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13762-40.html

check this 

and friend config LP effect outbound traffic 

config MED dont do anything if SP or other site use route-map to control inbound traffic to your site 

MHM

sorry I make you waiting 
you have one Hub dual ISP and connect to MPLS Core 
if that correct then I will run lab and share it today with you 

MHM

No worries thank you much.

yes we have one hub dual ISP and connected to the spokes site via MPLS 

 

Review Cisco Networking for a $25 gift card