nanog mailing list archives

Re: What's with all the long aspaths?


From: "Robert E. Seastrom" <rs () seastrom com>
Date: Thu, 23 Oct 2008 07:41:32 -0400


Jon Lewis <jlewis () 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




Current thread: