RE: how can i use all 3 of these routes for load sharring?

From: Aaron <aaron1_at_gvtc.com>
Date: Wed, 25 Jul 2012 11:23:54 -0500

cool, look what i just found !
http://blog.alwaysthenetwork.com/tutorials/bgp-multipath-relax/

looks like this is a way to relax the multipath requirements.

y'all think this will work?

XR...

RP/0/RSP0/CPU0:9k#conf
Wed Jul 25 11:19:34.965 CDT

RP/0/RSP0/CPU0:9k(config)#router bgp 64512

RP/0/RSP0/CPU0:9k(config-bgp)#vrf one

RP/0/RSP0/CPU0:9k(config-bgp-vrf)#bgp bestpath ?
  aigp AIGP attribute
  as-path AS path length
  compare-routerid Compare router-id for identical EBGP paths
  cost-community Cost community
  med MED related

RP/0/RSP0/CPU0:9k(config-bgp-vrf)#bgp bestpath as-path ?
  ignore Ignore as-path length
  multipath-relax Relax as-path check for multipath selection

RP/0/RSP0/CPU0:9k(config-bgp-vrf)#bgp bestpath as-path multipath-relax ?
  <cr>

-------------------------------------------------------------------------

IOS....hidden...

ospf1(config)#router bgp 64512
ospf1(config-router)#bgp m
ospf1(config-router)#bgp maxas-limit ?
  <1-2000> Number of ASes in the AS-PATH attribute

ospf1(config-router)#bgp best
ospf1(config-router)#bgp bestpath ?
  compare-routerid Compare router-id for identical EBGP paths
  cost-community cost community
  med MED attribute

ospf1(config-router)#bgp bestpath as
ospf1(config-router)#bgp bestpath ?
  compare-routerid Compare router-id for identical EBGP paths
  cost-community cost community
  med MED attribute

ospf1(config-router)#bgp bestpath ?
  compare-routerid Compare router-id for identical EBGP paths
  cost-community cost community
  med MED attribute

ospf1(config-router)#bgp bestpath as-path ?
% Unrecognized command
ospf1(config-router)#bgp bestpath as-path
% Incomplete command.

ospf1(config-router)#bgp bestpath as-path multipath-relax
ospf1(config-router)#do sh run | sec router bgp
router bgp 64512
 no synchronization
 bgp log-neighbor-changes
 bgp bestpath as-path multipath-relax
 no auto-summary
ospf1(config-router)#

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
Aaron
Sent: Wednesday, July 25, 2012 11:02 AM
To: 'Gilles Fabre'; 'Ccielab_at_groupstudy.com'
Subject: RE: how can i use all 3 of these routes for load sharring?

Thanks Gilles, Do all 5 of these need to be equal ? b&or can the first in
the list (weight) be equal to suffice ?

Aaron

From: Gilles Fabre [mailto:fabre.gilles_at_voila.fr]
Sent: Wednesday, July 25, 2012 10:51 AM
To: Aaron; Ccielab_at_groupstudy.com
Subject: re: how can i use all 3 of these routes for load sharring?

In order to be candidates for multipath, paths to the same destination need
to
have these characteristics equal to the best-path characteristics:

B7 Weight

B7 Local preference

B7 AS-PATH length

B7 Origin

B7 MED

Your route #3 comes from AS123 while #1 & #2 are local
Consequently, 3 can't be considered for multipath

Best regards.

> Message du 25/07/12 C 17h38
> De : "Aaron"
> A : "Ccielab_at_groupstudy.com"
> Copie C :
> Objet : how can i use all 3 of these routes for load sharring?
>
> Any idea why I see 3 default routes in bgp but only 2 get put into rib?
How
> would I get all 3 of these into rib?
>
>
>
> RP/0/RSP0/CPU0:9k#sh bgp vrf one 0.0.0.0
>
> Wed Jul 25 10:26:33.834 CDT
>
> BGP routing table entry for 0.0.0.0/0, Route Distinguisher: 10.101.0.10:1
>
> Versions:
>
> Process bRIB/RIB SendTblVer
>
> Speaker 1073639 1073639
>
> Last Modified: Jul 20 19:40:28.857 for 4d14h
>
> Paths: (3 available, best #2)
>
> Not advertised to any peer
>
> Path #1: Received by speaker 0
>
> Not advertised to any peer
>
> Local
>
> 10.101.0.1 (metric 3) from 10.101.0.1 (10.101.0.1)
>
> Received Label 16200
>
> Origin incomplete, metric 1, localpref 100, valid, internal,
> multipath, import-candidate, imported
>
> Received Path ID 0, Local Path ID 0, version 0
>
> Extended community: RT:10.101.0.1:1 OSPF route-type:0:5:0x1 OSPF
> router-id:1.2.3.17
>
> Path #2: Received by speaker 0
>
> Not advertised to any peer
>
> Local
>
> 10.101.0.2 (metric 2) from 10.101.0.2 (10.101.0.2)
>
> Received Label 16220
>
> Origin incomplete, metric 1, localpref 100, valid, internal, best,
> group-best, multipath, import-candidate, imported
>
> Received Path ID 0, Local Path ID 1, version 1073639
>
> Extended community: RT:10.101.0.2:1 OSPF route-type:0:5:0x1 OSPF
> router-id:1.2.3.21
>
> Path #3: Received by speaker 0
>
> Not advertised to any peer
>
> 123
>
> 2.4.6.45 from 2.4.6.45 (1.3.9.173)
>
> Origin IGP, localpref 100, valid, external, group-best
>
> Received Path ID 0, Local Path ID 0, version 0
>
> Extended community: RT:10.101.0.10:1
>
>
>
> RP/0/RSP0/CPU0:9k#sh rou vrf one 0.0.0.0
>
> Wed Jul 25 10:26:38.117 CDT
>
>
>
> Routing entry for 0.0.0.0/0
>
> Known via "bgp 64512", distance 200, metric 1, candidate default path,
> type internal
>
> Installed Jul 20 19:40:28.985 for 4d14h
>
> Routing Descriptor Blocks
>
> 10.101.0.1, from 10.101.0.1, BGP multi path
>
> Nexthop in Vrf: "default", Table: "default", IPv4 Unicast, Table Id:
> 0xe0000000
>
> Route metric is 1
>
> 10.101.0.2, from 10.101.0.2, BGP multi path
>
> Nexthop in Vrf: "default", Table: "default", IPv4 Unicast, Table Id:
> 0xe0000000
>
> Route metric is 1
>
> No advertising protos.
>
>
>
>
>
> Aaron
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>

  _____

Les plus beaux looks de Kate Middleton sont C dC)couvrir sur Voila.fr
<http://people.voila.fr/people/mediatheque/dossiers/kate-middleton-ses-plus-
b
eaux-looks-depuis-son-mariage/>

Blogs and organic groups at http://www.ccie.net
Received on Wed Jul 25 2012 - 11:23:54 ART

This archive was generated by hypermail 2.2.0 : Wed Aug 01 2012 - 15:55:23 ART