What's with all the long aspaths?

Robert E. Seastrom rs at seastrom.com
Thu Oct 23 11:41:32 UTC 2008


Jon Lewis <jlewis at lewis.org> writes:

> You might consider something like bgp maxas-limit 75 to exchange that
> log message for the less scarey
> Oct 22 06:34:09: %BGP-6-ASPATH: Long AS path ...
>
> As an added bonus, you ignore their route while they're playing such
> games.

Which is exactly what they want.  What you *really* want to do is:

   router bgp foo
   neighbor bar route-map prepend-this-you-fool in

   ip as-path access-list 66 permit _blah_blah_blah_blah_blah_blah_blah_blah_blah_

   route-map prepend-this-you-fool permit 10
   match as-path 66
   set local-preference 1000

-r






More information about the NANOG mailing list