Note that "generate" routes are installed in the routing table with the next
hop of the primary contributor (the most specific match to the "generate").
To avoid this you may want to set the next-hop to discard or reject, or
alternatively use "aggregate" instead of "generate".
cheers,
Eduard
> -----Original Message-----
> From: Chris Bridgewater [mailto:chrisbridgewater@aol.com]
> Sent: 27 June 2001 23:58
> To: Mark Borchers
> Cc: 'juniper-nsp@puck.nether.net'
> Subject: Re: [j-nsp] Originating Default
>
>
> Mark,
> No, there is no Juniper default-originate, but you can do the same
> thing using policies, and the generate route command.
> Chris
>
> routing-options {
> generate {
> route 0.0.0.0/0;
> }
>
> policy-statement send-default {
> term 1 {
> from {
> route-filter 0.0.0.0/0 exact;
> }
> then accept;
> }
> term 2 {
> then reject;
> }
>
>
> On Wed, 27 Jun 2001, Mark Borchers wrote:
>
> > Is there a JunOS equivalent to the Cisco BGP command:
> >
> > neighbor 1.2.3.4 default-originate
> >
> > to originate a default route on a per-neighbor basis?
> >
> >
> > Thanks,
> >
> > --
> > Mark Borchers McLeodUSA Data Services
> > IP Engineering 9012 New Trails Dr.
> > mborchers@splitrock.net The Woodlands, TX 77381
> > (281) 465-1931 http://www.mcleod.net/
> >
> >
>
This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:39 EDT