BGP directly connected neighbors (eth0/tun0 etc) don't compatible with ebgp-multihop
Add verify check:
set protocols bgp neighbor eth0 interface peer-group 'PGRP' set protocols bgp neighbor eth0 ebgp-multihop 10 set protocols bgp peer-group PGRP address-family ipv4-unicast set protocols bgp peer-group PGRP remote-as '65001' set protocols bgp system-as '65001'
Commit:
vyos@r14# commit
[ protocols bgp ]
WARNING: BGP neighbor "eth0" requires address-family!
VyOS had an issue completing a command.
We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):
- Contact us using the online help desk if you have a subscription:
https://support.vyos.io/
- Make sure you are running the latest version of VyOS available at:
https://vyos.net/get/
- Consult the community forum to see how to handle this issue:
https://forum.vyos.io
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/protocols_bgp.py", line 383, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/protocols_bgp.py", line 374, in apply
frr_cfg.commit_configuration(bgp_daemon)
File "/usr/lib/python3/dist-packages/vyos/frr.py", line 480, in commit_configuration
raise ConfigurationNotValid(f'Config commit retry counter ({count_max}) exceeded')
vyos.frr.ConfigurationNotValid: Config commit retry counter (5) exceeded
[[protocols bgp]] failed
Commit failedFRR original error
r14# conf t r14(config)# router bg r14(config-router)# neighbor eth0 ebgp-multihop 10 % Operation not allowed on a directly connected neighbor r14(config-router)#