[j-nsp] As-path filtering via policy

German Martinez gmartine at mafalda.opentransit.net
Sun Apr 13 16:18:58 EDT 2003


> > lab at SJ-R1#
> > policy-statement EBGP-Import-0 {
> >     term Customer-AS-Only {
> >         from as-path C1;
> >         then next policy;
> >     }
>       then reject		<<<<<<  or you can put this inside
> another term
> > }
>
> Without this, the default action is 'accept', so any route that doesn't
> match your from 'as-path C1' gets accepted.

Basically the default import policy for EBGP learned routes is accept.

>
> Regards,
> Cliff



More information about the juniper-nsp mailing list