The example of BGP Load blance

Latest reply: Nov 27, 2014 07:24:00 1839 1 0 0

 

In the this BGP toplogy,we have three 3 AS.

It has two routing from SWA to 192.168.1.100 ,we can see in the SWA

[SWA]disp bgp routing-table 192.168.1.100 24

 BGP local router ID : 1.1.1.1
 Local AS number : 100
 Paths:   2 available, 1 best, 2 select
 BGP routing table entry information of 192.168.1.0/24:
 From: 200.1.1.2 (2.2.2.2)
 Route Duration: 00h20m08s 
 Direct Out-interface: Vlanif10
 Original nexthop: 200.1.1.2
 Qos information : 0x0
 AS-path 300 200, origin igp, pref-val 0, valid, external, best, select, active,
pre 255
 Advertised to such 2 peers:
    200.1.2.2
    200.1.1.2
 BGP routing table entry information of 192.168.1.0/24:
 From: 200.1.2.2 (3.3.3.3)
 Route Duration: 00h20m08s 
 Direct Out-interface: Vlanif100
 Original nexthop: 200.1.2.2
 Qos information : 0x0
 AS-path 300 200, origin igp, pref-val 0, valid, external, select, active, pre 25
5, not preferred for router ID
 Not advertised to any peer yet

[SWA]

We can see that two routing,one is best,one is select; they are both select; so the BGP load blanceing working.

 

if we delet  the command "maximum load-balancing 2" in the BGP configuration in SWA, like this:

[SWA-bgp]disp this
#
bgp 100
 router-id 1.1.1.1
 peer 200.1.1.2 as-number 300
 peer 200.1.2.2 as-number 300
 #
 ipv4-family unicast
  undo synchronization
  peer 200.1.1.2 enable
  peer 200.1.2.2 enable
#
return

 

Then we chek  routing from SWA to 192.168.1.100 again,like this:

 

[SWA-bgp]q
[SWA]disp bgp routing-table 192.168.1.100 24

 BGP local router ID : 1.1.1.1
 Local AS number : 100
 Paths:   2 available, 1 best, 1 select
 BGP routing table entry information of 192.168.1.0/24:
 From: 200.1.1.2 (2.2.2.2)
 Route Duration: 00h35m07s 
 Direct Out-interface: Vlanif10
 Original nexthop: 200.1.1.2
 Qos information : 0x0
 AS-path 300 200, origin igp, pref-val 0, valid, external, best, select, active,
pre 255
 Advertised to such 2 peers:
    200.1.2.2
    200.1.1.2
 BGP routing table entry information of 192.168.1.0/24:
 From: 200.1.2.2 (3.3.3.3)
 Route Duration: 00h35m07s 
 Direct Out-interface: Vlanif100
 Original nexthop: 200.1.2.2
 Qos information : 0x0
 AS-path 300 200, origin igp, pref-val 0, valid, external, pre 255, not preferred
 for router ID
 Not advertised to any peer yet

[SWA]

we can see that is only has one routing select. so the bgp load blanceing is not working

 

This article contains more resources

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

x
  • x
  • convention:

user_2790689
Created Nov 27, 2014 07:24:00 Helpful(0) Helpful(0)

Thank you.
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice 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 " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login