0

While reading the documentation, I saw that, "You can use Quagga library as your program’s client user interface". Basically, I want to look at BGP's LOC-RIB (RIB = Routing Information Base) that Quagga constructs, with my C program (in Ubuntu/ FreeBSD).

I have just started using Quagga and I want to know how to do this using Quagga library (or maybe by using the *.h files that quagga provides).

Can any one help me with suggestions, tutorials or links?

Bye.

menjaraz
  • 7,551
  • 4
  • 41
  • 81
user676987
  • 73
  • 1
  • 2
  • 9

1 Answers1

-1

programatically telnet into bgpd (the deamon which runs bgp) and enter "show ip bgp", then programatically read the stdout. Thats a crude but workable way to do it.

hasanatkazmi
  • 8,041
  • 2
  • 22
  • 18