Re: BGP WEIGHT

From: Alexei Monastyrnyi (alexeim@orcsoftware.com)
Date: Tue Apr 25 2006 - 04:36:47 GMT-3


The difference is in how precise you have to be.
"weight" sets up the same value for all routes learned from particular
BGP neighbor, whereas "route-map" allows you to affect routes in more
flexible way, as you see fit.

In your example the second way will not let in routes other than ^200_ BTW

A.

on 24/04/2006 17:33 tony hall wrote:
> Hi Group,
> I hope someone can explain me the diffrence between 2 commands.
>
> 1-
> router bgp 100
> neigh 10.10.10.2 weight 1000 <----------------ebgp peer with AS 200
> 2-
> router bgp 100
> neigh 10.10.10.2 route-map WT in <---------ebgp peer with AS 200
>
> route-map WT
> match as-path 1
> set weight 1000
>
> ip as-path access-list 1 permit ^200_
>
> Regards.
>
> _________________________________________________________________
> Be the first to hear what's new at MSN - sign up to our free
> newsletters! http://www.msn.co.uk/newsletters
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Mon May 01 2006 - 11:41:59 GMT-3