[108736] in North American Network Operators' Group
Re: What's with all the long aspaths?
daemon@ATHENA.MIT.EDU (Robert E. Seastrom)
Thu Oct 23 07:41:49 2008
To: Jon Lewis <jlewis@lewis.org>
From: "Robert E. Seastrom" <rs@seastrom.com>
Date: Thu, 23 Oct 2008 07:41:32 -0400
In-Reply-To: <Pine.LNX.4.61.0810222313320.5503@soloth.lewis.org> (Jon Lewis's
message of "Wed, 22 Oct 2008 23:17:19 -0400 (EDT)")
Cc: nanog@nanog.org
Errors-To: nanog-bounces@nanog.org
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