There is an issues related when we wants to add a interface within bgp peer-group , it shows a error message that it partially breaks the bgp configuration for e.g:
set protocols bgp 64802 address-family ipv4-unicast redistribute connected set protocols bgp 64802 listen range 10.10.100.0/24 peer-group 'FOO' set protocols bgp 64802 neighbor eth1 peer-group 'FOO' set protocols bgp 64802 parameters router-id '10.10.100.1' set protocols bgp 64802 peer-group FOO address-family ipv4-unicast set protocols bgp 64802 peer-group FOO remote-as '64802' set protocols bgp 64802 peer-group FOO update-source 'eth1'
error message :
vyos@vyos# commit [ protocols bgp 64802 ] % Malformed address or name: eth1 Error configuring routing subsystem. See log for more detailed information
it seems that this issues is related to FRR , they allow to configure it but misunderstanding the Ethernet interfaces :
vyos@vyos# sudo vtysh -c "show run" Building configuration... Current configuration: ! frr version 7.5.1-20230529-02-gba1778129 frr defaults traditional ! router bgp 64802 bgp router-id 10.10.100.1 no bgp ebgp-requires-policy no bgp network import-check neighbor FOO peer-group neighbor FOO remote-as 64802 neighbor FOO update-source eth1 ! line vty ! vyos(config-router)# neighbor eth1 peer-group FOO % Malformed address or name: eth1
FRR doesn't say nothing related to it on their documentation , in fact , they don't recommend its use :
http://docs.frrouting.org/en/stable-7.5/bgp.html#clicmd-[no]neighborPEERinterfaceIFNAME