"show bgp" command behaviour
Hi, I'm using FRR 7.4 and observed that "show bgp" does not show any prefixes but "show bgp ipv4" does show the prefixes. Is this expected behaviour? Thanks Amol FRR(config-router)# do show bgp No BGP prefixes displayed, 0 exist FRR(config-router)# do show bgp ipv4 BGP table version is 2, local router ID is 172.16.1.106, vrf id 0 Default local pref 100, local AS 1 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 1.1.1.0/24 0.0.0.0 0 32768 i *> 2.2.2.0/24 172.16.1.107 0 0 2 i
On 14/09/2020 12:41, Amol Lad wrote:
I'm using FRR 7.4 and observed that "show bgp" does not show any prefixes but "show bgp ipv4" does show the prefixes. Is this expected behaviour?
https://github.com/FRRouting/frr/issues/965 "show bgp" is a depreciated command.
Thanks Amol
FRR(config-router)# do show bgp No BGP prefixes displayed, 0 exist
FRR(config-router)# do show bgp ipv4 BGP table version is 2, local router ID is 172.16.1.106, vrf id 0 Default local pref 100, local AS 1 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path *> 1.1.1.0/24 0.0.0.0 0 32768 i *> 2.2.2.0/24 172.16.1.107 0 0 2 i
-- Best regards, Chriztoffer
participants (2)
-
Amol Lad -
Chriztoffer Hansen