diff options
| author | Daniel Walton <dwalton@cumulusnetworks.com> | 2017-07-07 19:09:22 +0000 |
|---|---|---|
| committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2017-07-07 19:09:22 +0000 |
| commit | 5f007459f648e282355dc1bd9fc693da196edb0c (patch) | |
| tree | 7ae4e9fb5e233c1a411a7a0cb73cba1329469d18 /zebra/kernel_netlink.h | |
| parent | ceae5559a51b79ae86cfcae52d9ef512f36e3eb1 (diff) | |
bgpd: peer-group members 'activate' when they shouldn't
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Today if you configure the following where the 'fabric' peer-group has
been deactivated for ipv4 unicast and then assign swp1/swp2 to that
peer-group we end up activating those two peers for ipv4 unicast.
conf t
no router bgp 100
router bgp 100
neighbor fabric peer-group
neighbor fabric capability extended-nexthop
neighbor fabric remote-as external
!
address-family ipv4 unicast
no neighbor fabric activate
!
neighbor swp1 interface peer-group fabric
neighbor swp2 interface peer-group fabric
neighbor 1.1.1.1 peer-group fabric
end
cel-redxp-10# show run bgp
!
router bgp 100
neighbor fabric peer-group
neighbor fabric remote-as external
neighbor fabric capability extended-nexthop
neighbor swp1 interface peer-group fabric
neighbor swp2 interface peer-group fabric
neighbor 1.1.1.1 peer-group fabric
!
address-family ipv4 unicast
no neighbor fabric activate
neighbor swp1 activate
neighbor swp2 activate
exit-address-family
!
cel-redxp-10#
With the patch we do not activate swp1/swp2
cel-redxp-10# show run bgp
!
router bgp 100
neighbor fabric peer-group
neighbor fabric remote-as external
neighbor fabric capability extended-nexthop
neighbor swp1 interface peer-group fabric
neighbor swp2 interface peer-group fabric
neighbor 1.1.1.1 peer-group fabric
!
address-family ipv4 unicast
no neighbor fabric activate
exit-address-family
!
cel-redxp-10#
Diffstat (limited to 'zebra/kernel_netlink.h')
0 files changed, 0 insertions, 0 deletions
