Page MenuHomeVyOS Platform

"show bgp neighbors ... advertised-routes" and some other commands fail for IPv4 neighbors
Open, Requires assessmentPublicBUG


When I try to get more details, like for example the advertised routes, I get an error.

[email protected]:~$ show bgp neighbors advertised-routes
% No such neighbor or address family

This applies to all sub-functions of show bgp neighbors ...
"show bgp neighbors" as such however, works.

[email protected]:~$ show bgp neighbors
BGP neighbor is, remote AS 1111, local AS 2222, external link
  Local Role: undefined
  Remote Role: undefined
  BGP version 4, remote router ID, local router ID
  BGP state = Established, up for 00:19:46
  Last read 00:00:00, Last write 00:00:16

Also the BGP session as such works fine,

[email protected]:~$ show bgp summary
IPv4 Unicast Summary (VRF default):
BGP router identifier, local AS number 11111 vrf-id 0
BGP table version 904637
RIB entries 1643803, using 301 MiB of memory
Peers 1, using 724 KiB of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt Desc 4      11111    249048        46        0    0    0 00:21:26       896813        1 N/A

Also the error applies only on IPv4 sessions.
IPv6 sessions work fine.


Difficulty level
Easy (less than an hour)
VyOS 1.4-rolling-202212080318
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

use the next syntax

show bgp ipv4 neighbors x.x.x.x advertised-routes

This works,
but if this is the new syntax the cli needs some cleanup.

show bgp neighbors advertised-routes

Is still offered by the autocomplete and works for ipv6.

dmbaturin renamed this task from Show ipv4 neighbor details fails to "show bgp neighbors ... advertised-routes" and some other commands fail for IPv4 neighbors.Jan 5 2023, 2:22 PM