Hello Ahmed, Based on what I understand both methods are correct. If the outcome is to set the Weight metric on all routes from that neighbor to a specific number. If the task was to set everything related to that neighbor to a specif weight I would use the first. I would use the route-map if I had to alter the weight of a one or more (but not all) routes associated with a neighbor. This would require an access-list or prefix list aswell.
Hope that helps. Terry If this post is incorrect please correct me. Ahmed Haji Munye wrote: > > > Hi > > Which of the two options below are correct to use when configuring > weight ? > > Option 1 > > R2(config-if)#router bgp 2 > R2(config-router)#neighbor 24.24.24.4 weight 200 > > or > > Optiion 2 > > R2(config)#route-map LOOP_WEIGHT > R2(config-route-map)#set weight 150 > R2(config-route-map)#exit > R2(config)#router bgp > R2(config-router)#neighbor 24.24.24.4 route-map LOOP-WEIGHT in > > > > ------------------------------------------------------------------------ > Låna pengar utan säkerhet. > Sök och jämför lån hos Kelkoo. > <http://www.kelkoo.se/c-100390123-lan-utan-sakerhet.html?partnerId=96915014> > > ------------------------------------------------------------------------ > > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com > _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com
