Sunday, June 30, 2019

Re: man bgpd.conf + question

Thank you for your answer Claudio

Le samedi 29 juin 2019 à 19:56:41 UTC+2, Claudio Jeker <cjeker@diehard.n-r-g.com> a écrit :

On Fri, Jun 28, 2019 at 10:52:01PM +0000, Mik J wrote:
> Hello,
> I have a syntax error with  announce none
> group "spam-bgp" {
>     remote-as           $spamASN
>     multihop 64
>     announce none
>
> I was told recently that everything is filtered by default from 6.4 and read on Internet that announce none is deprecated
> However man bgpd.conf (Openbsd 6.5) still has this command in section "NEIGHBORS AND GROUPS"announce (IPv4|IPv6) (none|unicast|vpn)
>
> Do you know what is correct ?

There is a difference between:
    announce none
and
    announce IPv4 none
or
    announce IPv6 none

The frist one no longer exists. The 2nd one still works and disables the
multiprotocol capability for the define AFI (IPv4 or IPv6).
By default the session enables the unicast AFI for the IP family that the
session uses. (e.g. announce IPv6 unicast for IPv6 sessions) and the other
AFI is disabled.

--
:wq Claudio

No comments:

Post a Comment