From: Brian Dennis (bdennis@internetworkexpert.com)
Date: Fri Jun 02 2006 - 18:48:33 ART
Just type the command out.
Rack1R1(config-if)#router bgp 1
Rack1R1(config-router)#bgp bestpath as-path ?
% Unrecognized command
Rack1R1(config-router)#bgp bestpath ?
compare-routerid Compare router-id for identical EBGP paths
med MED attribute
Rack1R1(config-router)#bgp bestpath as-path ignore
Rack1R1(config-router)#do sho run | in bgp bestpath as-path ignore
bgp bestpath as-path ignore
Rack1R1(config-router)#
Rack1R1(config-router)#do sho ver | in IOS
IOS (tm) C2600 Software (C2600-JS-M), Version 12.2(15)T16, RELEASE
SOFTWARE (fc2)
Rack1R1(config-router)#
HTH,
Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
bdennis@internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 775-745-6404 (Outside the US and Canada)
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Bajo
Sent: Friday, June 02, 2006 2:17 PM
To: Victor Cappuccio
Cc: Petr Lapukhov; ccielab@groupstudy.com
Subject: Re: Lab 2 IEWB V3 Vol 2
The problem I had with this lab is the "bgp bestpath as-path ignore"
part.
CD says it has been there sine 12.0. But I see only
R2(config-router)#bgp bestpath ?
compare-routerid Compare router-id for identical EBGP paths
med MED attribute
Am on "3700 Software (C3725-JS-M), Version 12.2(15)T11, RELEASE
SOFTWARE
(fc2)" May be it time to upgrade image :)
On 6/2/06, Victor Cappuccio <cvictor@protokolgroup.com> wrote:
>
> 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