frr
frr copied to clipboard
bgpd: fix do not use import|export vpn when import vrf command used
The following error happens:
red1(config)# router bgp 500 vrf RED_B red1(config-router)# address-family ipv4 unicast red1(config-router-af)# import vrf default red1(config-router-af)# import vpn red1(config-router-af)# import vrf afz % error: Please unconfigure vpn to vrf commands before using import vrf commands
Do not use the import|export vpn command while vrf command is used.
And vice versa, it's okay?
red1(config-router-af)# import vrf default
red1(config-router-af)# import vpn
And vice versa, it's okay?
red1(config-router-af)# import vrf default red1(config-router-af)# import vpn
red2(config-router-af)# import vrf default
red2(config-router-af)# import vpn
% error: Please unconfigure import vrf commands before using vpn commands
Sorry, I meant:
red1(config-router-af)# import vpn
red1(config-router-af)# import vrf default
im
Sorry, I meant:
red1(config-router-af)# import vpn red1(config-router-af)# import vrf default
red2(config-router-af)# import vpn
red2(config-router-af)# import vrf default
% error: Please unconfigure vpn to vrf commands before using import vrf commands
red2(config-router-af)#
can we add a topotest that shows that this works properly now?
LGTM, waiting for a topotest?
yes, a topotest. I don't have too much time to do it now. so you will have to wait a bit..