[c-nsp] IOS: catch 22 when enabling new bgp neighbors

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Fri Jun 20 15:11:44 EDT 2014


>
>a new BGP session, before I can shutdown the neighbor
>or apply a specific peer-group/session-template/policy-template, I need
>to configure the remote-as, so the first command in the address-family is:
>
> neighbor 2001::123 remote-as 65005
>
>
>Now, if I don't specify the policies right away, or shutdown the session
>right away (or the ssh terminal slows down for whatever reason), IOS will
>establish the BGP session as-is (without any policies), until I manage
>to configure the rest.

There is an open delay for external BGP neighbours of 30 sec (10 sec for
iBGP), jittered to +- 50%.. so at least for iBGP you should have more than
a few seconds to configure "shut" on an eBGP session, even over a slow
connection.. 

if you want to be extra sure, just do "conf net" or the likes..

	oli





More information about the cisco-nsp mailing list