<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>RE: [f-nsp] How to route-map default route</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hi Scott,</FONT>
</P>

<P><FONT SIZE=2>I believe if you use an ip prefix-list as opposed to a standard ACL it might accomplish what you want for your route-map (this syntax works on Cisco for sure, believe it should be the same for Foundry)  :</FONT></P>
<BR>

<P><FONT SIZE=2>ip prefix-list default-route permit 0.0.0.0/0</FONT>
<BR><FONT SIZE=2>!</FONT>
<BR><FONT SIZE=2>route-map  bgp-from-asXXXXXX-primary permit  40</FONT>
<BR><FONT SIZE=2> match ip address prefix-list default-route </FONT>
<BR><FONT SIZE=2> set metric 100</FONT>
<BR><FONT SIZE=2> set local-preference 105</FONT>
<BR><FONT SIZE=2> set community  35954:1000 35954:1006 35954:10061 additive</FONT>
<BR><FONT SIZE=2>!</FONT>
<BR><FONT SIZE=2>end</FONT>
</P>
<BR>

<P><FONT SIZE=2>I believe the 0.0.0.0/0 standard acl permit is destination based and the Foundry rightly inteprets it as 'any' whereas the prefix-list is matching the actual prefix announced to you from your provider. </FONT></P>
<BR>

<P><FONT SIZE=2>-paul </FONT>
</P>

<P><FONT SIZE=2> </FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Scott "Tuc" Ellentuch at T-B-O-H [<A HREF="mailto:ml@t-b-o-h.net">mailto:ml@t-b-o-h.net</A>] </FONT>
<BR><FONT SIZE=2>Sent: Friday, June 02, 2006 10:34 AM</FONT>
<BR><FONT SIZE=2>To: foundry-nsp@puck.nether.net</FONT>
<BR><FONT SIZE=2>Subject: [f-nsp] How to route-map default route</FONT>
</P>

<P><FONT SIZE=2>Hi,</FONT>
</P>

<P>        <FONT SIZE=2>I'm trying to set a route-map for my BGP that</FONT>
<BR><FONT SIZE=2>when I get the default route from one of my transit </FONT>
<BR><FONT SIZE=2>providers, I can handle it differently than the rest of</FONT>
<BR><FONT SIZE=2>my BGP. I tried something like :</FONT>
</P>

<P><FONT SIZE=2>ip access-list standard default-route</FONT>
<BR><FONT SIZE=2> permit 0.0.0.0/0</FONT>
</P>

<P>        <FONT SIZE=2>but when I do a "sho run" I see :</FONT>
</P>

<P><FONT SIZE=2>ip access-list standard test</FONT>
<BR><FONT SIZE=2> permit any  </FONT>
</P>

<P>        <FONT SIZE=2>which isn't what I want... I'd like to</FONT>
<BR><FONT SIZE=2>then use it in :</FONT>
</P>

<P><FONT SIZE=2>route-map  bgp-from-asXXXXXX-primary permit  40</FONT>
<BR><FONT SIZE=2> match ip address default-route </FONT>
<BR><FONT SIZE=2>!I'm not sure about the syntax of that, I usually use match community.</FONT>
<BR><FONT SIZE=2>!I'll </FONT>
<BR><FONT SIZE=2> set metric 100</FONT>
<BR><FONT SIZE=2> set local-preference 105</FONT>
<BR><FONT SIZE=2> set community  35954:1000 35954:1006 35954:10061 additive</FONT>
</P>
<BR>

<P>        <FONT SIZE=2>Thanks,</FONT>
</P>

<P>                <FONT SIZE=2>Tuc</FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>foundry-nsp mailing list</FONT>
<BR><FONT SIZE=2>foundry-nsp@puck.nether.net</FONT>
<BR><FONT SIZE=2><A HREF="http://puck.nether.net/mailman/listinfo/foundry-nsp" TARGET="_blank">http://puck.nether.net/mailman/listinfo/foundry-nsp</A></FONT>
</P>

</BODY>
</HTML>