4

I have 2 Foundry FESX448 switches which have external BGP connections. Each of them receive a default route. These 2 switches also have a BGP session configured between themselves and advertise routes to each other as iBGP.

I only want one of the switches to be the primary gateway as I am trying to move the traffic off the other switch. I tried limiting the announcement of the default gateway using the following prefix list configured as the outbound filter for the primary switch:

prefix-list deny_default: 1 entries
     seq 5 deny 0.0.0.0/0

But this seems to block the default gateway and other subnets connected on the switch. I am only trying to block the default gateway. But I still need to get to directly connected and static routes on the secondary switch.

already have default originate removed from the neighbor BGP config. The received default route from my ISP is the one being re-advertised.

What is a good way to accomplish this?

1 Answer 1

0

Not really knowing anything about these devices specifically, two ideas come to mind.

Try:

prefix-list allow_default: 1 entries
     seq 5 deny 0.0.0.0/0

Or:

prefix-list deny_default: 3 entries
     seq 5 allow 0.0.0.0/1
     seq 6 allow 128.0.0.0/1
     seq 10 deny 0.0.0.0/0
1
  • The second gets the job done it looks like. Though it isn't pretty...
    – Andy Shinn
    Mar 20, 2012 at 17:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.