Does anyone know if there's an equivalent of sh ip bgp X.X.X.X bestpath (from Cisco) in Quagga? I cannot find it in the documentation.


  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer.
    – Ron Maupin
    Aug 15, 2017 at 15:51

2 Answers 2


It looks like does not have such command.
"show ip bgp", "show ip bgp neighbors advertised-routes" able to find ">" for bestpath.

or follow command is work.

vtysh -c 'show ip bgp' | grep -i '>'

You must run on you OS shell. its better than 'show ip bgp regex'


Try show ip bgp ipv4 unicast


# show ip bgp ipv4 unicast
BGP routing table entry for
Paths: (1 available, best #1, table Default-IP-Routing-Table)
  Not advertised to any peer
  64515 65534 20473 15169 from (
      Origin IGP, localpref 100, valid, external, best
      Community: 64515:44
      Last update: Mon Apr  9 06:33:18 2018

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.