[j-nsp] BGP origination
Clayton Fiske
clay at bloomcounty.org
Wed Jan 29 09:31:03 EST 2003
On Wed, Jan 29, 2003 at 12:13:53PM -0500, Richard A Steenbergen wrote:
> On Wed, Jan 29, 2003 at 08:47:30AM -0800, Clayton Fiske wrote:
> >
> > What is the "non-ugly" way you would use with a static route? For the
> > (admittedly few) static routes we pull into BGP, our policies are not
> > unlike the example above (s/direct/static/). We just use the 'then'
> > section to set attributes.
>
> For example, here is a pretty nice way to put in a holddown route tagged
> with all the necessary communities, exempted from being announced to
> Cogent, with as as-path attached:
>
> route 10.0.0.0/24 {
> discard;
> community [ ASN:TAGS ASN:MORETAGS 16631:666 ];
> as-path {
> path 1234;
> }
> }
>
> Works great with aggregates, works badly when you need to announce it as
> the same length as its use internally.
>
> The problem with the technique you're talking about is you need a term for
> almost each prefix... Very ugly.
Doesn't this method require a statement per (aggregate) prefix as well?
-c
More information about the juniper-nsp
mailing list