cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
724
Views
0
Helpful
4
Replies

customizing incoming Internet BGP routing table

nizamismail
Level 1
Level 1

Hi,

I have 2 BGP links at my gateway router.

Link A is 10 Mb bandwidth and receive full internet routing table from ISP A. Meanwhile link B is 20Mb bandwidth and receive summarize routing table from ISP B. I want to make Link B as primary and have configured higher local preference for Link B.

The problem is, most of the packet go to Link A because it has specific prefix due to internet full routing table.

Is there a way to tweak this?

I have ask ISP B to give full routing table but they are not cooperating.

I also try to ask ISP A to give only summarize routes but they are not cooperating also.

I'm thinking to filter the full routing table from ISP A, so that it just include the network prefix from ISP A with default route. So most of the packet will go through link B because it has higher local preference. Can you show me how to do this?

Would it affect the router performance?

For your info, my gateway router is Cat 6509.

Any advice?

Thank you

4 Replies 4

guruprasadr
Level 7
Level 7

HI Nizam,

Please refer link below, use BGP regular expression to control such kind of requirement,

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094a92.shtml

Hope this Helps.

Best Regards,

Guru Prasad R.

Hi Guru Prasad,

Thank you very much for the links. It is very helpful. I get the idea on how to do it.

I have one question. If I configure my router to only receive routes originating from AS 4; does the default route from AS 4 will include in my routing table or the default route is filter out?

If you have 2 separate conns to ISPs I can't understand why you are not using just local preference attribute?

Set it to higher value via route-map configuration, so you'll be having both the conns on and redundant setup.

If you do filtering of the routes, as you're trying to do you'll never get automated backup.

c.captari
Level 1
Level 1

Assume that your ISP AS is 4.

router bgp 1

neighbor 4.4.4.4 remote-as 4

neighbor 4.4.4.4 route-map foo in

route-map foo permit 10

match as-path 1

ip as-path access-list 1 permit ^4$

This only permits routes originating in AS4 all other are denied.

Now you've got yourself a partial routing table from AS4, but bear in mind that you are missing a default route, so you need to speak with AS4 so that along with the full routing table they send you a default route as well. This should be pretty straight forward and they should accept this as it's very easy to configure.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco