Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

Public BGP peering weighted

We have a public AS that we are advertising using two BGP peers. How can we change the weight or administrative distance on one to make it less preferable to incoming traffic?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Public BGP peering weighted

The sample will work for both (1 x Router or 2 x Router in iBGP)

8 REPLIES

Re: Public BGP peering weighted

Hi,

To enfluence incoming traffic, use PREPEND. You can also use MED but not all ISP honors MED.

If its not enough, try advertising your prefix in two in your preferred ISP and in one in your less-preferred ISP.

Regards,

Dandy

New Member

Re: Public BGP peering weighted

Hey Dandy!

I appreciate the response. I cant seem to find good documentation anywhere regarding prepend or its use. This is what I dont understand at this point.

Thanks

Re: Public BGP peering weighted

Hi,

Check this link http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a0080093f2c.shtml

The link is HSRP and BGP, just focus on the prepend :) in your situation (R2 for example) you can PREPEND more....

set as-path prepend 100 100 100 100 nnn

...I think the maximum is 8 prepend

BTW, what is your setup? 2 x Router (each peer to different ISP) or 1 Router that peers to both ISP.

Regards,

Dandy

New Member

Re: Public BGP peering weighted

Currently it is 1 router that peers to both ISPs. Within the next couple weeks- it will be 2 routers (then 3) peered to 3 different spots.

Re: Public BGP peering weighted

The sample will work for both (1 x Router or 2 x Router in iBGP)

New Member

Re: Public BGP peering weighted

Thanks! I am implementing changes tonite. I will update on here if it fixed the issue.

Thanks again!

New Member

Re: Public BGP peering weighted

This resolved the issue. Thanks!

New Member

Re: Public BGP peering weighted

for incoming traffic, you just have limited influence over the remote side's decision like AS prepend, or route origin (IGP/incomplete). MEDS will not work in multihomed scenario. If the remote side decides to use LP, it will override all your efforts.

The best way to control incoming traffic is to use different subnet mask to advertise the same route to different remote sides.

202
Views
5
Helpful
8
Replies
CreatePlease to create content