You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bgpd: fix allow to reconfigure advertise-all-vni on non default vrf
When running 'no advertise-all-vni' command on the evpn bgp instance,
then reconfiguring it is not possible:
> r2(config)# router bgp 65000 vrf vrf-evpn
> r2(config-router)# address-family l2vpn evpn
> r2(config-router-af)#
> r2(config-router-af)# no advertise-all-vni
> r2(config-router-af)# advertise-all-vni
> % Please unconfigure EVPN in VRF default
> r2(config-router-af)#
Actually, the evpn bgp instance is not the default one. Fix this by not
setting the bgp evpn instance to the default BGP instance, when removing
the 'advertise-all-vni' command.
Fixes: e2f3a93 ("bgpd: Allow non-default instance to be EVPN one")
Signed-off-by: Philippe Guibert <[email protected]>
0 commit comments