[c-nsp] BGP Route Selection

Gregory Boehnlein damin at nacs.net
Wed Sep 10 10:03:01 EDT 2008


Thanks to everyone that replied.. indeed, I typoed on my route-map..

core1#show route-map as-3356-incoming
route-map as-3356-incoming, permit, sequence 5
  Match clauses:
    as-path (as-path filter): 99 
  Set clauses:
    local-preference 150
  Policy routing matches: 0 packets, 0 bytes
route-map as-3356-incoming, permit, sequence 10
  Match clauses:
  Set clauses:
    metric 1000
    local-preference 100
  Policy routing matches: 0 packets, 0 bytes

That the as-path filter should be 97, not 99.

> -----Original Message-----
> From: Gert Doering [mailto:gert at greenie.muc.de]
> Sent: Wednesday, September 10, 2008 6:32 AM
> To: Gregory Boehnlein
> Cc: cisco-nsp at puck.nether.net
> Subject: Re: [c-nsp] BGP Route Selection
> 
> Hi,
> 
> On Tue, Sep 09, 2008 at 11:44:45PM -0400, Gregory Boehnlein wrote:
> >   3356, (aggregated by 3356 4.69.130.12)
> >     4.53.194.5 from 4.53.194.5 (4.69.181.195)
> >       Origin IGP, metric 1000, localpref 100, valid, external,
> > atomic-aggregate
> >       Community: 3356:0 3356:3 3356:100 3356:123 3356:575 3356:2006
> >   3356, (aggregated by 3356 4.69.130.12), (received-only)
> >     4.53.194.5 from 4.53.194.5 (4.69.181.195)
> >       Origin IGP, metric 0, localpref 100, valid, external, atomic-
> aggregate
> >       Community: 3356:0 3356:3 3356:100 3356:123 3356:575 3356:2006
> >   2828 3356, (aggregated by 3356 4.69.130.12)
> >     67.106.93.233 (metric 20) from 207.166.219.2 (207.166.219.2)
> >       Origin IGP, metric 1000, localpref 150, valid, internal,
> > atomic-aggregate, best
> 
> "localpref 150" means "ignore path length, force this path to win".
> 
> (default localpref is 100, larger numbers = better)
> 
> gert
> --
> USENET is *not* the non-clickable part of WWW!
> 
> //www.muc.de/~gert/
> Gert Doering - Munich, Germany
> gert at greenie.muc.de
> fax: +49-89-35655025                        gert at net.informatik.tu-
> muenchen.de



More information about the cisco-nsp mailing list