Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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?

share|improve this question
up vote 0 down vote accepted

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


prefix-list allow_default: 1 entries
     seq 5 deny


prefix-list deny_default: 3 entries
     seq 5 allow
     seq 6 allow
     seq 10 deny
share|improve this answer
The second gets the job done it looks like. Though it isn't pretty... – Andy Shinn Mar 20 '12 at 17:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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