From: Victor Cappuccio (cvictor@protokolgroup.com)
Date: Fri Jun 02 2006 - 15:51:57 ART
Yeah Petr Thanks,
I had that configured, but I think that If you have the BGP Neighbors UP and
then apply those 2 commands you must clear them down
:S
_____
De: Petr Lapukhov [mailto:petrsoft@gmail.com]
Enviado el: Viernes, 02 de Junio de 2006 02:46 p.m.
Para: Victor Cappuccio
CC: ccielab@groupstudy.com
Asunto: Re: Lab 2 IEWB V3 Vol 2
Victor,
I don't recall the scenario exactly,
but AFAIR the goal was to prefer MED over AS-PATH to select
best-path. (MED follows origin, and origin follows as-path lenght
in bes-path selection)
And always compare med is required since routes were
received from different neighboring autonomous systems
HTH
Petr
2006/6/2, Victor Cappuccio <cvictor@protokolgroup.com>:
I do not get why in the solution they used the bgp always-compare-med & the
bgp bestpath as-path ignore
I had this configured in R2
Rack1R2(config-router)#do show run | b router bgp
router bgp 400
no synchronization
bgp router-id 150.1.2.2
bgp log-neighbor-changes
neighbor 150.1.1.1 remote-as 300
neighbor 150.1.1.1 ebgp-multihop 255
neighbor 150.1.1.1 update-source Loopback0
neighbor 150.1.7.7 remote-as 100
neighbor 150.1.7.7 ebgp-multihop 255
neighbor 150.1.7.7 update-source Loopback0
no auto-summary
and this is the output from R2 BGP Table..
Rack1R2(config-router)#do show ip bgp
BGP table version is 81, local router ID is 150.1.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 28.119.16.0/24 150.1.1.1 100 0 300 200 100 54
i
* 150.1.7.7 200 0 100 54 i
*> 28.119.17.0/24 150.1.1.1 100 0 300 200 100 54
i
* 150.1.7.7 200 0 100 54 i
*> 112.0.0.0 150.1.1.1 100 0 300 200 100 54
50 60 i
* 150.1.7.7 200 0 100 54 50 60 i
*> 113.0.0.0 150.1.1.1 100 0 300 200 100 54
50 60 i
* 150.1.7.7 200 0 100 54 50 60 i
*> 114.0.0.0 150.1.1.1 100 0 300 200 100 54
i
* 150.1.7.7 200 0 100 54 i
*> 115.0.0.0 150.1.1.1 100 0 300 200 100 54
i
* 150.1.7.7 200 0 100 54 i
*> 116.0.0.0 150.1.1.1 100 0 300 200 100 54
i
* 150.1.7.7 200 0 100 54 i
*> 117.0.0.0 150.1.1.1 100 0 300 200 100 54
i
* 150.1.7.7 200 0 100 54 i
*> 118.0.0.0 150.1.1.1 100 0 300 200 100 54
i
* 150.1.7.7 200 0 100 54 i
*> 119.0.0.0 150.1.1.1 100 0 300 200 100 54
i
* 150.1.7.7 200 0 100 54 i
*> 172.168.1.0/24 150.1.1.1 100 0 300 200 100 54
?
Please help
Thank
Victor.
This archive was generated by hypermail 2.1.4 : Sat Jul 01 2006 - 07:57:31 ART