BGP-WEIGHT
Rodrigo,
I don’t think there is a difference in your specific case here. Either would provide the prefixes learned from the neighbor with a WEIGHT value of 100.
Now, what would you do if a couple prefixes being learned from this neighbour needs to have a weight attribute of 100? Can you use WEIGHT in the neighbour statement?
HTH, Shine
—–Original Message—– From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of rodrigo.gutierrez@nsn.com Sent: Friday, 22 February 2008 9:46 AM To: ccielab@groupstudy.com Subject: RE: BGP-WEIGHT
Hi,
When using the attribute weight on BGP, what is the difference and when it should be used either on a route-map or directly with the neighbor, example:
router bgp 100 no synchronization bgp router-id 150.6.6.6 bgp log-neighbor-changes neighbor 54.6.3.254 remote-as 54 neighbor 54.6.3.254 weight 100
Versus
router bgp 100 no synchronization bgp router-id 150.6.6.6 bgp log-neighbor-changes neighbor 54.6.3.254 remote-as 54 neighbor 54.6.3.254 route-map SET-WEIGHT in
Route-map SET-WEIGHT permit 10 - set weight 100
Thanks
Rodrigo Gutiirrez IP/Engineer.
Rodrigo Gutiirrez IP/Engineer. Cisco Certified Network Professional, CCNP Mobile Phone # :57-310-580-0973 Monday - Friday : 8:00-16:00 EST rodrigo.gutierrez@nsn.com Nokia Siemens Networks
























