[45068] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

FW: router startup behavior

daemon@ATHENA.MIT.EDU (Borchers, Mark)
Tue Jan 15 14:03:06 2002

Message-ID: <CA47B6D616C0D211B92E0008C7C5657C16F5FF52@hscmpxsrvcl01>
From: "Borchers, Mark" <mborchers@splitrock.net>
To: "'nanog@merit.edu'" <nanog@merit.edu>
Date: Tue, 15 Jan 2002 13:02:22 -0600
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Errors-To: owner-nanog-outgoing@merit.edu


Forwarded to the list:

-----Original Message-----
Subject: RE: router startup behavior

On Tue, 15 Jan 2002, Borchers, Mark wrote:

Mark, I don't have nanog post so, if you could pass this along for me, I
believe that it may be "obvious" advice and it seems that the obvious is
what escapes us most often.

> Yeah, (c) seems most likely to me.  Ratul, a script like
> this or some variant could cause what you are seeing:
> 
> config-router#  no neighbor <a>
> config-router#  no neighbor <b>  
> config-router#  no neighbor <c>
> (script to rewrite filters executes)
> config-router#  neighbor <a> remote-as <x>
> config-router#  neighbor <b> remote-as <y>
> config-router#  neighbor <c> remote-as <z>
> (sessions start coming up)
> config-router#  neighbor <a> route-map <A> out
> config-router#  neighbor <b> route-map <B> out
> config-router#  neighbor <c> route-map <C> out
> config-router#  Ctrl-Z
> # clear ip bgp external soft out
> 
> Just guessing - you're seeing these events between midnight 
> and 5 am?
> 
> 

Wouldn't it be wiser to do the following:

config-router# no neighbor <a>
config-router# no neighbor <b>
config-router# no neighbor <b>
 (script to rewrite filters executes)
config-router# neighbor <a> remote-as <x>
config-router# neighbor <a> shutdown
config-router# neighbor <b> remote-as <y>
config-router# neighbor <b> shutdown
config-router# neighbor <c> remote-as <z>
config-router# neighbor <c> shutdown
config-router#  neighbor <a> route-map <A> out
config-router#  neighbor <b> route-map <B> out
config-router#  neighbor <c> route-map <C> out
config-router# no neighbor <a> shutdown
config-router# no neighbor <b> shutdown
config-router# no neighbor <c> shutdown
config-router#  Ctrl-Z
# clear ip bgp external soft out

This way, the neighbor has much less time to come up without filters since
we're immediately putting it in admin idle after naming it.

---
John Fraizer
EnterZone, Inc


home help back first fref pref prev next nref lref last post