When I try to get more details, like for example the advertised routes, I get an error.
[email protected]:~$ show bgp neighbors 127.0.0.1 advertised-routes % No such neighbor or address family
This applies to all sub-functions of show bgp neighbors 127.0.0.1 ...
"show bgp neighbors 127.0.0.1" as such however, works.
[email protected]:~$ show bgp neighbors 127.0.0.1 BGP neighbor is 127.0.0.1, remote AS 1111, local AS 2222, external link Local Role: undefined Remote Role: undefined BGP version 4, remote router ID 127.0.0.1, local router ID 1.1.1.1 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 127.0.0.2, 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 127.0.0.1 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.