I'm trying to set announce none property inside a group and it's not
enforced/respected unless it's under neighbor.
conf is:
group "ibgp" {
remote-as $myAS
announce IPv4 none
announce IPv6 none
neighbor 10.0.0.1 {
#announce IPv4 none
#announce IPv6 none
}
neighbor xxxx:x:x:xxxx::2 {
#announce IPv4 none
#announce IPv6 none
}
}
this gives a bgpd -n -v
group "ibgp" {
neighbor 10.0.0.1 {
remote-as 65001
enforce neighbor-as no
enforce local-as yes
announce IPv4 unicast
}
neighbor xxxx:x:x:xxxx::2 {
remote-as 65001
enforce neighbor-as no
enforce local-as yes
announce IPv6 unicast
}
}
If I remove the comments inside neighbors then announce none is respected.
Is this ok?
According to bgpd.conf(5)
"Neighbors placed within a group section inherit the properties common
to that group"
G
No comments:
Post a Comment