cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
581
Views
7
Helpful
3
Replies

Setting a BGP weight

tiholden
Level 1
Level 1

I have two ISP providers sending me their default route. I need to set the weight on one of them so it's path is not being used. What is the command to make this happen? I don't want to use it in a route-map statement either. Only in the router bgp configuration.

Thanks,

3 Replies 3

pkhatri
Level 11
Level 11

Hi,

You can use the following:

neighbor weight

Note that this will apply to all routes received from that peer, not just the default.

Hope that helps - pls rate the post if it does.

Paresh

What is the default weight and what would be the amount for this statement. neighbor weight ???

If the default is 0 then would a higher weight be set to stop traffic from using the link with the higher weight or would the higher weight be the preferred link?

The default weight is 0. The higher weight is preferred so you could for example, set the weight to 200 for the neighbor which is preferred and leave it at the default for the peer which is not.

Hope that helps - pls rate the post if it does.

Paresh

Review Cisco Networking products for a $25 gift card