GroupStudy.com GroupStudy.com - A virtual community of network engineers
 Home  BookStore  StudyNotes  Links  Archives  StudyRooms  HelpWanted  Discounts  Login
Re: BGP peer groups ... not peering? [7:99728] posted 05/27/2005
[Chronological Index] [Thread Index] [Top] [Date Prev][Date Next] [Thread Prev][Thread Next]


Hi,

"bgp default local-preference xxx" command sets the local-pref value
when sending the updates to another neighbor, so from your outputs it
does what is says,

And as McDonald says it is not the best way to do it, I agree with his
suggestions.

HTH


On 5/27/05, Paul Cocker  wrote:
> Hi, I'm tring to setup a peer group, and thought I had managed it but the
> local preference isn't getting copied accross to each routers "sh ip bgp"
> table.  I've included the bgp config for each, and a snippet of "sh ip bgp
> nei".  I thought it all looked good, but I've obviously done something
> wrong. Any hints?
> 
> 2521A
> router bgp 3
> bgp default local-preference 500
> bgp log-neighbor-changes
> redistribute connected
> neighbor mypeergroup peer-group
> neighbor mypeergroup remote-as 3
> neighbor 10.5.0.2 remote-as 1
> neighbor 10.5.0.9 peer-group mypeergroup
> no auto-summary
> !
> 2523A
> router bgp 3
> bgp default local-preference 250
> bgp log-neighbor-changes
> redistribute connected
> neighbor mypeergroup peer-group
> neighbor mypeergroup remote-as 3
> neighbor 10.5.0.6 remote-as 4
> neighbor 10.5.0.10 peer-group mypeergroup
> no auto-summary
> 
> 2523A#sh ip bgp nei 10.5.0.10
> BGP neighbor is 10.5.0.10,  remote AS 3, internal link
> Member of peer-group mypeergroup for session parameters
> 
> 2521A#sh ip bgp nei 10.5.0.9
> BGP neighbor is 10.5.0.9,  remote AS 3, internal link
> Member of peer-group mypeergroup for session parameters
> 
>    Network          Next Hop            Metric LocPrf Weight Path
> *> 10.5.0.0/30      10.5.0.2                 0             0 1 i
> * i                 10.5.0.6                      250      0 4 1 i
> *> 10.5.0.4/30      10.5.0.2                               0 1 4 ?
> * i                 10.5.0.9                 0    250      0 ?
> *> 10.5.0.5/32      10.5.0.2                               0 1 4 ?
> * i10.5.0.6/32      10.5.0.9                 0    250      0 ?
> *>i10.5.0.8/30      10.5.0.9                 0    250      0 ?
> *> 10.5.0.20/30     10.5.0.2                               0 1 4 ?
> * i                 10.5.0.6                 0    250      0 4 ?
> * i10.5.0.22/32     10.5.0.6                 0    250      0 4 ?
> *> 10.5.0.24/30     10.5.0.2                               0 1 4 ?
> * i                 10.5.0.6                 0    250      0 4 ?
> *> 10.5.1.0/24      10.5.0.2                 0             0 1 i
> * i                 10.5.0.6                      250      0 4 1 i
> *> 10.5.3.0/24      10.5.0.2                               0 1 4 5 ?
> * i                 10.5.0.6                      250      0 4 5 ?
> * i10.5.4.0/24      10.5.0.9                 0    250      0 ?
> *> 10.5.5.0/24      10.5.0.2                               0 1 4 ?
> * i                 10.5.0.6                 0    250      0 4 ?
> *> 192.168.16.0/21  10.5.0.2                               0 1 4 5 i
> * i                 10.5.0.6                      250      0 4 5 i
> *> 192.168.64.0     10.5.0.2                               0 1 4 5 ?
> * i                 10.5.0.6                      250      0 4 5 ?
> 
> _________________________________________________________________
> It's fast, it's easy and it's free. Get MSN Messenger 7.0 today!
> http://messenger.msn.co.uk




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=99731&t=99728
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html