From: Narbik Kocharians (narbikk@gmail.com)
Date: Fri Sep 29 2006 - 00:39:20 ART
(config-router)#bgp maxas-limit 20
*This command discards routes that have a number of AS-Path segments that
exceed the specified value. The range is 1 2000. The default value in BGP
is 75. This command was introduced in IOS release 12.2. *
On 9/28/06, Tony Paterra <apaterra@gmail.com> wrote:
>
> All,
> If I wanted to filter out routes coming into a BGP peer to only routes
> that had an AS Path of less than 10 in length, how would you recommend
> doing it?
>
> I am looking at creating some pretty elaborate regexp's like....
>
> ([0-9]*)?_([0-9]*)? (all the way out to 10 places)
>
> But I'm thinking that there must be a feature or a more elegant way of
> accomplishing this. Any thoughts?
>
>
> As always, thanks in advance....
>
> --
> Tony Paterra
> apaterra@gmail.com
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
-- Narbik Kocharians CCIE# 12410 (R&S, SP, Security) CCSI# 30832 Network Learning, Inc. (CCIE class Instructor) www.ccbootcamp.com (CCIE Training)
This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:41 ART