Page MenuHomeVyOS Platform

Bgp ttl-security and ebgp-multihop fail
Closed, ResolvedPublicBUG

Description

We don't need to allow to use of both "ebgp-multihop" and "ttl-security" in the same time.

set protocols bgp 64501 neighbor 203.0.113.1 ebgp-multihop '255'
set protocols bgp 64501 neighbor 203.0.113.1 remote-as '65001'
set protocols bgp 64501 neighbor 203.0.113.1 ttl-security hops '254'

Commit

vyos@r2-roll# commit
[ protocols bgp 64501 ]
VyOS had an issue completing a command.
Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/protocols_bgp.py", line 197, in <module>
    apply(c)
  File "/usr/libexec/vyos/conf_mode/protocols_bgp.py", line 182, in apply
    frr_cfg.commit_configuration(frr_daemon)
  File "/usr/lib/python3/dist-packages/vyos/frr.py", line 442, in commit_configuration
    reload_configuration('\n'.join(self.config), daemon=daemon)
  File "/usr/lib/python3/dist-packages/vyos/frr.py", line 203, in reload_configuration
    raise CommitError(f'Configuration FRR failed while commiting code, please enabling debugging to examine logs')
vyos.frr.CommitError: Configuration FRR failed while commiting code, please enabling debugging to examine logs

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.4-rolling-202102162107
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

Viacheslav changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
Viacheslav changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
Viacheslav changed the task status from Open to Needs testing.Feb 26 2021, 3:01 PM
Viacheslav claimed this task.