Page MenuHomeVyOS Platform

Add correct desctiptions for BGP neighbors
Closed, ResolvedPublicFEATURE REQUEST

Description

There is no real handler for "descriptions" in bgp neighbors.

set protocols bgp 64456 neighbor 192.0.2.2 description FooBAR

Vtysh

!
router bgp 64456
 bgp network import-check
 neighbor 192.0.2.2 remote-as 64500
!

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Improvement (missing useful functionality)

Event Timeline

PR https://github.com/vyos/vyatta-cfg-quagga/pull/61

vyos@r5-roll# set protocols bgp 64456 neighbor 192.0.2.2 description FooBAR
[edit]
vyos@r5-roll# commit
[edit]
vyos@r5-roll# vtysh -c "show run" | grep neigh
 neighbor 192.0.2.2 remote-as 64500
 neighbor 192.0.2.2 description FooBAR
[edit]
vyos@r5-roll#
set protocols bgp 100 neighbor 1.1.1.1 description "foo bar baz"
set protocols bgp 100 neighbor 1.1.1.1 remote-as 200

Renders

router bgp 100
 neighbor 1.1.1.1 remote-as 200
 neighbor 1.1.1.1 description foo

The string is not properly passed down to FRR

Fixed in the new bgp format, VyOS 1.4-rolling-202101150632

set protocols bgp 65001 neighbor 192.0.2.2 description 'Foo bar FOO'
set protocols bgp 65001 neighbor 192.0.2.2 remote-as '65002'

vtysh

!
router bgp 65001
 neighbor 192.0.2.2 remote-as 65002
 neighbor 192.0.2.2 description Foo bar FOO
!
SrividyaA set Issue type to Improvement (missing useful functionality).Aug 30 2021, 3:01 PM