Got it

BGP Routing Configuration

Created: Oct 5, 2020 13:11:48Latest reply: Dec 25, 2020 20:43:01 1042 17 3 0 0
  Rewarded HiCoins: 1 (problem resolved)

Hi All


In both my DCs we have a CE6855 switch terminating connection to a 3rd party. Please see attached.


I am in the process of configuring BGP so EBGP to the 3rd party and IBGP internally between my DCs. The 3rd party configuration is in a VRF (VPN-Instance) which is configured.


I want to achieve the following:

  • Advertise my static and connected routes in each DC into BGP so they are advertised to the 3rd party

  • Build EBGP relationship with 3rd party so I can receive their routes

  • Set local preference so DC1 link is primary for all traffic to the 3rd party and DC2 link being secondary


With my configs attached, is that possible and is there anything missing. I expected the local prefernce command just needs to be in DC1 which then advertises the higher preference routes to its IBGP neighbour in DC2. 


Thanks

Attachment: You need to log in to download or view. No account? Register

Featured Answers

Recommended answer

jason_hu
Admin Created Oct 13, 2020 08:52:34

Hello,
When you configure local-Preference, the routing of outgoing traffic will be affected, but the routing of incoming traffic will not be affected. If you want to affect the routing of incoming traffic, you need to increase the MED at DC2.
View more
  • x
  • convention:

Unicef
Unicef Created Oct 13, 2021 02:50:11 (0) (0)
 
Sokrin
Sokrin Created Feb 25, 2022 02:42:11 (0) (0)
good  
All Answers
Please wait for!
View more
  • x
  • convention:

In BFD for OSPF, a BFD session is associated with OSPF. The BFD session fast detects a link fault and then notifies OSPF of the fault. This speeds up OSPF's response to the change of the network topology.
View more
  • x
  • convention:

Sokrin
Sokrin Created Feb 25, 2022 02:42:17 (0) (0)
 
LuizPuppin
LuizPuppin HCIE Author Created Oct 5, 2020 15:40:45

We need more information about your environment, with only this I didn't see anything wrong.
View more
  • x
  • convention:

kunthea
kunthea Created Feb 25, 2022 02:42:50 (0) (0)
 
LuizPuppin
LuizPuppin HCIE Author Created Oct 5, 2020 15:43:50

Please, verify if routes are received on "display bgp vpnv4 vpn-instance VRF-3PARTY routein-table".
View more
  • x
  • convention:

kunthea
kunthea Created Feb 25, 2022 02:42:56 (0) (0)
 
Currently I am prepping the configurations as follows. So on each switch I am configuring EBGP to the 3rd party and IBGP internally. All static routes in the VRF will be redistributed into BGP. I am running BFD for fast failover. This is all under the VRF 3PARTY. DC1 to have the higher route preference for all the learned routes so that path to the 3rd Party is always primary and DC2 is secondary with a lower preference for the routes.

Does the config below look correct?

**DC1 ebgp config
bgp 65000
ipv4-family vpn-instance VRF-3PARTY
undo synchronisation
router-id 10.10.0.3
peer 10.20.0.50 as-number 65010
peer 10.20.0.50 ebgp-max-hop 3
peer 10.20.0.50 connect-interface loopback 1
peer 10.20.0.50 enable
peer 10.20.0.50 bfd enable
default local-preference 150
import-route direct
import-route connected
**DC1 ibgp config
peer 10.10.0.4 as-number 65000
peer 10.10.0.4 ebgp-max-hop 3
peer 10.10.0.4 connect-interface loopback 1
peer 10.10.0.4 enable
peer 10.10.0.4 bfd enable

**DC2 ebgp config
bgp 65000
ipv4-family vpn-instance VRF-3PARTY
undo synchronisation
router-id 10.10.0.4
peer 10.20.0.53 as-number 65010
peer 10.20.0.53 ebgp-max-hop 3
peer 10.20.0.53 connect-interface loopback 1
peer 10.20.0.53 enable
peer 10.20.0.53 bfd enable
import-route direct
import-route connected
**DC2 ibgp config
peer 10.10.0.3 as-number 65000
peer 10.10.0.3 ebgp-max-hop 3
peer 10.10.0.3 connect-interface loopback 1
peer 10.10.0.3 enable
peer 10.10.0.3 bfd enable
View more
  • x
  • convention:

simchamnan
simchamnan Created Feb 25, 2022 02:43:28 (0) (0)
 
Hello,
When you configure local-Preference, the routing of outgoing traffic will be affected, but the routing of incoming traffic will not be affected. If you want to affect the routing of incoming traffic, you need to increase the MED at DC2.
View more
  • x
  • convention:

Unicef
Unicef Created Oct 13, 2021 02:50:11 (0) (0)
 
Sokrin
Sokrin Created Feb 25, 2022 02:42:11 (0) (0)
good  
Good
View more
  • x
  • convention:

I don't have any idea of this until now thank you all
View more
  • x
  • convention:

simchamnan
simchamnan Created Feb 25, 2022 02:43:34 (0) (0)
 
you need to configure med attribute in DC2 so the downloading stream traffic will received in DC1, and LP will force the traffic to prefer DC1 for uploading stream
View more
  • x
  • convention:

user_4397771
user_4397771 Created Feb 25, 2022 02:51:29 (0) (0)
good  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.