[f-nsp] How to route-map default route
Jamie Dahl
jamied at meatball.net
Sat Jun 3 11:24:11 EDT 2006
instead of using an access-list try using a prefix list..
On Fri, June 2, 2006 12:34, Scott Tuc Ellentuch at T-B-O-H wrote:
> Hi,
>
> I'm trying to set a route-map for my BGP that
> when I get the default route from one of my transit
> providers, I can handle it differently than the rest of
> my BGP. I tried something like :
>
> ip access-list standard default-route
> permit 0.0.0.0/0
>
> but when I do a "sho run" I see :
>
> ip access-list standard test
> permit any
>
> which isn't what I want... I'd like to
> then use it in :
>
> route-map bgp-from-asXXXXXX-primary permit 40
> match ip address default-route
> !I'm not sure about the syntax of that, I usually use match community.
> !I'll
> set metric 100
> set local-preference 105
> set community 35954:1000 35954:1006 35954:10061 additive
>
>
> Thanks,
>
> Tuc
> _______________________________________________
> foundry-nsp mailing list
> foundry-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/foundry-nsp
>
--
Jamie Dahl
"Thousands of tired, nerve-shaken, over-civilized people are beginning to
find out that going to the mountains is going home; that wilderness is a
necessity; and that mountain parks and reservations are useful not only as
fountains of timber and irrigating rivers, but as fountains of life."
--John Muir
More information about the foundry-nsp
mailing list