Wired Intelligent Edge

 View Only

CX 8360 BGP filter all prefixes but allow default route

This thread has been viewed 6 times
  • 1.  CX 8360 BGP filter all prefixes but allow default route

    Posted Aug 16, 2023 01:23 PM

    I ran into an issue with some 8360s that I'm using at the edge of my network.  I am peering BGP to a carrier, normally I receive partial routes and it is fine, however, my most recent carrier seems to have most of the internet in their partial advertisements.  I just wanted to filter out everything but the default only to discover that the prefix-list entry for 0.0.0.0/0 matches everything.  Consequently, my filter of permit 0.0.0.0/0 and deny 0.0.0.0 le 32 doesn't actually work.  Is there really no simple way to filter out everything except default from the BGP advertisement?

    I did see a note on 6300 switch documents that says that 0.0.0.0/0 will ONLY match the default in a future release.  I'm assuming that would also apply to the 8360 even though the note is absent from that documentation.